{% load i18n %} {% if object_list %} {% if is_searching or is_filtering %}
{% blocktrans trimmed with snippet_type_name_plural=model_opts.verbose_name_plural %}Sorry, no {{ snippet_type_name_plural }} match your query{% endblocktrans %}
{% else %} {% url view.add_url_name as wagtailsnippets_create_url %} {# NOTE: The two strings in the following messages are exactly the same #} {# The difference is that the first variant appends '?locale={{ locale.language_code}}' to 'wagtailsnippets_create_url' #} {% if locale %} {% else %} {% endif %} {% endif %} {% endif %}