diff --git a/biscuit/apps/untis/locale/ar/LC_MESSAGES/django.po b/biscuit/apps/untis/locale/ar/LC_MESSAGES/django.po index b020172b0f341858501411b7f5db08239fe0cdc7..7d6ade8e60e2d4d9ff8bae6c35f82b07331e296b 100644 --- a/biscuit/apps/untis/locale/ar/LC_MESSAGES/django.po +++ b/biscuit/apps/untis/locale/ar/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-27 15:22+0200\n" +"POT-Creation-Date: 2019-09-02 13:14+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -16,8 +16,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " -"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #: apps.py:7 msgid "BiscuIT - Untis interface" @@ -32,11 +31,7 @@ msgid "Path to Untis XML export file" msgstr "" #: menus.py:6 -msgid "Interfaces" -msgstr "" - -#: menus.py:12 -msgid "Untis import" +msgid "Units import" msgstr "" #: templates/untis/untis_import.html:10 @@ -61,7 +56,7 @@ msgstr "" #: util.py:80 #, python-format -msgid "Could not set class teacher of %s to %s." +msgid "Could not set class teacher of %(class)s to %(teacher)s." msgstr "" #: util.py:119 diff --git a/biscuit/apps/untis/locale/de_DE/LC_MESSAGES/django.po b/biscuit/apps/untis/locale/de_DE/LC_MESSAGES/django.po index e1b8336db1a46acd16a0fad75803cc93e4e3eff5..111db88332d03f36d18f0767b17ccf722ede74bb 100644 --- a/biscuit/apps/untis/locale/de_DE/LC_MESSAGES/django.po +++ b/biscuit/apps/untis/locale/de_DE/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-27 15:22+0200\n" +"POT-Creation-Date: 2019-09-02 13:14+0000\n" "PO-Revision-Date: 2019-08-18 21:33+0200\n" "Last-Translator: Tom Teichler <tom.teichler@teckids.org>\n" "Language-Team: \n" @@ -30,11 +30,9 @@ msgid "Path to Untis XML export file" msgstr "Pfad zur Untis-XML-Exportdatei" #: menus.py:6 -msgid "Interfaces" -msgstr "Schnittstellen" - -#: menus.py:12 -msgid "Untis import" +#, fuzzy +#| msgid "Untis import" +msgid "Units import" msgstr "Untis-Import" #: templates/untis/untis_import.html:10 @@ -65,8 +63,9 @@ msgid "Class %s" msgstr "Klasse %s" #: util.py:80 -#, python-format -msgid "Could not set class teacher of %s to %s." +#, fuzzy, python-format +#| msgid "Could not set class teacher of %s to %s." +msgid "Could not set class teacher of %(class)s to %(teacher)s." msgstr "Der Klassenlehrer konnte nicht von %s auf %s gesetzt werden." #: util.py:119 @@ -79,5 +78,8 @@ msgstr "Ungültige Liste von Klassen: %s" msgid "Failed to import lesson: Teacher %s does not exist." msgstr "Fehler beim Importieren der Stunde: Lehrer %s existiert nicht." +#~ msgid "Interfaces" +#~ msgstr "Schnittstellen" + #~ msgid "Import of data" #~ msgstr "Datenimport" diff --git a/biscuit/apps/untis/locale/fr/LC_MESSAGES/django.po b/biscuit/apps/untis/locale/fr/LC_MESSAGES/django.po index a03a8533abb4fdc71610d94cbb547f93eeaebfa4..5c5fd0bb81906547c54d1f7ed67c7b218a94be5b 100644 --- a/biscuit/apps/untis/locale/fr/LC_MESSAGES/django.po +++ b/biscuit/apps/untis/locale/fr/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-27 15:22+0200\n" +"POT-Creation-Date: 2019-09-02 13:14+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -31,11 +31,7 @@ msgid "Path to Untis XML export file" msgstr "" #: menus.py:6 -msgid "Interfaces" -msgstr "" - -#: menus.py:12 -msgid "Untis import" +msgid "Units import" msgstr "" #: templates/untis/untis_import.html:10 @@ -60,7 +56,7 @@ msgstr "" #: util.py:80 #, python-format -msgid "Could not set class teacher of %s to %s." +msgid "Could not set class teacher of %(class)s to %(teacher)s." msgstr "" #: util.py:119 diff --git a/biscuit/apps/untis/locale/nb_NO/LC_MESSAGES/django.po b/biscuit/apps/untis/locale/nb_NO/LC_MESSAGES/django.po index e0d0975aa67d6538ebf0816a196e4828e0de450e..223cb0b4417ed3b3ee9ac746e8ed9e0989aa350d 100644 --- a/biscuit/apps/untis/locale/nb_NO/LC_MESSAGES/django.po +++ b/biscuit/apps/untis/locale/nb_NO/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-27 15:22+0200\n" +"POT-Creation-Date: 2019-09-02 13:14+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -30,11 +30,7 @@ msgid "Path to Untis XML export file" msgstr "" #: menus.py:6 -msgid "Interfaces" -msgstr "" - -#: menus.py:12 -msgid "Untis import" +msgid "Units import" msgstr "" #: templates/untis/untis_import.html:10 @@ -59,7 +55,7 @@ msgstr "" #: util.py:80 #, python-format -msgid "Could not set class teacher of %s to %s." +msgid "Could not set class teacher of %(class)s to %(teacher)s." msgstr "" #: util.py:119 diff --git a/biscuit/apps/untis/locale/tr_TR/LC_MESSAGES/django.po b/biscuit/apps/untis/locale/tr_TR/LC_MESSAGES/django.po index e0d0975aa67d6538ebf0816a196e4828e0de450e..223cb0b4417ed3b3ee9ac746e8ed9e0989aa350d 100644 --- a/biscuit/apps/untis/locale/tr_TR/LC_MESSAGES/django.po +++ b/biscuit/apps/untis/locale/tr_TR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-27 15:22+0200\n" +"POT-Creation-Date: 2019-09-02 13:14+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -30,11 +30,7 @@ msgid "Path to Untis XML export file" msgstr "" #: menus.py:6 -msgid "Interfaces" -msgstr "" - -#: menus.py:12 -msgid "Untis import" +msgid "Units import" msgstr "" #: templates/untis/untis_import.html:10 @@ -59,7 +55,7 @@ msgstr "" #: util.py:80 #, python-format -msgid "Could not set class teacher of %s to %s." +msgid "Could not set class teacher of %(class)s to %(teacher)s." msgstr "" #: util.py:119 diff --git a/biscuit/apps/untis/util.py b/biscuit/apps/untis/util.py index d0da80d6c4ffcc8b40614021480f3278714a5e7e..09f36b80e84b813e1bca4ee4bd05adf16397147a 100644 --- a/biscuit/apps/untis/util.py +++ b/biscuit/apps/untis/util.py @@ -77,8 +77,8 @@ def untis_import_xml(request: HttpRequest, untis_xml: Union[BinaryIO, str]) -> N short_name=class_teacher_short_name)]) class_.save() except Person.DoesNotExist: - messages.warning(request, _('Could not set class teacher of %s to %s.') % ( - short_name, class_teacher_short_name)) + messages.warning(request, _('Could not set class teacher of %(class)s to %(teacher)s.') % { + 'class': short_name, 'teacher': class_teacher_short_name}) Lesson.objects.all().delete()