src/pyams_content/component/gallery/paragraph.py
changeset 407 0ef5de2d5674
parent 363 86d1a240d4dc
child 586 28445044f6e3
--- a/src/pyams_content/component/gallery/paragraph.py	Thu Feb 22 12:00:05 2018 +0100
+++ b/src/pyams_content/component/gallery/paragraph.py	Thu Feb 22 15:58:28 2018 +0100
@@ -16,7 +16,7 @@
 # import standard library
 
 # import interfaces
-from pyams_content.component.gallery.interfaces import IGalleryParagraph
+from pyams_content.component.gallery.interfaces import IGalleryParagraph, GALLERY_PARAGRAPH_TYPE
 from pyams_content.component.paragraph.interfaces import IParagraphFactory
 from pyams_content.features.checker.interfaces import IContentChecker, MISSING_VALUE, MISSING_LANG_VALUE
 from pyams_i18n.interfaces import II18n, INegotiator, II18nManager
@@ -40,7 +40,7 @@
     icon_hint = _("Medias gallery")
 
 
-@utility_config(name='Gallery', provides=IParagraphFactory)
+@utility_config(name=GALLERY_PARAGRAPH_TYPE, provides=IParagraphFactory)
 class GalleryFactory(BaseParagraphFactory):
     """Gallery paragraph factory"""