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/hospital/apps.py:7 apps/hospital/models.py:10
#: apps/hospital/apps.py:7
msgid "Hospital"
msgstr ""
#: apps/hospital/apps.py:8 apps/hospital/models.py:11
#: apps/hospital/apps.py:8
msgid "Hospitals"
msgstr ""
#: apps/hospital/models.py:10
msgid "hospital"
msgstr ""
#: apps/hospital/models.py:11
msgid "hospitals"
msgstr ""
#: apps/hospital/models.py:13
msgid "Name"
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:43+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/hospital/apps.py:7 apps/hospital/models.py:10
#: apps/hospital/apps.py:7
msgid "Hospital"
msgstr "Ziekenhuis"
#: apps/hospital/apps.py:8 apps/hospital/models.py:11
#: apps/hospital/apps.py:8
msgid "Hospitals"
msgstr "Ziekenhuizen"
#: apps/hospital/models.py:10
msgid "hospital"
msgstr "ziekenhuis"
#: apps/hospital/models.py:11
msgid "hospitals"
msgstr "ziekenhuizen"
#: apps/hospital/models.py:13
msgid "Name"
msgstr "Naam"

View File

@ -7,8 +7,8 @@ from lib.models.base import MetaDataModel
class Hospital(MetaDataModel):
class Meta:
verbose_name = _('Hospital')
verbose_name_plural = _('Hospitals')
verbose_name = _('hospital')
verbose_name_plural = _('hospitals')
name = models.CharField(_('Name'), max_length=200, help_text=_('The name of this hospital'))
address = models.CharField(_('Address'), max_length=200, blank=True, help_text=_('The address of this hospital'))