summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.zcml11
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." />