Commit d9e0df0e authored by Nicolas Delaby's avatar Nicolas Delaby

Translate Action Title

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19572 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 780bd26d
......@@ -160,6 +160,7 @@ def getWorkflowActionDocumentList(self, **kw):
if selection_uid_list:
original_selection_params['uid'] = selection_uid_list
translate = self.Base_translateString
for listbox_selection in listbox:
if listbox_selection.get('workflow_action'):
selection_params = original_selection_params.copy()
......@@ -176,7 +177,7 @@ def getWorkflowActionDocumentList(self, **kw):
if ai['id'] == action]
if action_list:
document_list.append(doc.asContext(
workflow_action_title=action_list[0]['name'],
workflow_action_title=translate(action_list[0]['name']),
workflow_action=action,
workflow_id=workflow_id))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment