[z3-checkins] r10393 - z3/CMFonFive/trunk

tseaver at codespeak.net tseaver at codespeak.net
Thu Apr 7 04:24:06 MEST 2005


Author: tseaver
Date: Thu Apr  7 04:24:06 2005
New Revision: 10393

Modified:
   z3/CMFonFive/trunk/configure.zcml
Log:
Style conformance;  provide i18n domain.


Modified: z3/CMFonFive/trunk/configure.zcml
==============================================================================
--- z3/CMFonFive/trunk/configure.zcml	(original)
+++ z3/CMFonFive/trunk/configure.zcml	Thu Apr  7 04:24:06 2005
@@ -1,32 +1,56 @@
-<configure xmlns="http://namespaces.zope.org/zope"
-           xmlns:five="http://namespaces.zope.org/five"
-           xmlns:browser="http://namespaces.zope.org/browser">
+<configure
+  xmlns="http://namespaces.zope.org/zope"
+  xmlns:five="http://namespaces.zope.org/five"
+  xmlns:browser="http://namespaces.zope.org/browser"
+  i18n_domain="CMFonFive"
+  >
 
   <!-- Bridge CMF's Zope 2 interfaces -->
-  <include file="bridgetools.zcml" />
-  <include file="bridgecontent.zcml" />
+  <include
+    file="bridgetools.zcml"
+    />
+  <include
+    file="bridgecontent.zcml"
+    />
 
   <!-- Assert synthesized interfaces for CMF's tool classes. -->
-  <include file="impltools.zcml" />
+  <include
+    file="impltools.zcml"
+    />
 
   <!-- Make Zope3 assertions about folder classes. -->
-  <include file="folders.zcml" />
+  <include
+    file="folders.zcml"
+    />
 
   <!-- Make Zope3 assertions about Document class. -->
-  <include file="document.zcml" />
+  <include
+    file="document.zcml"
+    />
 
   <!-- Set up default menues as action categories. -->
-  <browser:menu id="object" title="Object menu" />
-
-  <browser:layer name="cmf" />
-  <browser:skin name="cmf" layers="cmf default" />
-  <browser:defaultSkin name="cmf" />
+  <browser:menu
+    id="object"
+    title="Object menu"
+    />
+
+  <browser:layer
+    name="cmf"
+    />
+  <browser:skin
+    name="cmf"
+    layers="cmf default"
+    />
+  <browser:defaultSkin
+    name="cmf"
+    />
 
   <browser:page
-      for="*"
-      template="five_template.pt"
-      name="five_template"
-      permission="zope.Public"
-      layer="cmf"
-      />
+    for="*"
+    template="five_template.pt"
+    name="five_template"
+    permission="zope.Public"
+    layer="cmf"
+    />
+
 </configure>


More information about the z3-checkins mailing list