From b6739db91b786b3740c78b28ca212431ecd2c4b0 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Mon, 31 Jan 2011 14:20:54 +0000
Subject: [PATCH] Use Base_translateString to do translation and support non
 ascii translated messages.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42829 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_ingestion/Base_contribute.xml         | 6 ++++--
 bt5/erp5_ingestion/bt/revision                              | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Base_contribute.xml b/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Base_contribute.xml
index 71d50f36ee..0d0d80339e 100644
--- a/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Base_contribute.xml
+++ b/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Base_contribute.xml
@@ -53,11 +53,13 @@
             <value> <string>"""\n
   Use to contribute file to ERP5.\n
 """\n
-from Products.ERP5Type.Message import translateString\n
 from ZTUtils import make_query\n
 \n
-MARKER = [\'\', None]\n
 portal = context.getPortalObject()\n
+translateString = portal.Base_translateString\n
+\n
+\n
+MARKER = [\'\', None]\n
 portal_contributions = portal.portal_contributions\n
 context_url = context.getRelativeUrl()\n
 \n
diff --git a/bt5/erp5_ingestion/bt/revision b/bt5/erp5_ingestion/bt/revision
index afbe847262..b9c6c007cc 100644
--- a/bt5/erp5_ingestion/bt/revision
+++ b/bt5/erp5_ingestion/bt/revision
@@ -1 +1 @@
-126
\ No newline at end of file
+131
\ No newline at end of file
-- 
2.30.9