From c7a7e51f3c06c78b9639cd37f6f74a3af0b0746c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 16 Jan 2008 15:15:16 +0000 Subject: [PATCH] Translate listbox columns titles git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18744 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../SkinTemplateItem/portal_skins/erp5_ods_style/form_list.xml | 2 +- .../portal_skins/erp5_ods_style/listbox_ods_macro.xml | 3 ++- bt5/erp5_ods_style/bt/revision | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_list.xml b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_list.xml index 484c794d78..a3d74569b2 100644 --- a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_list.xml +++ b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_list.xml @@ -85,7 +85,7 @@ <tal:block tal:define="column_property python: column_item[1]; column_id python: column_item[0]">\n <tal:block tal:condition="python: column_property is not None" >\n <table:table-cell table:number-rows-spanned=\'1\' table:style-name=\'report-column-title\' table:number-columns-spanned=\'1\' office:value-type=\'string\' >\n - <text:p tal:content="python: column_property">\n + <text:p i18n:translate="" i18n:domain="ui" tal:content="column_property">\n </text:p>\n </table:table-cell>\n </tal:block>\n diff --git a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml index 944a61da74..761e1cff62 100644 --- a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml +++ b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml @@ -100,7 +100,8 @@ table:style-name=\'report-column-title\'\n table:number-columns-spanned=\'1\'\n office:value-type=\'string\'>\n - <text:p tal:content="python: column_property or \'\'">\n + <text:p i18n:translate="" i18n:domain="ui" \n + tal:content="python: column_property or \'\'">\n </text:p>\n </table:table-cell>\n </tal:block>\n diff --git a/bt5/erp5_ods_style/bt/revision b/bt5/erp5_ods_style/bt/revision index d25720879e..95c8a676e9 100644 --- a/bt5/erp5_ods_style/bt/revision +++ b/bt5/erp5_ods_style/bt/revision @@ -1 +1 @@ -112 \ No newline at end of file +113 \ No newline at end of file -- 2.30.9