diff options
author | Jim Fulton <jim@zope.com> | 2002-06-23 17:03:45 +0000 |
---|---|---|
committer | Jim Fulton <jim@zope.com> | 2002-06-23 17:03:45 +0000 |
commit | 663e8df13865702ee51a2e7a02fcd9745c76839f (patch) | |
tree | 0c119686256a068ef61cd00b8bd19045cebbe682 | |
parent | c7166511c8242b71edf72c96cafd1809f06e0574 (diff) | |
download | zope-i18n-663e8df13865702ee51a2e7a02fcd9745c76839f.tar.gz |
Finished implementing
http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/AddMenuProposalAndEndOfZmiNamespace
Updated the service manager to use a menu.
Ripped out the old adder registry code.
-rw-r--r-- | configure.zcml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/configure.zcml b/configure.zcml index 2db8993..76a74fa 100644 --- a/configure.zcml +++ b/configure.zcml @@ -28,11 +28,9 @@ <!-- 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" /> + + <factory id="TranslationService" permission="Zope.ManageServices" /> + <require permission="Zope.Public" interface="Zope.I18n.ITranslationService." /> @@ -42,6 +40,9 @@ /> </content> +<browser:menuItem menu="add_service" for="Zope.App.OFS.Container.IAdding." + action="TranslationService" title="Translation Service" + description="A Persistent Translation Service for TTW development" /> <serviceType id="GlobalTranslationService" interface=".ITranslationService." /> |