[Erp5-report] r23623 - in /erp5/trunk/bt5/erp5_pdf_style: SkinTemplateItem/portal_skins/erp...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 16 10:44:52 CEST 2008
Author: jerome
Date: Tue Sep 16 10:44:39 2008
New Revision: 23623
URL: http://svn.erp5.org?rev=23623&view=rev
Log:
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.
Modified:
erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/report_view.xml
erp5/trunk/bt5/erp5_pdf_style/bt/revision
Modified: erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/report_view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/report_view.xml?rev=23623&r1=23622&r2=23623&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/report_view.xml (original)
+++ erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/report_view.xml Tue Sep 16 10:44:39 2008
@@ -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>
@@ -39,12 +33,6 @@
</dictionary>
</state>
</object>
- </value>
- </item>
- <item>
- <key> <string>_owner</string> </key>
- <value>
- <none/>
</value>
</item>
<item>
@@ -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
Modified: erp5/trunk/bt5/erp5_pdf_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_pdf_style/bt/revision?rev=23623&r1=23622&r2=23623&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_pdf_style/bt/revision (original)
+++ erp5/trunk/bt5/erp5_pdf_style/bt/revision Tue Sep 16 10:44:39 2008
@@ -1,1 +1,1 @@
-64
+66
More information about the Erp5-report
mailing list