Commit 9fc1b7af authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

worklist translation with a context is not yet supported.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26432 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6ad9f948
...@@ -187,10 +187,6 @@ for i in context.portal_workflow.objectValues():\n ...@@ -187,10 +187,6 @@ for i in context.portal_workflow.objectValues():\n
# also use transition title as msg_id for compatibility\n # also use transition title as msg_id for compatibility\n
add_message(t.title, portal_url.getRelativeContentURL(t))\n add_message(t.title, portal_url.getRelativeContentURL(t))\n
for worklist in i.worklists.objectValues():\n for worklist in i.worklists.objectValues():\n
#adding a context in msg_id for more precise translation\n
msg_id = getMessageIdWithContext(worklist.actbox_name,\'worklist\',i.id)\n
add_message(msg_id, portal_url.getRelativeContentURL(worklist))\n
# also use worklist action box name as msg_id for compatibility\n
add_message(worklist.actbox_name, portal_url.getRelativeContentURL(worklist))\n add_message(worklist.actbox_name, portal_url.getRelativeContentURL(worklist))\n
\n \n
\n \n
......
454 455
\ 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