Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fix to translate #86

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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