Commit 4f7764e5 authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Aurel

erp5_xhtml_style: Do not translate field error message by default

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