diff --git a/django_lostplaces/lostplaces/forms.py b/django_lostplaces/lostplaces/forms.py index b7063ae..7cd51e3 100644 --- a/django_lostplaces/lostplaces/forms.py +++ b/django_lostplaces/lostplaces/forms.py @@ -29,7 +29,7 @@ class ExplorerCreationForm(UserCreationForm): return False if not fetched_voucher.valid: - self.add_error('voucher', 'Expired voucher') + self.add_error('voucher', _('Expired voucher')) return False fetched_voucher.delete() diff --git a/django_lostplaces/lostplaces/locale/de/LC_MESSAGES/django.po b/django_lostplaces/lostplaces/locale/de/LC_MESSAGES/django.po index 3d6a6c1..f840b44 100644 --- a/django_lostplaces/lostplaces/locale/de/LC_MESSAGES/django.po +++ b/django_lostplaces/lostplaces/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-11 02:14+0200\n" +"POT-Creation-Date: 2020-10-11 07:13+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Commander1024 \n" "Language-Team: LANGUAGE \n" @@ -30,23 +30,23 @@ msgstr "Ungültiger Voucher" msgid "Expired voucher" msgstr "Abgelaufener Voucher" -#: models/abstract_models.py:28 +#: models/abstract_models.py:29 msgid "Name" msgstr "Name" -#: models/abstract_models.py:35 +#: models/abstract_models.py:36 msgid "Latitude" msgstr "Breitengrad" -#: models/abstract_models.py:36 +#: models/abstract_models.py:37 msgid "Latitude in decimal format: e. g. 41.40338" msgstr "Breitengrad in dezimaler Form: z. B. 51.95021" -#: models/abstract_models.py:43 +#: models/abstract_models.py:44 msgid "Longitude" msgstr "Längengrad" -#: models/abstract_models.py:44 +#: models/abstract_models.py:45 msgid "Longitude in decimal format: e. g. 2.17403" msgstr "Breitengrad in dezimaler Form: z. B. 7.4840155"