Commit 005fd345 authored by Mame Coumba Sall's avatar Mame Coumba Sall

2009-03-23 mame

modified to translate workflow transitions with msg_id with and without context.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26125 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9f7469b1
...@@ -131,7 +131,7 @@ for workflow_item in workflow_item_list:\n ...@@ -131,7 +131,7 @@ for workflow_item in workflow_item_list:\n
elif same_type(value, \'\') and key in (\'state\' ):\n elif same_type(value, \'\') and key in (\'state\' ):\n
value = getTranslationStringWithContext(context,value, key, workflow_id)\n value = getTranslationStringWithContext(context,value, key, workflow_id)\n
elif same_type(value, \'\') and key in ( \'action\'):\n elif same_type(value, \'\') and key in ( \'action\'):\n
value = context.Localizer.erp5_ui.gettext(value)\n value = getTranslationStringWithContext(context,value, key, workflow_id)\n
if value is marker:\n if value is marker:\n
value = \'Does not exist\'\n value = \'Does not exist\'\n
o.setProperty(key, value)\n o.setProperty(key, value)\n
......
1124 1125
\ No newline at end of file \ No newline at end of file
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