[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam - folder_contents.pt:1.8

Jim Fulton jim@zope.com
Thu, 3 Apr 2003 11:19:04 -0500


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

Modified Files:
	folder_contents.pt 
Log Message:
Changed the handling of program source translations

- The translation files for the application server (zope.app) are now
  al in one place, src/zope/app/translation_files.

- Added an extraction tool, extract.py that extracts all translatable
  strings from Python and zpt source files into a translation template
  file, zope.pot. This template file should then be merged into
  individual translation files.

To do:

- zcml extraction

- I don't think that encodings are handled correctly. The template
  file certainly doesn't have the encoding set correctly.



=== Zope3/src/zope/app/browser/skins/rotterdam/folder_contents.pt 1.7 => 1.8 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/folder_contents.pt:1.7	Tue Feb 11 10:59:39 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/folder_contents.pt	Thu Apr  3 11:18:33 2003
@@ -154,12 +154,23 @@
         </tbody> 
       </table>
 
-      <input type="submit" name="@@rename.html:method" value="Rename" />
-      <input type="submit" name="@@cutObjects.html:method" value="Cut"/>
-      <input type="submit" name="@@copyObjects.html:method" value="Copy"/>
+      <input type="submit" name="@@rename.html:method" value="Rename"
+             i18n:attributes="value container_rename_button" 
+             />
+      <input type="submit" name="@@cutObjects.html:method" value="Cut"
+             i18n:attributes="value container_cut_button" 
+             />
+      <input type="submit" name="@@copyObjects.html:method" value="Copy"
+             i18n:attributes="value container_copy_button" 
+             />
       <input type="submit" name="@@pasteObjects.html:method" value="Paste"
-             tal:condition="view/hasClipboardContents" />
-      <input type="submit" name="@@removeObjects.html:method" value="Delete"/>
+             tal:condition="view/hasClipboardContents" 
+             i18n:attributes="value container_paste_button" 
+             />
+      <input type="submit" name="@@removeObjects.html:method" value="Delete"
+             i18n:attributes="value container_delete_button"
+             i18n:domain="zope"
+             />
 
   </form>