From 813f919e0dfae3030cabc03937d6a3df9bb03a63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Sat, 11 Mar 2006 18:52:54 +0000
Subject: [PATCH] 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
---
 .../SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml b/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml
index c373ecdbcf..c1b3272a7a 100755
--- a/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml
+++ b/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml
@@ -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
-- 
2.30.9