Rename regid and class for content's indexation tab according to its appearance in the UI
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 26 Aug 2016 11:42:20 +0200
changeset 1566 5c2023bb6e0c
parent 1565 9e26a3fac4e9
child 1567 0bc7c97416c0
Rename regid and class for content's indexation tab according to its appearance in the UI
i18n/en.po
i18n/fr.po
views/content.py
--- a/i18n/en.po	Fri Aug 26 11:17:04 2016 +0200
+++ b/i18n/en.po	Fri Aug 26 11:42:20 2016 +0200
@@ -5163,9 +5163,6 @@
 msgid "seda_content_agent_tab"
 msgstr ""
 
-msgid "seda_content_classification_tab"
-msgstr ""
-
 msgid "seda_content_coverage_tab"
 msgstr ""
 
@@ -5184,6 +5181,9 @@
 msgid "seda_content_identification_tab"
 msgstr ""
 
+msgid "seda_content_indexation_tab"
+msgstr ""
+
 msgid "seda_content_object"
 msgstr ""
 
--- a/i18n/fr.po	Fri Aug 26 11:17:04 2016 +0200
+++ b/i18n/fr.po	Fri Aug 26 11:42:20 2016 +0200
@@ -5171,9 +5171,6 @@
 msgid "seda_content_agent_tab"
 msgstr "agents"
 
-msgid "seda_content_classification_tab"
-msgstr "indexation"
-
 msgid "seda_content_coverage_tab"
 msgstr "couverture"
 
@@ -5192,6 +5189,9 @@
 msgid "seda_content_identification_tab"
 msgstr "identification"
 
+msgid "seda_content_indexation_tab"
+msgstr "indexation"
+
 msgid "seda_content_object"
 msgstr "contenu"
 
--- a/views/content.py	Fri Aug 26 11:17:04 2016 +0200
+++ b/views/content.py	Fri Aug 26 11:42:20 2016 +0200
@@ -119,7 +119,7 @@
         _('seda_content_service_tab'),
         _('seda_content_agent_tab'),
         _('seda_content_coverage_tab'),
-        _('seda_content_classification_tab'),
+        _('seda_content_indexation_tab'),
         _('seda_content_relation_tab'),
         _('seda_content_event_tab'),
         _('seda_content_history_tab'),
@@ -234,10 +234,10 @@
     _('creating SEDAJuridictional (SEDAJuridictional seda_juridictional SEDAContent %(linkto)s)')
 
 
-class ContentClassificationTab(viewlib.SubObjectsTab):
-    """Display classification (keywords and tags) about an archive unit content."""
+class ContentIndexationTab(viewlib.SubObjectsTab):
+    """Display indexation (keywords and tags) about an archive unit content."""
 
-    __regid__ = 'seda_content_classification_tab'
+    __regid__ = 'seda_content_indexation_tab'
     __select__ = viewlib.SubObjectsTab.__select__ & is_instance('SEDAContent')
 
     rtype_role_targets = [
@@ -298,7 +298,7 @@
             ContentDateTab,
             ContentServiceTab,
             ContentAgentTab,
-            ContentClassificationTab,
+            ContentIndexationTab,
             ContentEventTab):
     for rtype, role, target in cls.rtype_role_targets:
         if role == 'object':