Skip to content

Commit

Permalink
Small fix to translate
Browse files Browse the repository at this point in the history
  • Loading branch information
pehala committed Dec 1, 2023
1 parent bceca2c commit e0c008b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions tenants/locale/cs/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tenants/menus.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit e0c008b

Please sign in to comment.