From d0dbb7d440a57e255165e498e263c43a995c593c Mon Sep 17 00:00:00 2001
From: Wenjie ZHENG <wenjie.zheng@tiolive.com>
Date: Mon, 13 Oct 2014 16:37:17 +0000
Subject: [PATCH] add French translation

---
 .../BusinessTemplate_getPortalTypesProperties.xml | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getPortalTypesProperties.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getPortalTypesProperties.xml
index cb56070333..8ecd828444 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getPortalTypesProperties.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getPortalTypesProperties.xml
@@ -50,13 +50,22 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>context.getPortalTypesProperties()\n
-\n
+            <value> <string>Base_translateString = context.Base_translateString\n
 REQUEST = context.REQUEST\n
 \n
+\n
+result, message0 =  context.getPortalTypesProperties()\n
+\n
+message1 = Base_translateString("Portal Type Properties Have Been Updated.")\n
+\n
+ret_url = context.absolute_url() + \'/\' + REQUEST.get(\'form_id\', \'view\')\n
+\n
 if REQUEST is not None:\n
   ret_url = context.absolute_url() + \'/\' + REQUEST.get(\'form_id\', \'view\')\n
-  REQUEST.RESPONSE.redirect("%s?portal_status_message=Portal+Types+Properties+Updated"% ret_url)\n
+  if result:\n
+    REQUEST.RESPONSE.redirect("%s?portal_status_message= %s" % (ret_url,message0))\n
+  else:\n
+    REQUEST.RESPONSE.redirect("%s?portal_status_message=%s"% (ret_url,message1))\n
 </string> </value>
         </item>
         <item>
-- 
2.30.9