[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - contents.pt:1.8

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


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

Modified Files:
	contents.pt 
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/container/contents.pt 1.7 => 1.8 ===
--- Zope3/src/zope/app/browser/container/contents.pt:1.7	Wed Aug  6 10:41:36 2003
+++ Zope3/src/zope/app/browser/container/contents.pt	Thu Aug  7 13:40:25 2003
@@ -138,7 +138,7 @@
 
       <div tal:condition="view/specialButtons">
         <input type="submit" value="Apply"
-               i18n:attributes="value container_apply_button"
+               i18n:attributes="value container-apply-button"
                />
         <input type="submit" name="container_cancel_button" value="Cancel"
                i18n:attributes="value container-cancel-button"




More information about the Zope3-Checkins mailing list