equal
deleted
inserted
replaced
35 @implementer(IGalleryParagraph) |
35 @implementer(IGalleryParagraph) |
36 class Gallery(BaseGallery, BaseParagraph): |
36 class Gallery(BaseGallery, BaseParagraph): |
37 """Gallery class""" |
37 """Gallery class""" |
38 |
38 |
39 icon_class = 'fa-picture-o' |
39 icon_class = 'fa-picture-o' |
40 icon_hint = _("Images gallery") |
40 icon_hint = _("Medias gallery") |
41 |
41 |
42 |
42 |
43 @utility_config(name='Gallery', provides=IParagraphFactory) |
43 @utility_config(name='Gallery', provides=IParagraphFactory) |
44 class GalleryFactory(BaseParagraphFactory): |
44 class GalleryFactory(BaseParagraphFactory): |
45 """Gallery paragraph factory""" |
45 """Gallery paragraph factory""" |
46 |
46 |
47 name = _("Images gallery") |
47 name = _("Medias gallery") |
48 content_type = Gallery |
48 content_type = Gallery |
49 |
49 |
50 |
50 |
51 @adapter_config(context=IGalleryParagraph, provides=IContentChecker) |
51 @adapter_config(context=IGalleryParagraph, provides=IContentChecker) |
52 class GalleryParagraphContentChecker(BaseParagraphContentChecker): |
52 class GalleryParagraphContentChecker(BaseParagraphContentChecker): |