Fix multilanguage

This commit is contained in:
2020-05-15 12:54:16 +02:00
parent 1c21979486
commit c1a8912f6d
24 changed files with 221 additions and 149 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-15 08:29+0000\n"
"POT-Creation-Date: 2020-05-15 10:51+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"
@ -18,11 +18,11 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: apps/schedule/apps.py:7 apps/schedule/models.py:14
#: apps/schedule/apps.py:7
msgid "Schedule"
msgstr ""
#: apps/schedule/apps.py:8 apps/schedule/models.py:15
#: apps/schedule/apps.py:8
msgid "Schedules"
msgstr ""
@ -42,6 +42,14 @@ msgstr ""
msgid "When the job is done, the results will be sent to this email address"
msgstr ""
#: apps/schedule/models.py:14
msgid "schedule"
msgstr ""
#: apps/schedule/models.py:15
msgid "schedules"
msgstr ""
#: apps/schedule/models.py:18
msgid "Select the employee that is responsible for this schedule request"
msgstr ""

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-15 08:29+0000\n"
"PO-Revision-Date: 2020-05-15 10:27+0200\n"
"POT-Creation-Date: 2020-05-15 10:51+0000\n"
"PO-Revision-Date: 2020-05-15 12:47+0200\n"
"Last-Translator: Joshua Rubingh <j.g.rubingh@rug.nl>\n"
"Language-Team: \n"
"Language: nl\n"
@ -18,11 +18,11 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
#: apps/schedule/apps.py:7 apps/schedule/models.py:14
#: apps/schedule/apps.py:7
msgid "Schedule"
msgstr "Rooster"
#: apps/schedule/apps.py:8 apps/schedule/models.py:15
#: apps/schedule/apps.py:8
msgid "Schedules"
msgstr "Roosters"
@ -43,6 +43,14 @@ msgid "When the job is done, the results will be sent to this email address"
msgstr ""
"Als de klus geklaard is, worden de resultaten naar dit e-mailadres gestuurd"
#: apps/schedule/models.py:14
msgid "schedule"
msgstr "rooster"
#: apps/schedule/models.py:15
msgid "schedules"
msgstr "roosters"
#: apps/schedule/models.py:18
msgid "Select the employee that is responsible for this schedule request"
msgstr ""

View File

@ -11,8 +11,8 @@ import collections
class Schedule(MetaDataModel):
class Meta:
verbose_name = _('Schedule')
verbose_name_plural = _('Schedules')
verbose_name = _('schedule')
verbose_name_plural = _('schedules')
employee = models.ForeignKey(Employee, on_delete=models.CASCADE, help_text=_('Select the employee that is responsible for this schedule request'))