[diag] Fix message about potential RNG validation problems
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 06 Dec 2017 16:15:04 +0100
changeset 2890 e1fd97e85af2
parent 2889 cfcfe7afe41a
child 2891 38f882d0cee5
[diag] Fix message about potential RNG validation problems after discussion with B. Nichelle from the SIAF, it appears that some cases are actually handled as expected, some others not.
cubicweb_seda/entities/diag.py
cubicweb_seda/i18n/en.po
cubicweb_seda/i18n/fr.po
--- a/cubicweb_seda/entities/diag.py	Wed Dec 06 15:38:28 2017 +0100
+++ b/cubicweb_seda/entities/diag.py	Wed Dec 06 16:15:04 2017 +0100
@@ -111,7 +111,8 @@
         ])),
     'rng_ambiguity': Rule(
         set(['RNG']),
-        _("More than one children with cardinality not equal to '1', only one is supported."),
+        _("More than one children with cardinality not equal to '1', "
+          "this may cause RNG validation problems."),
         None,  # generated at run time
         []),  # have it's own hook
 }
--- a/cubicweb_seda/i18n/en.po	Wed Dec 06 15:38:28 2017 +0100
+++ b/cubicweb_seda/i18n/en.po	Wed Dec 06 16:15:04 2017 +0100
@@ -117,8 +117,8 @@
 msgstr ""
 
 msgid ""
-"More than one children with cardinality not equal to '1', only one is "
-"supported."
+"More than one children with cardinality not equal to '1', this may cause RNG "
+"validation problems."
 msgstr ""
 
 msgid "New SEDAAccessRule"
--- a/cubicweb_seda/i18n/fr.po	Wed Dec 06 15:38:28 2017 +0100
+++ b/cubicweb_seda/i18n/fr.po	Wed Dec 06 16:15:04 2017 +0100
@@ -124,11 +124,11 @@
 msgstr "Message"
 
 msgid ""
-"More than one children with cardinality not equal to '1', only one is "
-"supported."
+"More than one children with cardinality not equal to '1', this may cause RNG "
+"validation problems."
 msgstr ""
 "Plus d'une entité de même type et au même niveau ont une cardinalité autre "
-"que obligatoire, il ne peut y en avoir qu'une."
+"que obligatoire, cela peut poser des problèmes de validation RNG."
 
 msgid "New SEDAAccessRule"
 msgstr ""