[Erp5-report] r12615 - /erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/porta...

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Feb 10 15:09:45 CET 2007


Author: jp
Date: Sat Feb 10 15:09:43 2007
New Revision: 12615

URL: http://svn.erp5.org?rev=12615&view=rev
Log:
This was required to support French titles in Workflow. Is it really required. Is Localizer supposed to accept only unicode strings ?

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_updateTranslationTable.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_updateTranslationTable.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_updateTranslationTable.xml?rev=12615&r1=12614&r2=12615&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_updateTranslationTable.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_updateTranslationTable.xml Sat Feb 10 15:09:43 2007
@@ -97,7 +97,7 @@
         # translate state title as well\n
         if state.title != \'\' :\n
           state_var_title = \'%s_title\' % state_var\n
-          translated_message = context.Localizer.erp5_ui.gettext(state.title, lang=lang).encode(\'utf-8\')\n
+          translated_message = context.Localizer.erp5_ui.gettext(state.title.decode(\'utf-8\'), lang=lang).encode(\'utf-8\')\n
           key = (lang, state_var_title, translated_message)\n
           if not translated_keys.has_key(key):\n
             translated_keys[key] = None # mark as translated\n




More information about the Erp5-report mailing list