diff --git a/froide_govplan/locale/de/LC_MESSAGES/django.po b/froide_govplan/locale/de/LC_MESSAGES/django.po index 5746946..9c25963 100644 --- a/froide_govplan/locale/de/LC_MESSAGES/django.po +++ b/froide_govplan/locale/de/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-03-14 15:24+0100\n" +"POT-Creation-Date: 2022-03-14 16:24+0100\n" "PO-Revision-Date: 2022-03-11 23:37+0100\n" "Last-Translator: Stefan Wehrmeyer \n" "Language-Team: \n" @@ -357,6 +357,11 @@ msgstr "Alle zutreffenden Vorhaben" msgid "%s matching plans" msgstr "%s zutreffenden Vorhaben" +#: froide_govplan/templates/froide_govplan/plugins/card_cols.html:6 +msgid "" +"Could not find any results. Try different keywords or browse the categories." +msgstr "Keine Ergebnisse gefunden. Versuchen Sie es mit anderen Stichworten oder durchsuchen Sie passende Kategorien." + #: froide_govplan/templates/froide_govplan/plugins/search.html:4 #, fuzzy #| msgid "Government plans" diff --git a/froide_govplan/templates/froide_govplan/plugins/card_cols.html b/froide_govplan/templates/froide_govplan/plugins/card_cols.html index e132d78..3cb0e90 100644 --- a/froide_govplan/templates/froide_govplan/plugins/card_cols.html +++ b/froide_govplan/templates/froide_govplan/plugins/card_cols.html @@ -1,5 +1,11 @@ {% load thumbnail %} +{% load i18n %} +{% if object_list|length == 0 %} +

+ {% trans "Could not find any results. Try different keywords or browse the categories." %} +

+{% else %}
{% for object in object_list %}
@@ -25,3 +31,4 @@
{% endfor %}
+{% endif %} \ No newline at end of file