diff --git a/conf/locale/de/LC_MESSAGES/django.po b/conf/locale/de/LC_MESSAGES/django.po index 36d7b32..302684f 100644 --- a/conf/locale/de/LC_MESSAGES/django.po +++ b/conf/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-04 15:06+0200\n" +"POT-Creation-Date: 2024-07-04 20:30+0200\n" "PO-Revision-Date: 2024-07-04 15:06+0200\n" "Last-Translator: Anonymous User \n" "Language-Team: LANGUAGE \n" @@ -50,23 +50,6 @@ msgstr "Diese Seite wurde nicht gefunden" msgid "404: Sorry, we could not find the page you requested." msgstr "404: Leider haben wir die gewünschte Seite nicht gefunden." -#: app/templates/404.html -msgid "Try the following links:" -msgstr "Versuchen Sie es mit folgenden Links:" - -#: app/templates/404.html -msgid "go to Homepage" -msgstr "zur Startseite" - -#: app/templates/404.html -msgid "Homepage" -msgstr "Startseite" - -#: app/templates/404.html -#, python-format -msgid "go to page %(title)s" -msgstr "zur Seite %(title)s" - #: app/templates/projects/catalog.html msgid "Apply" msgstr "Anwenden" @@ -151,14 +134,8 @@ msgid "Change password" msgstr "Passwort ändern" #: app/templates/registration/login.html -#: app/templates/registration/password_change_done.html -#: app/templates/registration/password_change_form.html -#: app/templates/registration/password_reset_complete.html -#: app/templates/registration/password_reset_confirm.html -#: app/templates/registration/password_reset_done.html -#: app/templates/registration/password_reset_form.html -msgid "Dashboard" -msgstr "Dashboard" +msgid "Login" +msgstr "Anmelden" #: app/templates/registration/login.html #: app/templates/registration/password_reset_complete.html @@ -168,14 +145,6 @@ msgstr "Dashboard" msgid "Reset password" msgstr "Passwort zurücksetzen" -#: app/templates/registration/login.html -msgid "Login" -msgstr "Anmelden" - -#: app/templates/registration/login.html -msgid "scroll to content" -msgstr "Forum der Zukunft" - #: app/templates/registration/password_change_done.html msgid "Your password was changed." msgstr "Ihr Passwort wurde geändert." @@ -289,6 +258,25 @@ msgstr "Vorschlagen" msgid "With {count} items" msgstr "Mit {count} Elementen" +#~ msgid "Try the following links:" +#~ msgstr "Versuchen Sie es mit folgenden Links:" + +#~ msgid "go to Homepage" +#~ msgstr "zur Startseite" + +#~ msgid "Homepage" +#~ msgstr "Startseite" + +#, python-format +#~ msgid "go to page %(title)s" +#~ msgstr "zur Seite %(title)s" + +#~ msgid "Dashboard" +#~ msgstr "Dashboard" + +#~ msgid "scroll to content" +#~ msgstr "Forum der Zukunft" + #~ msgid "Flags" #~ msgstr "Flags" diff --git a/projects/views.py b/projects/views.py index a7ca4e4..2735e33 100644 --- a/projects/views.py +++ b/projects/views.py @@ -146,18 +146,14 @@ def catalog(request, project, language_code, domain): domain=domain, ) - entries = list(catalog.po) + entries = [entry for entry in catalog.po if not entry.obsolete] total = len(entries) filter_form = FilterForm(request.GET) if filter_form.is_valid(): data = filter_form.cleaned_data if data.get("pending"): - entries = [ - entry - for entry in entries - if not entry.translated() and not entry.obsolete - ] + entries = [entry for entry in entries if not entry.translated()] total = len(entries) if query := data.get("query", "").casefold(): entries = [entry for entry in entries if query in str(entry).casefold()]