[i18n] Add missing messages and translations for relationships
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 12 Jul 2016 14:37:13 +0200
changeset 1414 9ee425bbaedc
parent 1413 ea9e4c81b4aa
child 1415 82a0bb69d528
[i18n] Add missing messages and translations for relationships
i18n/en.po
i18n/fr.po
views/dataobject.py
--- a/i18n/en.po	Tue Jul 12 14:33:31 2016 +0200
+++ b/i18n/en.po	Tue Jul 12 14:37:13 2016 +0200
@@ -4172,6 +4172,18 @@
 
 #, python-format
 msgid ""
+"creating SEDARelationship (SEDARelationship seda_relationship "
+"SEDABinaryDataObject %(linkto)s)"
+msgstr ""
+
+#, python-format
+msgid ""
+"creating SEDARelationship (SEDARelationship seda_relationship "
+"SEDAPhysicalDataObject %(linkto)s)"
+msgstr ""
+
+#, python-format
+msgid ""
 "creating SEDAReplaces (SEDAReplaces seda_replaces SEDAContent %(linkto)s)"
 msgstr ""
 
--- a/i18n/fr.po	Tue Jul 12 14:33:31 2016 +0200
+++ b/i18n/fr.po	Tue Jul 12 14:37:13 2016 +0200
@@ -4178,6 +4178,18 @@
 
 #, python-format
 msgid ""
+"creating SEDARelationship (SEDARelationship seda_relationship "
+"SEDABinaryDataObject %(linkto)s)"
+msgstr "création d'une relation vers l'objet-données %(linkto)s"
+
+#, python-format
+msgid ""
+"creating SEDARelationship (SEDARelationship seda_relationship "
+"SEDAPhysicalDataObject %(linkto)s)"
+msgstr "création d'une relation vers l'objet-données %(linkto)s"
+
+#, python-format
+msgid ""
 "creating SEDAReplaces (SEDAReplaces seda_replaces SEDAContent %(linkto)s)"
 msgstr ""
 "création d'une référence vers un objet remplacé par le contenu %(linkto)s"
--- a/views/dataobject.py	Tue Jul 12 14:33:31 2016 +0200
+++ b/views/dataobject.py	Tue Jul 12 14:37:13 2016 +0200
@@ -214,6 +214,11 @@
     __select__ = tabs.PrimaryTab.__select__ & is_instance('SEDABinaryDataObject',
                                                           'SEDAPhysicalDataObject')
 
+    _('creating SEDARelationship (SEDARelationship seda_relationship '
+      'SEDABinaryDataObject %(linkto)s)')
+    _('creating SEDARelationship (SEDARelationship seda_relationship '
+      'SEDAPhysicalDataObject %(linkto)s)')
+
     def entity_call(self, entity):
         rschema = self._cw.vreg.schema.rschema('seda_relationship')
         if rschema.has_perm(self._cw, 'add', toeid=entity.eid):