[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - commontasks.pt:1.3 find.pt:1.3 index.pt:1.3 main.pt:1.5

Godefroid Chapelle gotcha@swing.be
Wed, 9 Apr 2003 04:09:18 -0400


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

Modified Files:
	commontasks.pt find.pt index.pt main.pt 
Log Message:
- i18n'ed



=== Zope3/src/zope/app/browser/container/commontasks.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/container/commontasks.pt:1.2	Sat Mar  1 16:16:31 2003
+++ Zope3/src/zope/app/browser/container/commontasks.pt	Wed Apr  9 04:09:17 2003
@@ -1,6 +1,6 @@
 <tal:block define="addingInfo context/@@+/addingInfo|nothing"
-           condition="addingInfo">
-<div class="content even"><strong>Add new content</strong></div>
+           condition="addingInfo" i18n:domain="zope">
+<div class="content even"><strong i18n:translate="">Add new content</strong></div>
 
   <tal:block repeat="info addingInfo">
   <div tal:define="oddrow repeat/info/odd" class="even"
@@ -8,8 +8,8 @@
       <a href="#"
       tal:attributes="href string:${request/getURL}?type_name=${info/action};
                        class info/selected"
-                       tal:content="info/title">Folder
+                       tal:content="info/title" i18n:translate="">Folder
       </a>
   </div>
   </tal:block>
-</tal:block>
\ No newline at end of file
+</tal:block>


=== Zope3/src/zope/app/browser/container/find.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/container/find.pt:1.2	Wed Dec 25 09:12:29 2002
+++ Zope3/src/zope/app/browser/container/find.pt	Wed Apr  9 04:09:17 2003
@@ -1,9 +1,9 @@
-<html metal:use-macro="views/standard_macros/page">
+<html metal:use-macro="views/standard_macros/page" i18n:domain="zope">
 <body>
 <div metal:fill-slot="body" >
 <form action="@@find.html" method="GET">
 <input type="text" name="ids" value="" /><br />
-<input type="submit" name="find_submit" value=" Find " />
+<input type="submit" name="find_submit" value=" Find " i18n:attributes="value"/>
 </form>
 <table tal:condition="request/ids | nothing">
 <tr tal:repeat="item python:view.findByIds(request['ids'])">


=== Zope3/src/zope/app/browser/container/index.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/container/index.pt:1.2	Wed Dec 25 09:12:29 2002
+++ Zope3/src/zope/app/browser/container/index.pt	Wed Apr  9 04:09:17 2003
@@ -1,4 +1,4 @@
-<html metal:use-macro="views/standard_macros/page">
+<html metal:use-macro="views/standard_macros/page" i18n:domain="zope">
 <head>
 <style metal:fill-slot="headers" type="text/css">
 <!--
@@ -16,16 +16,19 @@
 <body>
 <div metal:fill-slot="body">
 
-  <table  id="sortable" class="listing" summary="Content listing"
-             cellpadding="2" cellspacing="0" >
+    <table  
+        id="sortable" class="listing" summary="Content listing"
+        cellpadding="2" cellspacing="0"
+        i18n:attributes="summary"
+        >
 
     <thead> 
       <tr>
         <th>&nbsp;</th>
-        <th>Name</th>
-        <th>Title</th>
-        <th>Created</th>
-        <th>Modified</th>
+        <th i18n:translate="">Name</th>
+        <th i18n:translate="">Title</th>
+        <th i18n:translate="">Created</th>
+        <th i18n:translate="">Modified</th>
       </tr>
     </thead>
   
@@ -34,9 +37,10 @@
       <tr tal:repeat="info view/listContentInfo">
   
         <td> 
-          <a href="#" 
-             tal:attributes="href info/url"
-             tal:content="structure info/icon|default"
+            <a 
+                href="#" 
+                tal:attributes="href info/url"
+                tal:content="structure info/icon|default"
              >
           </a> 
         </td>


=== Zope3/src/zope/app/browser/container/main.pt 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/container/main.pt:1.4	Mon Dec 30 11:41:28 2002
+++ Zope3/src/zope/app/browser/container/main.pt	Wed Apr  9 04:09:17 2003
@@ -1,4 +1,4 @@
-<html metal:use-macro="views/standard_macros/page">
+<html metal:use-macro="views/standard_macros/page"  i18n:domain="zope">
 <head>
 <style metal:fill-slot="headers" type="text/css">
 </style>
@@ -12,19 +12,20 @@
         tal:condition="container_contents"
         >
 
-      <table id="sortable" class="listing" summary="Content listing"
+        <table id="sortable" class="listing" summary="Content listing"
              cellpadding="2" cellspacing="0" 
              metal:define-macro="contents_table"
+             i18n:attributes="summary"
              >
     
         <thead> 
           <tr>
             <th>&nbsp;</th>
-            <th>Name</th>
-            <th>Title</th>
-            <th>Size</th>
-            <th>Created</th>
-            <th>Modified</th>
+            <th i18n:translate="">Name</th>
+            <th i18n:translate="">Title</th>
+            <th i18n:translate="">Size</th>
+            <th i18n:translate="">Created</th>
+            <th i18n:translate="">Modified</th>
           </tr>
         </thead>