From d64ca7bb0c1b9035a55d6e0281fc3b49298d96dd Mon Sep 17 00:00:00 2001 From: JoeyStk Date: Fri, 25 Oct 2024 23:47:00 +0200 Subject: [PATCH] Fix translation for empty archived contact list --- integreat_cms/cms/templates/contacts/contact_list.html | 6 +++++- integreat_cms/locale/de/LC_MESSAGES/django.po | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/integreat_cms/cms/templates/contacts/contact_list.html b/integreat_cms/cms/templates/contacts/contact_list.html index 833514029e..fa15331620 100644 --- a/integreat_cms/cms/templates/contacts/contact_list.html +++ b/integreat_cms/cms/templates/contacts/contact_list.html @@ -74,7 +74,11 @@

{% empty %} - {% translate "No contacts available yet." %} + {% if is_archive %} + {% translate "No contacts archived yet." %} + {% else %} + {% translate "No contacts available yet." %} + {% endif %} {% endfor %} diff --git a/integreat_cms/locale/de/LC_MESSAGES/django.po b/integreat_cms/locale/de/LC_MESSAGES/django.po index b97aac17ae..079b13ee3c 100644 --- a/integreat_cms/locale/de/LC_MESSAGES/django.po +++ b/integreat_cms/locale/de/LC_MESSAGES/django.po @@ -5328,9 +5328,13 @@ msgstr "Webseite" msgid "Options" msgstr "Optionen" +#: cms/templates/contacts/contact_list.html +msgid "No contacts archived yet." +msgstr "Es gibt noch keine archivierten Kontakte." + #: cms/templates/contacts/contact_list.html msgid "No contacts available yet." -msgstr "Noch keine Kontakte vorhanden." +msgstr "Es gibt noch keine Kontakte." #: cms/templates/contacts/contact_list.html msgid "Contacts selected"