diff -r 9fa8e9776bda -r 28445044f6e3 src/pyams_content/shared/imagemap/paragraph.py --- a/src/pyams_content/shared/imagemap/paragraph.py Wed Jun 06 11:06:51 2018 +0200 +++ b/src/pyams_content/shared/imagemap/paragraph.py Wed Jun 06 11:44:46 2018 +0200 @@ -19,7 +19,7 @@ from pyams_content.component.paragraph.interfaces import IParagraphFactory from pyams_content.features.checker.interfaces import IContentChecker, ERROR_VALUE, MISSING_VALUE, MISSING_LANG_VALUE from pyams_content.shared.imagemap.interfaces import IImageMapParagraph, IMAGEMAP_PARAGRAPH_TYPE, \ - IMAGEMAP_PARAGRAPH_RENDERERS + IMAGEMAP_PARAGRAPH_RENDERERS, IMAGEMAP_PARAGRAPH_NAME from pyams_i18n.interfaces import II18nManager, INegotiator, II18n from pyams_workflow.interfaces import IWorkflow, IWorkflowState @@ -44,7 +44,7 @@ """Image map paragraph""" icon_class = 'fa-location-arrow' - icon_hint = _("Image map") + icon_hint = IMAGEMAP_PARAGRAPH_NAME reference = FieldProperty(IImageMapParagraph['reference']) renderer = FieldProperty(IImageMapParagraph['renderer']) @@ -57,7 +57,7 @@ class ImageMapParagraphFactory(BaseParagraphFactory): """Image map paragraph factory""" - name = _("Image map") + name = IMAGEMAP_PARAGRAPH_NAME content_type = ImageMapParagraph secondary_menu = True