From 1e4e2f26d45ae45c2055bd86b9af3a41aaaf520a Mon Sep 17 00:00:00 2001 From: Valérie-Emma Leroux Date: Thu, 18 Jan 2018 14:00:30 +0100 Subject: Update labels --- ishtar_common/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index aa3e94ae0..1394cb8eb 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -932,9 +932,9 @@ class JsonDataField(models.Model): key = models.CharField( _(u"Key"), max_length=200, help_text=_(u"Value of the key in the JSON schema. For hierarchical " - u"key use \"__\" to explain it. For instance the key " + u"key use \"__\" to explain it. For instance for the key " u"'my_subkey' with data such as {'my_key': {'my_subkey': " - u"'value'}} will be reached with my_key__my_subkey.")) + u"'value'}}, its value will be reached with my_key__my_subkey.")) display = models.BooleanField(_(u"Display"), default=True) order = models.IntegerField(_(u"Order"), default=10) section = models.ForeignKey(JsonDataSection, blank=True, null=True) @@ -952,7 +952,7 @@ class JsonDataField(models.Model): return if self.section.content_type != self.content_type: raise ValidationError( - _(u"Content type of the field and of the menu do not match")) + _(u"Content types of the field and of the menu do not match")) class JsonData(models.Model): -- cgit v1.2.3