diff options
Diffstat (limited to 'configure.zcml')
-rw-r--r-- | configure.zcml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/configure.zcml b/configure.zcml index 7240bd8..2db8993 100644 --- a/configure.zcml +++ b/configure.zcml @@ -28,6 +28,11 @@ <!-- Register the Translation Service as a content object --> <content class=".TranslationService."> + <factory + id="TranslationService" + permission="Zope.ManageServices" + title="Translations" + description="A Persistent Translation Service for TTW development" /> <require permission="Zope.Public" interface="Zope.I18n.ITranslationService." /> @@ -38,13 +43,6 @@ </content> -<service:factoryFromClass id="TranslationService" - class=".TranslationService." - permission="Zope.ManageServices" - title="Translation Service" - description="A Persistent Translation Service for TTW development" /> - - <serviceType id="GlobalTranslationService" interface=".ITranslationService." /> |