fix translation support for new homenews object
This commit is contained in:
parent
61f750a223
commit
6c2fac35e6
|
@ -5,3 +5,6 @@ def initialize(context):
|
|||
|
||||
class IHemicycleDocument(Interface):
|
||||
pass
|
||||
|
||||
import zope.i18nmessageid
|
||||
MessageFactory = zope.i18nmessageid.MessageFactory('tabellio.pfbviews')
|
||||
|
|
|
@ -10,7 +10,7 @@ from plone.formwidget.contenttree import ObjPathSourceBinder
|
|||
from plone.app.textfield import RichText
|
||||
from plone.namedfile.field import NamedImage
|
||||
|
||||
from tabellio.pcfviews import MessageFactory as _
|
||||
from tabellio.pfbviews import MessageFactory as _
|
||||
|
||||
class IHomeNews(form.Schema):
|
||||
picture = NamedImage(title=_(u'Picture'), required=False)
|
||||
|
|
Reference in New Issue