[Erp5-report] r14726 - /erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/porta...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jun 7 09:46:50 CEST 2007
Author: aurel
Date: Thu Jun 7 09:46:49 2007
New Revision: 14726
URL: http://svn.erp5.org?rev=14726&view=rev
Log:
we must keep state_id in key to store message to translate
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=14726&r1=14725&r2=14726&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 Thu Jun 7 09:46:49 2007
@@ -98,7 +98,7 @@
if state.title != \'\' :\n
state_var_title = \'%s_title\' % state_var\n
translated_message = context.Localizer.erp5_ui.gettext(state.title.decode(\'utf-8\'), lang=lang).encode(\'utf-8\')\n
- key = (lang, state_var_title, state.title)\n
+ key = (lang, state_var_title, state_id, state.title)\n
if not translated_keys.has_key(key):\n
translated_keys[key] = None # mark as translated\n
obj = newTempBase(context, \'temp_translation_%d\' % i,\n
More information about the Erp5-report
mailing list