[Zope3-checkins] CVS: Zope3/src/zope/app/browser - auth.zcml:1.2 configure.zcml:1.20 introspector.zcml:1.5 menus.zcml:1.9 onlinehelp.zcml:1.7 traversal.zcml:1.7 undo.zcml:1.3

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


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

Modified Files:
	auth.zcml configure.zcml introspector.zcml menus.zcml 
	onlinehelp.zcml traversal.zcml undo.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/auth.zcml 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/auth.zcml:1.1	Thu Jul 31 23:21:28 2003
+++ Zope3/src/zope/app/browser/auth.zcml	Sun Aug  3 13:48:37 2003
@@ -1,5 +1,7 @@
-<zopeConfigure 
-    xmlns:browser="http://namespaces.zope.org/browser">
+<configure 
+    xmlns:browser="http://namespaces.zope.org/browser"
+    i18n_domain='zope'
+    >
 
 <browser:page 
     name="login.html"
@@ -19,4 +21,4 @@
     allowed_interface="zope.app.interfaces.publisher.http.ILogout"
     />
 
-</zopeConfigure>
+</configure>


=== Zope3/src/zope/app/browser/configure.zcml 1.19 => 1.20 ===
--- Zope3/src/zope/app/browser/configure.zcml:1.19	Thu Jul 31 23:21:28 2003
+++ Zope3/src/zope/app/browser/configure.zcml	Sun Aug  3 13:48:37 2003
@@ -1,4 +1,4 @@
-<zopeConfigure xmlns="http://namespaces.zope.org/browser">
+<configure xmlns="http://namespaces.zope.org/browser">
 
 <defaultView name="index.html" />
 
@@ -25,4 +25,4 @@
 
 <include package=".exception" />
 
-</zopeConfigure>
+</configure>


=== Zope3/src/zope/app/browser/introspector.zcml 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/introspector.zcml:1.4	Wed Jul  2 11:23:01 2003
+++ Zope3/src/zope/app/browser/introspector.zcml	Sun Aug  3 13:48:37 2003
@@ -1,4 +1,7 @@
-<zopeConfigure xmlns='http://namespaces.zope.org/browser'>
+<configure
+    xmlns='http://namespaces.zope.org/browser'
+    i18n_domain='zope'
+    >
 <!-- Introspection -->
 
   <!--page
@@ -34,4 +37,4 @@
       class="zope.app.browser.introspector.IntrospectorView"
       />
 
-</zopeConfigure>
+</configure>


=== Zope3/src/zope/app/browser/menus.zcml 1.8 => 1.9 ===
--- Zope3/src/zope/app/browser/menus.zcml:1.8	Tue Jul 29 18:30:50 2003
+++ Zope3/src/zope/app/browser/menus.zcml	Sun Aug  3 13:48:37 2003
@@ -1,4 +1,7 @@
-<zopeConfigure xmlns="http://namespaces.zope.org/browser">
+<configure
+    xmlns="http://namespaces.zope.org/browser"
+    i18n_domain="zope"
+    >
 
     <menu id="zmi_views" 
           title="Menu for displaying alternate representations of an object"
@@ -78,4 +81,4 @@
      allowed_interface="zope.app.interfaces.browser.menu.IMenuAccessView"
      />
 
-</zopeConfigure>
+</configure>
\ No newline at end of file


=== Zope3/src/zope/app/browser/onlinehelp.zcml 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/onlinehelp.zcml:1.6	Tue Jul 29 18:30:51 2003
+++ Zope3/src/zope/app/browser/onlinehelp.zcml	Sun Aug  3 13:48:37 2003
@@ -1,4 +1,7 @@
-<zopeConfigure xmlns="http://namespaces.zope.org/browser">
+<configure
+    xmlns="http://namespaces.zope.org/browser"
+    i18n_domain='zope'
+    >
 
 <!-- OnlineHelp -->
 
@@ -30,4 +33,4 @@
       /> 
  
 
-</zopeConfigure>
+</configure>


=== Zope3/src/zope/app/browser/traversal.zcml 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/traversal.zcml:1.6	Fri Jun 13 13:41:11 2003
+++ Zope3/src/zope/app/browser/traversal.zcml	Sun Aug  3 13:48:37 2003
@@ -1,5 +1,8 @@
-<zopeConfigure xmlns='http://namespaces.zope.org/zope'
-               xmlns:browser='http://namespaces.zope.org/browser'>
+<configure
+    xmlns='http://namespaces.zope.org/zope'
+    xmlns:browser='http://namespaces.zope.org/browser'
+    i18n_domain='zope'
+    >
 
 <browser:page 
     name="_traverse" 
@@ -63,4 +66,4 @@
     allowed_interface="zope.app.interfaces.browser.absoluteurl.IAbsoluteURL" 
     />
 
-</zopeConfigure>
+</configure>


=== Zope3/src/zope/app/browser/undo.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/undo.zcml:1.2	Wed Jun 25 11:24:20 2003
+++ Zope3/src/zope/app/browser/undo.zcml	Sun Aug  3 13:48:37 2003
@@ -1,5 +1,8 @@
-<zopeConfigure xmlns="http://namespaces.zope.org/browser"
-               xmlns:event="http://namespaces.zope.org/event">
+<configure
+    xmlns="http://namespaces.zope.org/browser"
+    xmlns:event="http://namespaces.zope.org/event"
+    i18n_domain='zope'
+    >
 
 <!-- Undo -->
 
@@ -24,4 +27,4 @@
       event_types="zope.app.interfaces.event.IDatabaseOpenedEvent"
       />
 
-</zopeConfigure>
+</configure>




More information about the Zope3-Checkins mailing list