[Zope-Checkins] CVS: Zope3/lib/python/Zope/I18n - configure.zcml:1.7
Jim Fulton
jim@zope.com
Sun, 23 Jun 2002 13:03:46 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/I18n
In directory cvs.zope.org:/tmp/cvs-serv11667/lib/python/Zope/I18n
Modified Files:
configure.zcml
Log Message:
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.
=== Zope3/lib/python/Zope/I18n/configure.zcml 1.6 => 1.7 ===
<!-- 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." />