Skip to content

Commit

Permalink
Use plone i18n domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Klinger committed Jan 27, 2016
1 parent a0b3c90 commit 1aa60ea
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions plone/formwidget/autocomplete/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from zope.i18nmessageid import MessageFactory
MessageFactory = MessageFactory('plone.formwidget.autocomplete')

from plone.formwidget.autocomplete.widget import AutocompleteFieldWidget
from plone.formwidget.autocomplete.widget import AutocompleteMultiFieldWidget

MessageFactory = MessageFactory('plone')
2 changes: 1 addition & 1 deletion plone/formwidget/autocomplete/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:gs="http://namespaces.zope.org/genericsetup"
i18n_domain="plone.formwidget.autocomplete">
i18n_domain="plone">

<include package="plone.z3cform" />
<include package="Products.GenericSetup" file="meta.zcml" />
Expand Down
2 changes: 1 addition & 1 deletion plone/formwidget/autocomplete/demo.zcml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="plone.formwidget.autocomplete">
i18n_domain="plone">

<include package="Products.CMFCore" />

Expand Down
2 changes: 1 addition & 1 deletion plone/formwidget/autocomplete/testing.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:z3c="http://namespaces.zope.org/z3c"
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="plone.formwidget.autocomplete">
i18n_domain="plone">

<include file="meta.zcml" package="Products.GenericSetup"/>

Expand Down

0 comments on commit 1aa60ea

Please sign in to comment.