[Erp5-report] r23490 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Sep 8 23:14:52 CEST 2008
Author: yusei
Date: Mon Sep 8 23:14:50 2008
New Revision: 23490
URL: http://svn.erp5.org?rev=23490&view=rev
Log:
Use variable name Base_translateString instead of translate.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getPossibleWorkflowActionItemList.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getPossibleWorkflowActionItemList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getPossibleWorkflowActionItemList.xml?rev=23490&r1=23489&r2=23490&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getPossibleWorkflowActionItemList.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getPossibleWorkflowActionItemList.xml Mon Sep 8 23:14:50 2008
@@ -65,14 +65,15 @@
</item>
<item>
<key> <string>_body</string> </key>
- <value> <string>translate = context.Base_translateString\n
+ <value> <string>Base_translateString = context.Base_translateString\n
item_list = [(\'\', \'\')]\n
for action in context.portal_actions.listFilteredActionsFor(brain).get(\'workflow\', []):\n
transition = action.get(\'transition\', None)\n
if transition is not None:\n
workflow_id = action[\'transition\'].aq_parent.aq_parent.getId()\n
if workflow_id == brain.workflow_id:\n
- item_list.append((translate(action[\'title\']), \'%s/%s\' % (workflow_id, action[\'id\'])))\n
+ item_list.append((Base_translateString(action[\'title\']),\n
+ \'%s/%s\' % (workflow_id, action[\'id\'])))\n
\n
return item_list\n
</string> </value>
@@ -135,7 +136,7 @@
<string>kw</string>
<string>_getattr_</string>
<string>context</string>
- <string>translate</string>
+ <string>Base_translateString</string>
<string>item_list</string>
<string>_getiter_</string>
<string>action</string>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=23490&r1=23489&r2=23490&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Mon Sep 8 23:14:50 2008
@@ -1,1 +1,1 @@
-955
+956
More information about the Erp5-report
mailing list