Commit 8ba9a1e2 authored by Georgios Dagkakis's avatar Georgios Dagkakis

erp5_xhtml_style: Do not translate field error message by default

instead use ValidationError.getMessage API
parent 833cb3ad
...@@ -30,8 +30,7 @@ ...@@ -30,8 +30,7 @@
<div class="input" tal:content="structure python: html_tuple[1]" /> <div class="input" tal:content="structure python: html_tuple[1]" />
<span tal:condition="field_has_error" <span tal:condition="field_has_error"
class="error" class="error"
tal:content="python: field_errors[field_id].error_text" tal:content="python: field_errors[field_id].getMessage(here.Base_translateString)" />
i18n:translate="" i18n:domain="ui" />
<p class="clear" tal:condition="not:is_web_mode"></p> <p class="clear" tal:condition="not:is_web_mode"></p>
</tal:block> </tal:block>
</div> </div>
......
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