[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/translation - exportimport.pt:1.3 synchronize.pt:1.3 translate.pt:1.3 translatemessage.pt:1.3

Philipp von Weitershausen philikon@philikon.de
Wed, 25 Jun 2003 14:43:41 -0400


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

Modified Files:
	exportimport.pt synchronize.pt translate.pt 
	translatemessage.pt 
Log Message:
More XHTML compliance ("xhtml gheddon"?). Files were validated running
the following command (using the xmllint command line tool from
http://xmlsoft.org/)::

  find . -name "*pt" -exec xmllint --noout --dtdvalid \
  http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd {} \;

Emacs's grep-find mode can parse this output. Instead of specifying
the URL, one can also download the DTD to speed up the process.


=== Zope3/src/zope/app/browser/services/translation/exportimport.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/translation/exportimport.pt:1.2	Wed Dec 25 09:12:38 2002
+++ Zope3/src/zope/app/browser/services/translation/exportimport.pt	Wed Jun 25 14:43:10 2003
@@ -17,7 +17,8 @@
       <td width="25%">
         <div class="form-label" i18n:translate="">Select Languages:</div>
         <div>
-          <select name="languages:list" size="3" style="width: 80%" multiple>
+          <select name="languages:list" size="3" style="width: 80%"
+                  multiple="multiple">
             <option value="" 
                     tal:attributes="value language"
                     tal:content="language"
@@ -28,7 +29,8 @@
       <td width="25%">
         <div class="form-label" i18n:translate="">Select Domains:</div>
         <div>
-          <select name="domains:list" size="3" style="width: 80%" multiple>
+          <select name="domains:list" size="3" style="width: 80%"
+                  multiple="multiple">
             <option value="" 
                     tal:attributes="value domain"
                     tal:content="domain"
@@ -39,11 +41,11 @@
       <td width="25%" valign="top">
         <div class="form-label" i18n:translate="">Import File Name:</div>
         <div>
-          <input type="file" name="file" size="20" value="">
+          <input type="file" name="file" size="20" value="" />
         </div>
         <div>
-          <input type="submit" name="@@import.html:method" value="Import">
-          <input type="submit" name="@@export.html:method" value="Export">
+          <input type="submit" name="@@import.html:method" value="Import" />
+          <input type="submit" name="@@export.html:method" value="Export" />
         </div>
       </td>
     </tr>


=== Zope3/src/zope/app/browser/services/translation/synchronize.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/translation/synchronize.pt:1.2	Wed Dec 25 09:12:38 2002
+++ Zope3/src/zope/app/browser/services/translation/synchronize.pt	Wed Jun 25 14:43:10 2003
@@ -40,7 +40,7 @@
           <div>Select Domains:</div>
           <div>
             <select name="sync_domains:list" size="6" style="width: 80%" 
-                    multiple>
+                    multiple="multiple">
               <tal:block repeat="domain view/getAllDomains">
               <option value="" 
 		      tal:attributes="value domain"
@@ -60,7 +60,7 @@
           <div>Select Languages:</div>
           <div>
             <select name="sync_languages:list" size="6" style="width: 80%" 
-                    multiple>
+                    multiple="multiple">
               <tal:block repeat="language view/getAllLanguages">
               <option value="" 
 		      tal:attributes="value language"
@@ -77,17 +77,17 @@
           </div>
         </td>
         <td width="20%">
-          <center>
+          <div align="center">
             <div><input type="submit" name="saveSettings.html:method" 
-                        value="Save Settings"></div><br>
+                        value="Save Settings" /></div><br/>
             <div><input type="submit" name="synchronize.html:method" 
-                        value="Synchronize"></div>
-          </center>
+                        value="Synchronize" /></div>
+          </div>
         </td>
       </tr>
     </form>
   </table>
-  <br>
+  <br/>
 
 <form action="./"
       tal:condition="view/canConnect">
@@ -107,15 +107,15 @@
         <td width="16">
           <input type="hidden"
       	       tal:attributes="name python: 'update-msgid-%i' %number;
-                                 value python: message[0][0]">
+                                 value python: message[0][0]" />
           <input type="hidden"
       	       tal:attributes="name python: 'update-domain-%i' %number;
-                                 value python: message[0][1]">
+                                 value python: message[0][1]" />
           <input type="hidden"
       	       tal:attributes="name python: 'update-language-%i' %number;
-                                 value python: message[0][2]">
+                                 value python: message[0][2]" />
           <input type="checkbox" name="message_ids:list"
-      	       tal:attributes="value python: number">
+      	       tal:attributes="value python: number" />
         </td>
         <td tal:content="python: message[0][0]">Hello World!</td>
         <td tal:content="python: message[0][1]">default</td>
@@ -130,7 +130,7 @@
     </tal:block>
   </table>
   <div><input type="submit" name="@@synchronizeMessages.html:method" 
-              value="Update"></div>
+              value="Update" /></div>
 
 </form>
 


=== Zope3/src/zope/app/browser/services/translation/translate.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/translation/translate.pt:1.2	Wed Dec 25 09:12:38 2002
+++ Zope3/src/zope/app/browser/services/translation/translate.pt	Wed Jun 25 14:43:10 2003
@@ -14,7 +14,8 @@
       <form action="./" method="post">
         <div class="form-label" i18n:translate="">Select Languages:</div>
         <div>
-          <select name="languages:list" size="3" style="width: 80%" multiple>
+          <select name="languages:list" size="3" style="width: 80%"
+                  multiple="multiple">
             <tal:block repeat="language view/getAllLanguages">
               <option value="" 
 		      tal:attributes="value language"
@@ -32,10 +33,10 @@
         <div>
           <input class="form-element" type="submit" 
                  name="@@changeEditLanguages.html:method" value="Edit"
-		 i18n:attributes="value">
+		 i18n:attributes="value" />
           <input class="form-element" type="submit" 
                  name="@@deleteLanguages.html:method" value="Delete"
-		 i18n:attributes="value">
+		 i18n:attributes="value" />
         </div>
       </form>
     </td>
@@ -43,7 +44,8 @@
       <form action="./" method="post">
         <div class="form-label" i18n:translate="">Select Domains:</div>
         <div>
-          <select name="domains:list" size="3" style="width: 80%" multiple>
+          <select name="domains:list" size="3" style="width: 80%"
+                  multiple="multiple">
             <tal:block repeat="domain view/getAllDomains">
               <option value="" 
 		      tal:attributes="value domain"
@@ -61,10 +63,10 @@
           <div>
             <input class="form-element" type="submit" 
                    name="@@changeEditDomains.html:method" value="Edit"
-                   i18n:attributes="value">
+                   i18n:attributes="value" />
             <input class="form-element" type="submit" 
                    name="@@deleteDomains.html:method" value="Delete"
-                   i18n:attributes="value">
+                   i18n:attributes="value" />
           </div>
         </form>
       </td>
@@ -72,13 +74,13 @@
         <form action="." method="post">
           <div class="form-label" i18n:translate="">New Language:</div>
           <div>
-            <input type="text" name="language" size="20" value="">
-            <input type="submit" name="@@addLanguage.html:method" value="Add">
+            <input type="text" name="language" size="20" value="" />
+            <input type="submit" name="@@addLanguage.html:method" value="Add" />
           </div>
           <div class="form-label" i18n:translate="">New Domain:</div>
           <div>
-            <input type="text" name="domain" size="20" value="">
-            <input type="submit" name="@@addDomain.html:method" value="Add">
+            <input type="text" name="domain" size="20" value="" />
+            <input type="submit" name="@@addDomain.html:method" value="Add" />
           </div>
         </form>
       </td>
@@ -116,12 +118,12 @@
       	<td>
       	  <input type="hidden"
                  tal:attributes="name python: 'edit-msg_id-%i' %message[2];
-                                 value python: message[0]">
+                                 value python: message[0]" />
           <input type="hidden"
                  tal:attributes="name python: 'edit-domain-%i' %message[2];
-                                 value python: message[1]">
+                                 value python: message[1]" />
           <input type="checkbox" name="message_ids:list"
-                 tal:attributes="value python: message[2]">
+                 tal:attributes="value python: message[2]" />
         </td>
         <td>
           <a href=""
@@ -174,10 +176,10 @@
   <div>
     <input class="form-element" type="submit" 
            name="@@editMessages.html:method" value="Edit Messages"
-           i18n:attributes="value">&nbsp;
+           i18n:attributes="value" />&nbsp;
     <input class="form-element" type="submit" 
            name="@@deleteMessages.html:method" value="Delete Messages"
-           i18n:attributes="value">
+           i18n:attributes="value" />
   </div>
   </form>
 


=== Zope3/src/zope/app/browser/services/translation/translatemessage.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/translation/translatemessage.pt:1.2	Wed Dec 25 09:12:38 2002
+++ Zope3/src/zope/app/browser/services/translation/translatemessage.pt	Wed Jun 25 14:43:10 2003
@@ -31,7 +31,7 @@
 </table>
 <input class="form-element" type="submit" 
        name="@@editMessage.html:method" value="Edit Message"
-       i18n:attributes="value">
+       i18n:attributes="value" />
 </form>
 
 </span>