diff options
author | Valérie-Emma Leroux <valerie-emma.leroux@iggdrasil.net> | 2018-01-18 14:00:30 +0100 |
---|---|---|
committer | Valérie-Emma Leroux <valerie-emma.leroux@iggdrasil.net> | 2018-01-18 14:00:30 +0100 |
commit | 2dcb1608f4ae2352987d263ab81eec2596c696b0 (patch) | |
tree | e4315410a83cddd71e1b7cd160a343ccc0a59093 /ishtar_common/models.py | |
parent | dacf4371a68ffcc9ac32c6590e19dd201c0a27ab (diff) | |
download | Ishtar-2dcb1608f4ae2352987d263ab81eec2596c696b0.tar.bz2 Ishtar-2dcb1608f4ae2352987d263ab81eec2596c696b0.zip |
Update labels
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
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): |