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,14 +18,22 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: apps/polyclinic/apps.py:7 apps/polyclinic/models.py:11
#: apps/polyclinic/apps.py:7
msgid "Polyclinic"
msgstr ""
#: apps/polyclinic/apps.py:8 apps/polyclinic/models.py:12
#: apps/polyclinic/apps.py:8
msgid "Polyclinics"
msgstr ""
#: apps/polyclinic/models.py:11
msgid "polyclinic"
msgstr ""
#: apps/polyclinic/models.py:12
msgid "polyclinics"
msgstr ""
#: apps/polyclinic/models.py:14
msgid "To which hospital belongs this polyclinic"
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:20+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,14 +18,22 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
#: apps/polyclinic/apps.py:7 apps/polyclinic/models.py:11
#: apps/polyclinic/apps.py:7
msgid "Polyclinic"
msgstr "Polikliniek"
#: apps/polyclinic/apps.py:8 apps/polyclinic/models.py:12
#: apps/polyclinic/apps.py:8
msgid "Polyclinics"
msgstr "Poliklinieken"
#: apps/polyclinic/models.py:11
msgid "polyclinic"
msgstr "polikliniek"
#: apps/polyclinic/models.py:12
msgid "polyclinics"
msgstr "poliklinieken"
#: apps/polyclinic/models.py:14
msgid "To which hospital belongs this polyclinic"
msgstr "Bij welke ziekenhuis hoort deze polikliniek"

View File

@ -8,8 +8,8 @@ from apps.hospital.models import Hospital
class Polyclinic(MetaDataModel):
class Meta:
verbose_name = _('Polyclinic')
verbose_name_plural = _('Polyclinics')
verbose_name = _('polyclinic')
verbose_name_plural = _('polyclinics')
hospital = models.ForeignKey(Hospital, on_delete=models.CASCADE, help_text=_('To which hospital belongs this polyclinic'))
name = models.CharField(_('Name'), max_length=200, blank=True, help_text=_('The name of this polyclinic'))