Commit 8949d08c authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[ui] Move binary data object's file information to their own tab

Related to #11447483
parent 93d137ac44a4
......@@ -898,34 +898,18 @@ msgstr ""
msgid "SEDACreatingApplicationName"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_application_name.object"
msgid "SEDACreatingApplicationName"
msgstr ""
msgid "SEDACreatingApplicationName_plural"
msgstr ""
msgid "SEDACreatingApplicationVersion"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_application_version.object"
msgid "SEDACreatingApplicationVersion"
msgstr ""
msgid "SEDACreatingApplicationVersion_plural"
msgstr ""
msgid "SEDACreatingOs"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_os.object"
msgid "SEDACreatingOs"
msgstr ""
msgid "SEDACreatingOsVersion"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_os_version.object"
msgid "SEDACreatingOsVersion"
msgstr ""
......@@ -1025,10 +1009,6 @@ msgstr ""
msgid "SEDADateCreatedByApplication"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_date_created_by_application.object"
msgid "SEDADateCreatedByApplication"
msgstr ""
msgid "SEDADateCreatedByApplication_plural"
msgstr ""
......@@ -1369,10 +1349,6 @@ msgstr ""
msgid "SEDALastModified"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_last_modified.object"
msgid "SEDALastModified"
msgstr ""
msgid "SEDALastModified_plural"
msgstr ""
......@@ -3645,28 +3621,12 @@ msgstr ""
msgid "add a SEDACreatingApplicationName"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_application_name.object"
msgid "add a SEDACreatingApplicationName"
msgstr ""
msgid "add a SEDACreatingApplicationVersion"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_application_version.object"
msgid "add a SEDACreatingApplicationVersion"
msgstr ""
msgid "add a SEDACreatingOs"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_os.object"
msgid "add a SEDACreatingOs"
msgstr ""
msgid "add a SEDACreatingOsVersion"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_os_version.object"
msgid "add a SEDACreatingOsVersion"
msgstr ""
......@@ -3742,10 +3702,6 @@ msgstr ""
msgid "add a SEDADateCreatedByApplication"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_date_created_by_application.object"
msgid "add a SEDADateCreatedByApplication"
msgstr ""
msgid "add a SEDADepth"
msgstr ""
......@@ -3978,10 +3934,6 @@ msgstr ""
msgid "add a SEDALastModified"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_last_modified.object"
msgid "add a SEDALastModified"
msgstr ""
msgid "add a SEDALength"
msgstr ""
......@@ -6346,6 +6298,9 @@ msgctxt "Agent"
msgid "seda_authorized_agent_to_object"
msgstr ""
msgid "seda_bdo_file_information"
msgstr ""
msgid "seda_bdo_format_identification"
msgstr ""
......
......@@ -901,34 +901,18 @@ msgstr ""
msgid "SEDACreatingApplicationName"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_application_name.object"
msgid "SEDACreatingApplicationName"
msgstr ""
msgid "SEDACreatingApplicationName_plural"
msgstr ""
msgid "SEDACreatingApplicationVersion"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_application_version.object"
msgid "SEDACreatingApplicationVersion"
msgstr ""
msgid "SEDACreatingApplicationVersion_plural"
msgstr ""
msgid "SEDACreatingOs"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_os.object"
msgid "SEDACreatingOs"
msgstr ""
msgid "SEDACreatingOsVersion"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_os_version.object"
msgid "SEDACreatingOsVersion"
msgstr ""
......@@ -1028,10 +1012,6 @@ msgstr ""
msgid "SEDADateCreatedByApplication"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_date_created_by_application.object"
msgid "SEDADateCreatedByApplication"
msgstr ""
msgid "SEDADateCreatedByApplication_plural"
msgstr ""
......@@ -1372,10 +1352,6 @@ msgstr ""
msgid "SEDALastModified"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_last_modified.object"
msgid "SEDALastModified"
msgstr ""
msgid "SEDALastModified_plural"
msgstr ""
......@@ -3648,28 +3624,12 @@ msgstr ""
msgid "add a SEDACreatingApplicationName"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_application_name.object"
msgid "add a SEDACreatingApplicationName"
msgstr ""
msgid "add a SEDACreatingApplicationVersion"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_application_version.object"
msgid "add a SEDACreatingApplicationVersion"
msgstr ""
msgid "add a SEDACreatingOs"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_os.object"
msgid "add a SEDACreatingOs"
msgstr ""
msgid "add a SEDACreatingOsVersion"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_creating_os_version.object"
msgid "add a SEDACreatingOsVersion"
msgstr ""
......@@ -3745,10 +3705,6 @@ msgstr ""
msgid "add a SEDADateCreatedByApplication"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_date_created_by_application.object"
msgid "add a SEDADateCreatedByApplication"
msgstr ""
msgid "add a SEDADepth"
msgstr ""
......@@ -3981,10 +3937,6 @@ msgstr ""
msgid "add a SEDALastModified"
msgstr ""
msgctxt "inlined:SEDABinaryDataObject.seda_last_modified.object"
msgid "add a SEDALastModified"
msgstr ""
msgid "add a SEDALength"
msgstr ""
......@@ -5483,28 +5435,28 @@ msgid ""
msgstr ""
msgid "creating_application_name"
msgstr ""
msgstr "valeur"
msgctxt "SEDACreatingApplicationName"
msgid "creating_application_name"
msgstr ""
msgid "creating_application_version"
msgstr ""
msgstr "valeur"
msgctxt "SEDACreatingApplicationVersion"
msgid "creating_application_version"
msgstr ""
msgid "creating_os"
msgstr ""
msgstr "valeur"
msgctxt "SEDACreatingOs"
msgid "creating_os"
msgstr ""
msgid "creating_os_version"
msgstr ""
msgstr "valeur"
msgctxt "SEDACreatingOsVersion"
msgid "creating_os_version"
......@@ -6349,6 +6301,9 @@ msgctxt "Agent"
msgid "seda_authorized_agent_to_object"
msgstr ""
msgid "seda_bdo_file_information"
msgstr "propriétés techniques génériques"
msgid "seda_bdo_format_identification"
msgstr "format"
......@@ -6560,7 +6515,7 @@ msgid "seda_creating_application_name"
msgstr ""
msgid "seda_creating_application_name_object"
msgstr ""
msgstr "nom de l'application utilisée pour créer le fichier"
msgctxt "SEDABinaryDataObject"
msgid "seda_creating_application_name_object"
......@@ -6574,7 +6529,7 @@ msgid "seda_creating_application_version"
msgstr ""
msgid "seda_creating_application_version_object"
msgstr ""
msgstr "version de l'application"
msgctxt "SEDABinaryDataObject"
msgid "seda_creating_application_version_object"
......@@ -6588,7 +6543,7 @@ msgid "seda_creating_os"
msgstr ""
msgid "seda_creating_os_object"
msgstr ""
msgstr "système d’exploitation"
msgctxt "SEDABinaryDataObject"
msgid "seda_creating_os_object"
......@@ -6602,7 +6557,7 @@ msgid "seda_creating_os_version"
msgstr ""
msgid "seda_creating_os_version_object"
msgstr ""
msgstr "version du système d’exploitation"
msgctxt "SEDABinaryDataObject"
msgid "seda_creating_os_version_object"
......@@ -6774,7 +6729,7 @@ msgid "seda_date_created_by_application"
msgstr ""
msgid "seda_date_created_by_application_object"
msgstr ""
msgstr "date de création du fichier"
msgctxt "SEDABinaryDataObject"
msgid "seda_date_created_by_application_object"
......@@ -7486,7 +7441,7 @@ msgid "seda_last_modified"
msgstr ""
msgid "seda_last_modified_object"
msgstr ""
msgstr "date de la dernière modification"
msgctxt "SEDABinaryDataObject"
msgid "seda_last_modified_object"
......
......@@ -116,6 +116,7 @@ class BinaryDataObjectTabbedPrimaryView(tabs.TabbedPrimaryView):
tabs = [
'main_tab',
_('seda_bdo_format_identification'),
_('seda_bdo_file_information'),
]
......@@ -131,6 +132,14 @@ class BinaryDataObjectFormatIdentificationTab(tabs.PrimaryTab):
rsection, display_ctrl = rtags_from_xsd_element('SEDABinaryDataObject', 'FormatIdentification')
class BinaryDataObjectFileInfoTab(tabs.PrimaryTab):
"""Display file information of a binary data object"""
__regid__ = 'seda_bdo_file_information'
__select__ = tabs.PrimaryTab.__select__ & is_instance('SEDABinaryDataObject')
rsection, display_ctrl = rtags_from_xsd_element('SEDABinaryDataObject', 'FileInfo')
class PhysicalDataObjectTabbedPrimaryView(tabs.TabbedPrimaryView):
__select__ = tabs.TabbedPrimaryView.__select__ & is_instance('SEDAPhysicalDataObject')
tabs = [
......
......@@ -518,17 +518,17 @@ afs.tag_subject_of(('*', 'seda_message_digest', '*'), 'main', 'inlined')
afs.tag_subject_of(('*', 'seda_compressed', '*'), 'main', 'hidden')
afs.tag_object_of(('*', 'seda_compressed', '*'), 'main', 'inlined')
afs.tag_subject_of(('*', 'seda_creating_application_name', '*'), 'main', 'hidden')
afs.tag_object_of(('*', 'seda_creating_application_name', '*'), 'main', 'inlined')
afs.tag_object_of(('*', 'seda_creating_application_name', '*'), 'main', 'hidden')
afs.tag_subject_of(('*', 'seda_creating_application_version', '*'), 'main', 'hidden')
afs.tag_object_of(('*', 'seda_creating_application_version', '*'), 'main', 'inlined')
afs.tag_object_of(('*', 'seda_creating_application_version', '*'), 'main', 'hidden')
afs.tag_subject_of(('*', 'seda_date_created_by_application', '*'), 'main', 'hidden')
afs.tag_object_of(('*', 'seda_date_created_by_application', '*'), 'main', 'inlined')
afs.tag_object_of(('*', 'seda_date_created_by_application', '*'), 'main', 'hidden')
afs.tag_subject_of(('*', 'seda_creating_os', '*'), 'main', 'hidden')
afs.tag_object_of(('*', 'seda_creating_os', '*'), 'main', 'inlined')
afs.tag_object_of(('*', 'seda_creating_os', '*'), 'main', 'hidden')
afs.tag_subject_of(('*', 'seda_creating_os_version', '*'), 'main', 'hidden')
afs.tag_object_of(('*', 'seda_creating_os_version', '*'), 'main', 'inlined')
afs.tag_object_of(('*', 'seda_creating_os_version', '*'), 'main', 'hidden')
afs.tag_subject_of(('*', 'seda_last_modified', '*'), 'main', 'hidden')
afs.tag_object_of(('*', 'seda_last_modified', '*'), 'main', 'inlined')
afs.tag_object_of(('*', 'seda_last_modified', '*'), 'main', 'hidden')
afs.tag_subject_of(('*', 'seda_format_litteral', '*'), 'main', 'hidden')
afs.tag_object_of(('*', 'seda_format_litteral', '*'), 'main', 'hidden')
afs.tag_subject_of(('*', 'seda_mime_type_from', '*'), 'main', 'hidden')
......@@ -608,6 +608,18 @@ pvs.tag_subject_of(('*', 'seda_binary_data_object', '*'), 'hidden')
pvs.tag_object_of(('*', 'seda_binary_data_object', '*'), 'hidden')
pvs.tag_subject_of(('*', 'seda_physical_data_object', '*'), 'hidden')
pvs.tag_object_of(('*', 'seda_physical_data_object', '*'), 'hidden')
pvs.tag_subject_of(('*', 'seda_creating_application_name', '*'), 'hidden')
pvs.tag_object_of(('*', 'seda_creating_application_name', '*'), 'hidden')
pvs.tag_subject_of(('*', 'seda_creating_application_version', '*'), 'hidden')
pvs.tag_object_of(('*', 'seda_creating_application_version', '*'), 'hidden')
pvs.tag_subject_of(('*', 'seda_date_created_by_application', '*'), 'hidden')
pvs.tag_object_of(('*', 'seda_date_created_by_application', '*'), 'hidden')
pvs.tag_subject_of(('*', 'seda_creating_os', '*'), 'hidden')
pvs.tag_object_of(('*', 'seda_creating_os', '*'), 'hidden')
pvs.tag_subject_of(('*', 'seda_creating_os_version', '*'), 'hidden')
pvs.tag_object_of(('*', 'seda_creating_os_version', '*'), 'hidden')
pvs.tag_subject_of(('*', 'seda_last_modified', '*'), 'hidden')
pvs.tag_object_of(('*', 'seda_last_modified', '*'), 'hidden')
pvs.tag_subject_of(('*', 'seda_format_litteral', '*'), 'hidden')
pvs.tag_object_of(('*', 'seda_format_litteral', '*'), 'hidden')
pvs.tag_subject_of(('*', 'seda_mime_type_from', '*'), 'hidden')
......
......@@ -35,6 +35,12 @@ RTYPES_IN_TAB = set((
'seda_mime_type_from',
'seda_format_id_from',
'seda_encoding_from',
'seda_creating_application_name',
'seda_creating_application_version',
'seda_date_created_by_application',
'seda_creating_os',
'seda_creating_os_version',
'seda_last_modified',
))
......
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