From fcff5a522d96b30c305621cc896813624d2e97e9 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 19 Nov 2024 16:36:09 +0100 Subject: [PATCH] Fix inconsistent labels --- src/pretix/control/forms/event.py | 2 +- src/pretix/locale/ang/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/ar/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/ca/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/cs/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/cy/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/da/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/de/LC_MESSAGES/django.po | 11 ++++++----- .../locale/de_Informal/LC_MESSAGES/django.po | 15 ++++++++------- src/pretix/locale/django.pot | 5 +++-- src/pretix/locale/djangojs.pot | 2 +- src/pretix/locale/el/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/enm/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/es/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/et/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/eu/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/fi/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/fr/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/gl/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/he/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/hr/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/hu/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/id/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/it/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/ja/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/ko/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/lt/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/lv/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/nan/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/nb_NO/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/nl/LC_MESSAGES/django.po | 5 +++-- .../locale/nl_Informal/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/pl/LC_MESSAGES/django.po | 5 +++-- .../locale/pl_Informal/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/pt/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/pt_BR/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/pt_PT/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/ro/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/ru/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/si/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/sk/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/sl/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/sv/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/th/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/tr/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/uk/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/vi/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/zh_Hans/LC_MESSAGES/django.po | 5 +++-- src/pretix/locale/zh_Hant/LC_MESSAGES/django.po | 5 +++-- 49 files changed, 151 insertions(+), 104 deletions(-) diff --git a/src/pretix/control/forms/event.py b/src/pretix/control/forms/event.py index bc46448426..d640e026e3 100644 --- a/src/pretix/control/forms/event.py +++ b/src/pretix/control/forms/event.py @@ -231,7 +231,7 @@ class EventWizardBasicsForm(I18nModelForm): if not data.get("no_taxes") and not data.get("tax_rate"): raise ValidationError({ 'tax_rate': _('You have not specified a tax rate. If you do not want us to compute sales taxes, please ' - 'check "Do not use taxes" above.') + 'check "{field}" above.').format(field=self.fields["no_taxes"].label) }) # change timezone diff --git a/src/pretix/locale/ang/LC_MESSAGES/django.po b/src/pretix/locale/ang/LC_MESSAGES/django.po index dab90065ca..2bd9c98489 100644 --- a/src/pretix/locale/ang/LC_MESSAGES/django.po +++ b/src/pretix/locale/ang/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-19 15:16+0000\n" +"POT-Creation-Date: 2024-11-19 15:34+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -11265,9 +11265,10 @@ msgid "Your default locale must be specified." msgstr "" #: pretix/control/forms/event.py:233 +#, python-brace-format msgid "" "You have not specified a tax rate. If you do not want us to compute sales " -"taxes, please check \"Do not use taxes\" above." +"taxes, please check \"{field}\" above." msgstr "" #: pretix/control/forms/event.py:308 diff --git a/src/pretix/locale/ar/LC_MESSAGES/django.po b/src/pretix/locale/ar/LC_MESSAGES/django.po index 4510638b61..4dc8adf15d 100644 --- a/src/pretix/locale/ar/LC_MESSAGES/django.po +++ b/src/pretix/locale/ar/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-19 15:16+0000\n" +"POT-Creation-Date: 2024-11-19 15:34+0000\n" "PO-Revision-Date: 2024-09-09 06:00+0000\n" "Last-Translator: Ahmad AlHarthi \n" "Language-Team: Arabic \n" @@ -13225,9 +13225,10 @@ msgid "Your default locale must be specified." msgstr "Heu d'especificar la configuració regional predeterminada." #: pretix/control/forms/event.py:233 +#, python-brace-format msgid "" "You have not specified a tax rate. If you do not want us to compute sales " -"taxes, please check \"Do not use taxes\" above." +"taxes, please check \"{field}\" above." msgstr "" #: pretix/control/forms/event.py:308 diff --git a/src/pretix/locale/cs/LC_MESSAGES/django.po b/src/pretix/locale/cs/LC_MESSAGES/django.po index 32ce336fd8..803fc8563c 100644 --- a/src/pretix/locale/cs/LC_MESSAGES/django.po +++ b/src/pretix/locale/cs/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-19 15:16+0000\n" +"POT-Creation-Date: 2024-11-19 15:34+0000\n" "PO-Revision-Date: 2023-09-15 15:21+0000\n" "Last-Translator: Michael \n" "Language-Team: Czech \n" "Language-Team: Welsh \n" "Language-Team: Danish \n" "Language-Team: German \n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.8.3\n" +"X-Generator: Poedit 3.4.2\n" "X-Poedit-Bookmarks: -1,-1,904,-1,-1,-1,-1,-1,-1,-1\n" #: pretix/_base_settings.py:79 @@ -12903,12 +12903,13 @@ msgid "Your default locale must be specified." msgstr "Es muss eine Standardsprache eingestellt werden." #: pretix/control/forms/event.py:233 +#, python-brace-format msgid "" "You have not specified a tax rate. If you do not want us to compute sales " -"taxes, please check \"Do not use taxes\" above." +"taxes, please check \"{field}\" above." msgstr "" "Sie haben keinen Steuersatz eingegeben. Wenn Sie nicht möchten, dass wir " -"Mehrwertsteuern berechnen, klicken Sie den entsprechenden Haken an." +"Mehrwertsteuern berechnen, klicken Sie \"{field}\" an." #: pretix/control/forms/event.py:308 msgid "Copy configuration from" diff --git a/src/pretix/locale/de_Informal/LC_MESSAGES/django.po b/src/pretix/locale/de_Informal/LC_MESSAGES/django.po index e5f322098b..b0d812c476 100644 --- a/src/pretix/locale/de_Informal/LC_MESSAGES/django.po +++ b/src/pretix/locale/de_Informal/LC_MESSAGES/django.po @@ -7,17 +7,17 @@ msgid "" msgstr "" "Project-Id-Version: 1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-19 15:16+0000\n" -"PO-Revision-Date: 2024-11-19 15:32+0000\n" +"POT-Creation-Date: 2024-11-19 15:34+0000\n" +"PO-Revision-Date: 2024-11-19 16:35+0100\n" "Last-Translator: Raphael Michel \n" "Language-Team: German (informal) \n" -"Language: de_Informal\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.8.3\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.4.2\n" #: pretix/_base_settings.py:79 msgid "English" @@ -12879,12 +12879,13 @@ msgid "Your default locale must be specified." msgstr "Es muss eine Standardsprache eingestellt werden." #: pretix/control/forms/event.py:233 +#, python-brace-format msgid "" "You have not specified a tax rate. If you do not want us to compute sales " -"taxes, please check \"Do not use taxes\" above." +"taxes, please check \"{field}\" above." msgstr "" "Du hast keinen Steuersatz eingegeben. Wenn du nicht möchtest, dass wir " -"Mehrwertsteuern berechnen, klicke den entsprechenden Haken an." +"Mehrwertsteuern berechnen, klicke \"{field}\" an." #: pretix/control/forms/event.py:308 msgid "Copy configuration from" diff --git a/src/pretix/locale/django.pot b/src/pretix/locale/django.pot index c0623ed8d0..56ab3c5b06 100644 --- a/src/pretix/locale/django.pot +++ b/src/pretix/locale/django.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-19 15:16+0000\n" +"POT-Creation-Date: 2024-11-19 15:34+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -11266,9 +11266,10 @@ msgid "Your default locale must be specified." msgstr "" #: pretix/control/forms/event.py:233 +#, python-brace-format msgid "" "You have not specified a tax rate. If you do not want us to compute sales " -"taxes, please check \"Do not use taxes\" above." +"taxes, please check \"{field}\" above." msgstr "" #: pretix/control/forms/event.py:308 diff --git a/src/pretix/locale/djangojs.pot b/src/pretix/locale/djangojs.pot index 0c8ec02c87..ade775f4c4 100644 --- a/src/pretix/locale/djangojs.pot +++ b/src/pretix/locale/djangojs.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-19 15:16+0000\n" +"POT-Creation-Date: 2024-11-19 15:34+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/src/pretix/locale/el/LC_MESSAGES/django.po b/src/pretix/locale/el/LC_MESSAGES/django.po index a4a51f2b6d..8ccbbf61f7 100644 --- a/src/pretix/locale/el/LC_MESSAGES/django.po +++ b/src/pretix/locale/el/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-19 15:16+0000\n" +"POT-Creation-Date: 2024-11-19 15:34+0000\n" "PO-Revision-Date: 2024-05-31 15:52+0000\n" "Last-Translator: danijossnet \n" "Language-Team: Greek \n" "Language-Team: Spanish \n" "Language-Team: Estonian \n" "Language-Team: Basque \n" "Language-Team: Finnish \n" "Language-Team: French \n" "Language-Team: Galician \n" "Language-Team: LANGUAGE \n" @@ -11287,9 +11287,10 @@ msgid "Your default locale must be specified." msgstr "" #: pretix/control/forms/event.py:233 +#, python-brace-format msgid "" "You have not specified a tax rate. If you do not want us to compute sales " -"taxes, please check \"Do not use taxes\" above." +"taxes, please check \"{field}\" above." msgstr "" #: pretix/control/forms/event.py:308 diff --git a/src/pretix/locale/hr/LC_MESSAGES/django.po b/src/pretix/locale/hr/LC_MESSAGES/django.po index a483d29807..7a26b89675 100644 --- a/src/pretix/locale/hr/LC_MESSAGES/django.po +++ b/src/pretix/locale/hr/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-19 15:16+0000\n" +"POT-Creation-Date: 2024-11-19 15:34+0000\n" "PO-Revision-Date: 2024-11-17 00:00+0000\n" "Last-Translator: Pavle Ergović \n" "Language-Team: Croatian \n" "Language-Team: Hungarian \n" "Language-Team: Indonesian \n" "Language-Team: Italian \n" "Language-Team: Japanese \n" "Language-Team: Korean \n" "Language-Team: Latvian \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" "Language-Team: Dutch (informal) \n" "Language-Team: Polish \n" "Language-Team: Portuguese \n" "Language-Team: Portuguese (Brazil) \n" "Language-Team: Portuguese (Portugal) \n" "Language-Team: Romanian \n" "Language-Team: Russian \n" "Language-Team: Sinhala \n" "Language-Team: Slovak \n" "Language-Team: Slovenian \n" "Language-Team: Swedish \n" "Language-Team: Thai \n" "Language-Team: Turkish \n" "Language-Team: Ukrainian \n" "Language-Team: Vietnamese \n" "Language-Team: Chinese (Simplified) \n" "Language-Team: Chinese (Traditional)