Updated labels
authorThierry Florac <thierry.florac@onf.fr>
Wed, 25 Apr 2018 17:03:56 +0200
changeset 537 21152756d312
parent 536 1e10e634ec13
child 538 0bd011d47c0b
Updated labels
src/pyams_content/component/paragraph/zmi/__init__.py
src/pyams_content/component/paragraph/zmi/container.py
--- a/src/pyams_content/component/paragraph/zmi/__init__.py	Wed Apr 25 16:20:15 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/__init__.py	Wed Apr 25 17:03:56 2018 +0200
@@ -60,7 +60,7 @@
 class DefaultParagraphsSettingsMenu(MenuItem):
     """Default paragraphs settings menu"""
 
-    label = _("Paragraphs types...")
+    label = _("Content block types...")
     icon_class = 'fa-paragraph'
     url = 'default-paragraphs.html'
     modal_target = True
@@ -73,7 +73,7 @@
 
     prefix = 'default_paragraphs.'
 
-    legend = _("Paragraphs types")
+    legend = _("Content block types")
 
     fields = field.Fields(IParagraphFactorySettings)
     ajax_handler = 'default-paragraphs.json'
--- a/src/pyams_content/component/paragraph/zmi/container.py	Wed Apr 25 16:20:15 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/container.py	Wed Apr 25 17:03:56 2018 +0200
@@ -71,7 +71,7 @@
 class ParagraphsContainerMenu(MenuItem):
     """Paragraphs container menu"""
 
-    label = _("Paragraphs...")
+    label = _("Contents...")
     icon_class = 'fa-paragraph'
     url = '#paragraphs.html'
 
@@ -285,7 +285,7 @@
 class ParagraphContainerView(ContainerAdminView):
     """Paragraphs container view"""
 
-    title = _("Paragraphs list")
+    title = _("Content blocks")
     table_class = ParagraphContainerTable
 
 
@@ -294,7 +294,7 @@
 class ParagraphContainerDialogView(AdminDialogDisplayForm):
     """Paragraphs container dialog view"""
 
-    title = _("Paragraphs list")
+    title = _("Content blocks")
     dialog_class = 'modal-large no-widget-toolbar'
     fieldset_class = 'height-300'
 
@@ -307,7 +307,7 @@
 class ParagraphsView(InnerTableView):
     """Paragraphs view"""
 
-    title = _("Paragraphs")
+    title = _("Content blocks")
 
     table_class = ParagraphContainerBaseTable
     weight = 90
@@ -364,7 +364,7 @@
 class ParagraphsAssociationsMenu(MenuItem):
     """Paragraphs associations container menu"""
 
-    label = _("Associations...")
+    label = _("Links and attachments...")
     icon_class = 'fa-link'
     url = '#paragraphs-associations.html'
 
@@ -376,7 +376,7 @@
 class ParagraphsAssociationsView(AdminView):
     """Paragraphs associations view"""
 
-    title = _("Paragraphs associations")
+    title = _("Content blocks links and attachments")
 
     @reify
     def associations(self):