Commit 1d0ee90d authored by Jérome Perrin's avatar Jérome Perrin

The title of the report section was translated with "default" domain (because...

The title of the report section was translated with "default" domain (because i18n:domain attribute was omitted). It was also translating again translated values, because ReportSection must be created with a message as title= argument.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23623 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bbdc8185
......@@ -9,12 +9,6 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
......@@ -41,12 +35,6 @@
</object>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
......@@ -159,14 +147,9 @@
tal:define="comment string:this is required for the macro;\n
landscape python: int(request.get(\'landscape\', 0) or 0);\n
global frame_width python:landscape and 25.8 or 19">\n
<tal:block tal:condition="report_item/getTitle | report_item/getTranslatedTitle">\n
<tal:block tal:condition="report_item/getTitle">\n
<para style="Heading1" tal:content="report_item/getTitle"\n
i18n:translate=""\n
tal:attributes="style python:\'Heading%s\' % report_item.getLevel()">toto</para><para/></tal:block>\n
<tal:block tal:condition="report_item/getTranslatedTitle">\n
<para style="Heading1" tal:content="report_item/getTranslatedTitle"\n
tal:attributes="style python:\'Heading%s\' % report_item.getLevel()">toto</para><para/></tal:block></tal:block>\n
<tal:block tal:condition="report_item/getTitle">\n
<para style="Heading1" tal:content="report_item/getTitle"\n
tal:attributes="style python:\'Heading%s\' % report_item.getLevel()">toto</para><para/></tal:block>\n
<tal:block tal:condition="report_item/getFormId">\n
<tal:block tal:define="form python:getattr(here,report_item.getFormId())" >\n
<tal:block tal:condition="python:form.pt == \'form_view\'">\n
......
64
\ No newline at end of file
66
\ 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