[Zope3-checkins] CVS: Zope3/src/zope/app/services/translation - configure.zcml:1.6.10.1
Steve Alexander
steve@cat-box.net
Thu, 15 May 2003 10:50:02 -0400
Update of /cvs-repository/Zope3/src/zope/app/services/translation
In directory cvs.zope.org:/tmp/cvs-serv12712/src/zope/app/services/translation
Modified Files:
Tag: stevea-decorators-branch
configure.zcml
Log Message:
More work on Decorators.
Converted existing tests to use decorators instead of ZopeContainerAdapter.
=== Zope3/src/zope/app/services/translation/configure.zcml 1.6 => 1.6.10.1 ===
--- Zope3/src/zope/app/services/translation/configure.zcml:1.6 Wed Apr 30 10:42:38 2003
+++ Zope3/src/zope/app/services/translation/configure.zcml Thu May 15 10:49:31 2003
@@ -5,7 +5,7 @@
xmlns:gts="http://namespaces.zope.org/gts">
<!-- Register the Translation Service as a content object -->
-<content
+<content
class="zope.app.services.translation.translationservice.TranslationService">
<factory id="TranslationService" permission="zope.ManageServices" />
<require permission="zope.Public"
@@ -17,6 +17,7 @@
zope.app.interfaces.services.translation.IWriteTranslationService" />
<implements
interface="zope.app.interfaces.annotation.IAttributeAnnotatable" />
+ <decorate decorator="zope.app.container.contextdecorator" type="context" />
</content>
<browser:icon name="zmi_icon" for="zope.i18n.interfaces.ITranslationService"