diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-12 12:41:02 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:24 +0100 |
commit | 7e6c628ff9f4d27609efda613b790f87bbeacea1 (patch) | |
tree | b307437533bffbba02878683827b38c18e595e12 | |
parent | e32bb8790516a7c9cebeb4ef390c9ed7263e6dc5 (diff) | |
download | Ishtar-7e6c628ff9f4d27609efda613b790f87bbeacea1.tar.bz2 Ishtar-7e6c628ff9f4d27609efda613b790f87bbeacea1.zip |
Fix typo
-rw-r--r-- | archaeological_warehouse/models.py | 4 | ||||
-rw-r--r-- | archaeological_warehouse/tests.py | 2 | ||||
-rw-r--r-- | locale/fr/LC_MESSAGES/django.po | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index 61b2e3f6d..06c7cdcd8 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -862,7 +862,7 @@ class Container(DocumentItem, Merge, LightHistorizedItem, responsibility = models.ForeignKey( Warehouse, verbose_name=_("Responsibility"), related_name='responsibilities', blank=True, null=True, - help_text=_("Warehouse that own the container") + help_text=_("Warehouse that owns the container") ) container_type = models.ForeignKey(ContainerType, verbose_name=_("Container type"), @@ -1189,7 +1189,7 @@ class Container(DocumentItem, Merge, LightHistorizedItem, current_container_type = None error_msg = str( - _("The division number {} have not been set for the warehouse {}.") + _("The division number {} has not been set for the warehouse {}.") ).format(place + 1, self.location) previous_container_types = [] for idx, division_link in enumerate(q.all()): diff --git a/archaeological_warehouse/tests.py b/archaeological_warehouse/tests.py index 873941d8e..f6d877ec4 100644 --- a/archaeological_warehouse/tests.py +++ b/archaeological_warehouse/tests.py @@ -554,8 +554,6 @@ class ContainerTest(FindInit, TestCase): c = json.loads(response.content.decode()) self.assertEqual(len(c), 1) - - def test_form_creation(self): data = { 'reference': 'hop-ref', diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 2d87609ca..a933f4d8f 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -7083,7 +7083,7 @@ msgid "Responsible warehouse" msgstr "Lieu de conservation responsable" #: archaeological_warehouse/models.py:865 -msgid "Warehouse that own the container" +msgid "Warehouse that owns the container" msgstr "Lieu de conservation auquel le contenant appartient" #: archaeological_warehouse/models.py:870 @@ -7112,7 +7112,7 @@ msgid "No value" msgstr "Pas de valeur" #: archaeological_warehouse/models.py:1192 -msgid "The division number {} have not been set for the warehouse {}." +msgid "The division number {} has not been set for the warehouse {}." msgstr "" "La division numéro {} n'a pas été définie pour le lieu de conservation {}." |