Commit a7fa5d6a authored by Jérome Perrin's avatar Jérome Perrin

erp5_pdf_style page templates are not unicode, but utf8 encoded, so we cannot use i18n:translate :(


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11771 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5bc352c7
...@@ -70,8 +70,8 @@ ...@@ -70,8 +70,8 @@
<action name="nextPageTemplate">\n <action name="nextPageTemplate">\n
<parameter>FirstPage</parameter>\n <parameter>FirstPage</parameter>\n
</action>\n </action>\n
\n \n
<para tal:content="python: form.getProperty(\'title\')" style="Title" i18n:translate="" i18n:domain="ui">toto</para>\n <para tal:content="python: here.Localizer.erp5_ui.gettext(form.getProperty(\'title\', \'\')).encode(\'utf-8\')" style=\'Title\'> report title </para>\n
<spacer height="100"/>\n <spacer height="100"/>\n
\n \n
\n \n
......
13 14
\ 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