diff --git a/djangocms_baseplugins/twitter/conf.py b/djangocms_baseplugins/twitter/conf.py index 95956e3..bcd40b4 100644 --- a/djangocms_baseplugins/twitter/conf.py +++ b/djangocms_baseplugins/twitter/conf.py @@ -1,11 +1,15 @@ import sys from django.conf import settings +from django.utils.translation import gettext_lazy as _ from djangocms_baseplugins.baseplugin import defaults from djangocms_baseplugins.baseplugin.utils import check_settings, get_baseplugin_fieldset +NAME = _('Twitter Embed') +MODULE = defaults.ADVANCED_LABEL + TRANSLATED_FIELDS = ['tweet_url', ] DESIGN_FIELDS = [] diff --git a/djangocms_baseplugins/video/conf.py b/djangocms_baseplugins/video/conf.py index 420f949..706ac82 100644 --- a/djangocms_baseplugins/video/conf.py +++ b/djangocms_baseplugins/video/conf.py @@ -2,6 +2,7 @@ import sys from django.conf import settings +from django.utils.translation import gettext_lazy as _ from djangocms_baseplugins.baseplugin import defaults from djangocms_baseplugins.baseplugin.defaults import ADVANCED_FIELDS