Commit 4be4e774 authored by Jérome Perrin's avatar Jérome Perrin

transition title are using "transition" as context, not "action"

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37271 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 89051a95
......@@ -139,8 +139,10 @@ for workflow_item in workflow_item_list:\n
value = \'%s\' % value\n
elif key == \'actor\':\n
value = getActorName(value)\n
elif same_type(value, \'\') and key in (\'action\', \'state\'):\n
elif same_type(value, \'\') and key == \'state\':\n
value = getTranslationStringWithContext(context, value, key, workflow_id)\n
elif same_type(value, \'\') and key == \'action\':\n
value = getTranslationStringWithContext(context, value, \'transition\', workflow_id)\n
if value is marker:\n
value = \'Does not exist\'\n
o.setProperty(key, value)\n
......
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