Updated field label
authorThierry Florac <thierry.florac@onf.fr>
Fri, 06 Apr 2018 08:55:26 +0200
changeset 521 c9e046041e8f
parent 520 58b51ea41bd7
child 522 73e404a01d95
Updated field label
src/pyams_content/component/paragraph/interfaces/keynumber.py
src/pyams_content/component/paragraph/zmi/keynumber.py
--- a/src/pyams_content/component/paragraph/interfaces/keynumber.py	Fri Apr 06 08:19:43 2018 +0200
+++ b/src/pyams_content/component/paragraph/interfaces/keynumber.py	Fri Apr 06 08:55:26 2018 +0200
@@ -48,7 +48,7 @@
                       description=_("Key number value"),
                       required=True)
 
-    label = I18nTextLineField(title=_('key-number-label', default="Label"),
+    label = I18nTextLineField(title=_('key-number-label', default="Header"),
                               description=_("Small text to be displayed above number (according to selected "
                                             "renderer)"),
                               required=False)
--- a/src/pyams_content/component/paragraph/zmi/keynumber.py	Fri Apr 06 08:19:43 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/keynumber.py	Fri Apr 06 08:55:26 2018 +0200
@@ -274,7 +274,7 @@
 class KeyNumbersTableLabelColumn(I18nColumn, I18nAttrColumn):
     """Key numbers table label column"""
 
-    _header = _("Label")
+    _header = _('key-number-label', default="Header")
     attrName = 'label'
     weight = 20