[Zope3-checkins] CVS: Zope3/src/zope/app/browser/index/keyword - configure.zcml:1.2

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Aug 7 14:42:17 EDT 2003


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

Modified Files:
	configure.zcml 
Log Message:
Internationalized the rest of zope/app/browser.

I also took the chance to clean up some old code and remove a lot of cruft.
(This is the reason I decided to do it instead of letting a less 
experienced developer do it.)

I now consider I18n of the Zope core done. What does this mean to you?

1. All code you check into the CVS must be internationalized. That means:

   (a) Python and PT code must be properly tagged.

   (b) zope.pot must be updated. This can be done with::

       [zope/app/translation_files]$ python extract.py

       Note: You do not need to merge the new POT file with the catalogs.

2. Any code snippet that has no I18n is considered a bug! Therefore, please
   take care and do the I18n and make code so when you see missing spots.

Finally I would like to mention that some forms might experience some 
hickups, as I changed and moved around a lot of templates and was not able
to verify them all by hand. Please let me know, if something that used to 
work is not working anymore.


=== Zope3/src/zope/app/browser/index/keyword/configure.zcml 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/index/keyword/configure.zcml:1.1	Tue Aug  5 07:34:40 2003
+++ Zope3/src/zope/app/browser/index/keyword/configure.zcml	Thu Aug  7 13:40:43 2003
@@ -1,20 +1,10 @@
-<configure
-   xmlns='http://namespaces.zope.org/zope'
-   xmlns:browser='http://namespaces.zope.org/browser'
-   i18n_domain='zope'
-   >
+<configure xmlns="http://namespaces.zope.org/browser">
 
-  <browser:editform
+  <editform
     name="edit.html"
     schema="zope.app.interfaces.index.keyword.IUIKeywordCatalogIndex"
     label="Edit Keyword Index"
-    permission="zope.ManageContent"
-  />
-
-  <browser:menuItems menu="zmi_views"
-         for="zope.app.interfaces.index.keyword.IUIKeywordCatalogIndex">
-    <menuItem title="Edit" action="edit.html"/>
-  </browser:menuItems>
-
+    permission="zope.ManageContent" 
+    menu="zmi_views" title="Edit" />
 
 </configure>




More information about the Zope3-Checkins mailing list