Commit 29aee787 authored by Jérome Perrin's avatar Jérome Perrin

Fix translation of fields error messages

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17240 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 76112cc2
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<string>Products.PageTemplates.ZopePageTemplate</string> <tuple/>
<string>ZopePageTemplate</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -166,6 +163,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -166,6 +163,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<div tal:condition="python: field_errors.has_key(field.id)"\n <div tal:condition="python: field_errors.has_key(field.id)"\n
><!-- field has errors-->\n ><!-- field has errors-->\n
<span tal:replace="structure struct"\n <span tal:replace="structure struct"\n
i18n:attributes="title"\n
tal:attributes="class string:${name}_class_error;\n tal:attributes="class string:${name}_class_error;\n
title string:${field/title}"\n title string:${field/title}"\n
/></div>\n /></div>\n
...@@ -205,6 +203,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -205,6 +203,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
class_final python:\'%s%s%s%s\' %\n class_final python:\'%s%s%s%s\' %\n
(class_base,\'_class_\', struct_ind, \'_error\')"\n (class_base,\'_class_\', struct_ind, \'_error\')"\n
tal:replace="structure struct_final"\n tal:replace="structure struct_final"\n
i18n:attributes="title"\n
tal:attributes="class class_final;\n tal:attributes="class class_final;\n
title field/title"\n title field/title"\n
/></div>\n /></div>\n
...@@ -285,7 +284,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -285,7 +284,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
(class_base, \'_error_display\')"\n (class_base, \'_error_display\')"\n
tal:content="python:field_errors[field.id].error_text"\n tal:content="python:field_errors[field.id].error_text"\n
i18n:translate=""\n i18n:translate=""\n
i18domain="ui"\n i18n:domain="ui"\n
tal:attributes="class class_final;\n tal:attributes="class class_final;\n
title string:${field/title}"\n title string:${field/title}"\n
></div>\n ></div>\n
......
8 9
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment