diff --git a/biscuit/apps/untis/locale/de_DE/LC_MESSAGES/django.po b/biscuit/apps/untis/locale/de_DE/LC_MESSAGES/django.po new file mode 100644 index 0000000000000000000000000000000000000000..2aaf5b65bc5c0fb646ba257eafd3d220b3f7a1ca --- /dev/null +++ b/biscuit/apps/untis/locale/de_DE/LC_MESSAGES/django.po @@ -0,0 +1,80 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-08-03 22:57+0200\n" +"PO-Revision-Date: 2019-08-04 01:21+0200\n" +"Last-Translator: Tom Teichler <tom.teichler@teckids.org>\n" +"Language-Team: \n" +"Language: de_DE\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.2.3\n" + +#: apps.py:7 +msgid "BiscuIT - Untis interface" +msgstr "BiscuIT - Untis-Schnittstelle" + +#: forms.py:6 +msgid "Untis XML export" +msgstr "Untis-XML-Export" + +#: management/commands/untis_import.py:10 +msgid "Path to Untis XML export file" +msgstr "Pfad zur Untis-XML-Exportdatei" + +#: menus.py:8 +msgid "Import of data" +msgstr "Datenimport" + +#: menus.py:17 +msgid "Interfaces" +msgstr "Schnittstellen" + +#: templates/untis/untis_import.html:10 +msgid "" +"\n" +" Untis provides a function for exporting all data as an XML file.\n" +" " +msgstr "" +"\n" +" Untis bietet eine Funktion zum Exportieren aller Daten als XML-Datei.\n" +" " + +#: templates/untis/untis_import.html:16 +msgid "" +"\n" +" All lesson data will be overwritten by the import. Teachers, rooms,\n" +" classes and periods will be updated in place.\n" +" " +msgstr "" +"\n" +" Alle Stundendaten werden vom Import überschrieben. Lehrer, Räume,\n" +" Klassen und Stunden werden aktualisiert.\n" +" " + +#: util.py:66 +#, python-format +msgid "Class %s" +msgstr "Klasse %s" + +#: util.py:78 +#, python-format +msgid "Could not set class teacher of %s to %s." +msgstr "Der Klassenlehrer konnte nicht von %s auf %s gesetzt werden." + +#: util.py:117 +#, python-format +msgid "Invalid list of classes: %s" +msgstr "Ungültige Liste von Klassen: %s" + +#: util.py:125 +#, python-format +msgid "Failed to import lesson: Teacher %s does not exist." +msgstr "Fehler beim Importieren der Stunde: Lehrer %s existiert nicht." diff --git a/biscuit/apps/untis/menus.py b/biscuit/apps/untis/menus.py index b7ba992014808bf1bba0d257e60acddc2e19e872..c5d5c6416367a53c7b61be2abf6c6a0d8bba58c1 100644 --- a/biscuit/apps/untis/menus.py +++ b/biscuit/apps/untis/menus.py @@ -5,7 +5,7 @@ from menu import Menu, MenuItem menu_items = [ - MenuItem(_('Datenimport'), + MenuItem(_('Import of data'), reverse('untis_import'), check=lambda request: request.user.is_authenticated and request.user.is_superuser), ]