Commit 813f919e authored by Jérome Perrin's avatar Jérome Perrin

use Localizer not translation_service. (mistakenly reintroduced in last commit ...)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6075 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5aa2366e
......@@ -79,7 +79,7 @@
<tal:block tal:condition="python:field.meta_type != \'HiddenStringField\'">\n
<tr>\n
<td tal:attributes="colwidth python: \'5cm\'" >\n
<para style="TableHeader" tal:content="python: here.translation_service.translate(\'ui\', field.get_value(\'title\')).encode(\'utf-8\')"/>\n
<para style="TableHeader" tal:content="python: here.Localizer.erp5_ui.gettext(field.get_value(\'title\')).encode(\'utf-8\')"/>\n
</td>\n
<tal:block tal:define="item_list python:field.has_value(\'items\') and field.get_value(\'items\') or None">\n
<td tal:attributes="colwidth python: None" tal:define="value python: field.get_value(\'default\')">\n
......
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