Commit 114d5254 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[i18n] Add missing messages and translations for relationships

parent ea9e4c81b4aa
......@@ -4170,6 +4170,18 @@ msgid ""
"seda_related_transfer_reference SEDAArchiveTransfer %(linkto)s)"
msgstr ""
#, 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)"
......
......@@ -4176,6 +4176,18 @@ msgid ""
"seda_related_transfer_reference SEDAArchiveTransfer %(linkto)s)"
msgstr "Ajout d'une référence à un transfert sur %(linkto)s"
#, 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)"
......
......@@ -214,6 +214,11 @@ class DataObjectRelationsTab(tabs.PrimaryTab):
__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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment