From 1b118844ec772483237edd6911a62a3c29f82889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= <felix@thegcat.net> Date: Thu, 12 Sep 2019 11:41:35 +0200 Subject: [PATCH] Better hold the translation stuff --- pretix_public_registrations/locale/de/LC_MESSAGES/django.po | 4 ++-- .../locale/de_Informal/LC_MESSAGES/django.po | 5 ++--- pretix_public_registrations/signals.py | 3 +-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/pretix_public_registrations/locale/de/LC_MESSAGES/django.po b/pretix_public_registrations/locale/de/LC_MESSAGES/django.po index 24a1963..3939bc7 100644 --- a/pretix_public_registrations/locale/de/LC_MESSAGES/django.po +++ b/pretix_public_registrations/locale/de/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-12 10:44+0200\n" +"POT-Creation-Date: 2019-09-12 11:39+0200\n" "PO-Revision-Date: \n" "Last-Translator: Felix Schäfer\n" "Language-Team: \n" @@ -52,6 +52,6 @@ msgid "" "The answers to the following questions will be publicly shown: %(qlist)s" msgstr "Antworten auf folgende Fragen werden öffentlich angezeigt: %(qlist)s" -#: signals.py:108 +#: signals.py:107 msgid "Public registrations" msgstr "Öffentliche Anmeldungen" diff --git a/pretix_public_registrations/locale/de_Informal/LC_MESSAGES/django.po b/pretix_public_registrations/locale/de_Informal/LC_MESSAGES/django.po index fc520be..3939bc7 100644 --- a/pretix_public_registrations/locale/de_Informal/LC_MESSAGES/django.po +++ b/pretix_public_registrations/locale/de_Informal/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-12 10:58+0200\n" +"POT-Creation-Date: 2019-09-12 11:39+0200\n" "PO-Revision-Date: \n" "Last-Translator: Felix Schäfer\n" "Language-Team: \n" @@ -15,7 +15,6 @@ msgstr "" "X-Poedit-SearchPath-0: .\n" #: __init__.py:13 -#| msgid "Public registration" msgid "Pretix public registrations" msgstr "" @@ -53,6 +52,6 @@ msgid "" "The answers to the following questions will be publicly shown: %(qlist)s" msgstr "Antworten auf folgende Fragen werden öffentlich angezeigt: %(qlist)s" -#: signals.py:108 +#: signals.py:107 msgid "Public registrations" msgstr "Öffentliche Anmeldungen" diff --git a/pretix_public_registrations/signals.py b/pretix_public_registrations/signals.py index 0171fbb..09a123b 100644 --- a/pretix_public_registrations/signals.py +++ b/pretix_public_registrations/signals.py @@ -47,8 +47,7 @@ def add_public_registration_question(sender, position, **kwargs): required=False, help_text=_( 'The answers to the following questions will be publicly shown: %(qlist)s' - % {'qlist': ", ".join(str(h) for h in headers)} - ), + ) % {'qlist': ", ".join(str(h) for h in headers)}, )} else: return {} -- GitLab