From 1daab83191cbc9e2d6eb31ea83b4cf972215317e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20H=C3=A1la?= Date: Fri, 1 Dec 2023 14:19:17 +0100 Subject: [PATCH] Small fix to translate --- tenants/locale/cs/LC_MESSAGES/django.po | 12 ++++-------- tenants/menus.py | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/tenants/locale/cs/LC_MESSAGES/django.po b/tenants/locale/cs/LC_MESSAGES/django.po index 01c6afd..7dabf36 100644 --- a/tenants/locale/cs/LC_MESSAGES/django.po +++ b/tenants/locale/cs/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-01 13:21+0000\n" +"POT-Creation-Date: 2023-12-01 13:46+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -23,9 +23,9 @@ msgstr "" msgid "Tenant" msgstr "Zpěvník" -#: tenants/menus.py:27 -msgid "All songs" -msgstr "" +#: tenants/menus.py:27 tenants/models.py:24 +msgid "All Songs" +msgstr "Všechno" #: tenants/menus.py:53 msgid "Files" @@ -69,10 +69,6 @@ msgid "" msgstr "" "Kam by měla úvodní stránka přesměrovat uživatele, většinou URL kategorie" -#: tenants/models.py:24 -msgid "All Songs" -msgstr "Všechny Písničky" - #: tenants/models.py:25 msgid "True, if all songs category should be added to navigation" msgstr "Pokud je zaškrknuto tak se do navigace přidá odkaz na všechny písničky" diff --git a/tenants/menus.py b/tenants/menus.py index ea956ef..1f5330b 100644 --- a/tenants/menus.py +++ b/tenants/menus.py @@ -24,7 +24,7 @@ def categories(request): for category in Category.objects.filter(tenant=request.tenant).values("name", "slug") ] if request.tenant.all_songs_category: - items.append(MenuItem(title=_("All songs"), url=reverse("backend:all"), separator=True)) + items.append(MenuItem(title=_("All Songs"), url=reverse("backend:all"), separator=True, skip_translate=False)) return items