diff options
author | Gary Poster <gary@zope.com> | 2002-06-22 17:34:14 +0000 |
---|---|---|
committer | Gary Poster <gary@zope.com> | 2002-06-22 17:34:14 +0000 |
commit | c7166511c8242b71edf72c96cafd1809f06e0574 (patch) | |
tree | db87c9ea94457d1ca8cf68efc9855ede0eeab381 | |
parent | a54e95c9d9b4045ea66a4b0dc197b0ae8d3ce37d (diff) | |
download | zope-i18n-c7166511c8242b71edf72c96cafd1809f06e0574.tar.gz |
Forgot to include i18n translation service to new-type service creation menu. Added.
-rw-r--r-- | Views/Browser/configure.zcml | 6 | ||||
-rw-r--r-- | configure.zcml | 12 |
2 files changed, 11 insertions, 7 deletions
diff --git a/Views/Browser/configure.zcml b/Views/Browser/configure.zcml index 47e51b6..d16a621 100644 --- a/Views/Browser/configure.zcml +++ b/Views/Browser/configure.zcml @@ -68,4 +68,10 @@ <browser:menuItem title="Synchronize" action="@@synchronizeForm.html"/> </browser:menuItems> + <browser:menuItem menu="add_content" + for="Zope.App.OFS.Services.ServiceManager.IServiceAdding." + title="Translations" action="TranslationService" + description="A Persistent Translation Service for TTW development" + /> + </zopeConfigure> 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." /> |