[Erp5-report] r17240 - in /erp5/trunk/bt5/erp5_pdf_editor: SkinTemplateItem/portal_skins/er...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Oct 29 13:09:18 CET 2007


Author: jerome
Date: Mon Oct 29 13:09:18 2007
New Revision: 17240

URL: http://svn.erp5.org?rev=17240&view=rev
Log:
Fix translation of fields error messages

Added:
    erp5/trunk/bt5/erp5_pdf_editor/bt/comment
    erp5/trunk/bt5/erp5_pdf_editor/bt/template_tool_id_list
Modified:
    erp5/trunk/bt5/erp5_pdf_editor/SkinTemplateItem/portal_skins/erp5_pdf_editor/form_render_PDFeForm.xml
    erp5/trunk/bt5/erp5_pdf_editor/bt/revision

Modified: erp5/trunk/bt5/erp5_pdf_editor/SkinTemplateItem/portal_skins/erp5_pdf_editor/form_render_PDFeForm.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_pdf_editor/SkinTemplateItem/portal_skins/erp5_pdf_editor/form_render_PDFeForm.xml?rev=17240&r1=17239&r2=17240&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_pdf_editor/SkinTemplateItem/portal_skins/erp5_pdf_editor/form_render_PDFeForm.xml (original)
+++ erp5/trunk/bt5/erp5_pdf_editor/SkinTemplateItem/portal_skins/erp5_pdf_editor/form_render_PDFeForm.xml Mon Oct 29 13:09:18 2007
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.PageTemplates.ZopePageTemplate</string>
-          <string>ZopePageTemplate</string>
-        </tuple>
-        <none/>
+        <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -166,6 +163,7 @@
                   <div tal:condition="python: field_errors.has_key(field.id)"\n
                         ><!-- field has errors-->\n
                     <span tal:replace="structure struct"\n
+                    i18n:attributes="title"\n
                     tal:attributes="class string:${name}_class_error;\n
                                     title string:${field/title}"\n
                   /></div>\n
@@ -205,6 +203,7 @@
                                               class_final python:\'%s%s%s%s\' %\n
                                               (class_base,\'_class_\', struct_ind, \'_error\')"\n
                                   tal:replace="structure struct_final"\n
+                                  i18n:attributes="title"\n
                                   tal:attributes="class class_final;\n
                                                   title field/title"\n
                       /></div>\n
@@ -285,7 +284,7 @@
                                         (class_base, \'_error_display\')"\n
                             tal:content="python:field_errors[field.id].error_text"\n
                             i18n:translate=""\n
-                            i18domain="ui"\n
+                            i18n:domain="ui"\n
                             tal:attributes="class class_final;\n
                                             title string:${field/title}"\n
                       ></div>\n

Added: erp5/trunk/bt5/erp5_pdf_editor/bt/comment
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_pdf_editor/bt/comment?rev=17240&view=auto
==============================================================================
    (empty)

Modified: erp5/trunk/bt5/erp5_pdf_editor/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_pdf_editor/bt/revision?rev=17240&r1=17239&r2=17240&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_pdf_editor/bt/revision (original)
+++ erp5/trunk/bt5/erp5_pdf_editor/bt/revision Mon Oct 29 13:09:18 2007
@@ -1,1 +1,1 @@
-8
+9

Added: erp5/trunk/bt5/erp5_pdf_editor/bt/template_tool_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_pdf_editor/bt/template_tool_id_list?rev=17240&view=auto
==============================================================================
    (empty)




More information about the Erp5-report mailing list