[Zope3-checkins] CVS: Zope3/src/zope/app/browser/catalog - configure.zcml:1.6

Philipp von Weitershausen philikon at philikon.de
Sun Aug 3 14:50:51 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/catalog
In directory cvs.zope.org:/tmp/cvs-serv11298/browser/catalog

Modified Files:
	configure.zcml 
Log Message:
Made menu, factory and form titles and labels MessageIDs instead of plain
TextLines/Texts. That means that they'll be translated as soon as the
translation data is in place.

The change affected most ZCML files and tests that make up ZCML code as
they had to specify an i18n_domain. This is 'zope' for all of Zope3.

The change also breaks many Zope3 products as they probably do not specify
an i18n_domain. A fix for them will follow immediately.


=== Zope3/src/zope/app/browser/catalog/configure.zcml 1.5 => 1.6 ===
--- Zope3/src/zope/app/browser/catalog/configure.zcml:1.5	Sun Aug  3 01:41:02 2003
+++ Zope3/src/zope/app/browser/catalog/configure.zcml	Sun Aug  3 13:48:45 2003
@@ -1,7 +1,9 @@
-<zopeConfigure xmlns="http://namespaces.zope.org/zope"
-               xmlns:browser="http://namespaces.zope.org/browser"
-	       xmlns:global_translation="http://namespaces.zope.org/gts"
->
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:browser="http://namespaces.zope.org/browser"
+    xmlns:global_translation="http://namespaces.zope.org/gts"
+    i18n_domain='zope'
+    >
 
 <global_translation:registerTranslations directory="translation_files"/>
 
@@ -87,15 +89,17 @@
 
 <!-- the Advanced tab of the Catalog -->
 <browser:pages
-  for="zope.app.interfaces.catalog.catalog.ICatalog"
-  class="zope.app.browser.catalog.catalog.CatalogEditView"
-  permission="zope.ManageContent">
+    for="zope.app.interfaces.catalog.catalog.ICatalog"
+    class="zope.app.browser.catalog.catalog.CatalogEditView"
+    permission="zope.ManageContent">
+
   <browser:page name="index.html" template="advanced.pt"
-   menu="zmi_views" title="Advanced"/>
+      menu="zmi_views" title="Advanced"/>
+
   <browser:page name="subscribe.html" attribute="subscribe"/>
   <browser:page name="unsubscribe.html" attribute="unsubscribe"/>
   <browser:page name="clear.html" attribute="clear"/>
   <browser:page name="reindex.html" attribute="reindex"/>
 </browser:pages>
 
-</zopeConfigure>
+</configure>




More information about the Zope3-Checkins mailing list