Commit 1ef3a638 authored by Nicolas Delaby's avatar Nicolas Delaby

revert r34069, sorry


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34071 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 48676b08
...@@ -133,7 +133,7 @@ class TestWorkflowStateTitleTranslation(ERP5TypeTestCase): ...@@ -133,7 +133,7 @@ class TestWorkflowStateTitleTranslation(ERP5TypeTestCase):
for state in workflow.states.items(): for state in workflow.states.items():
state_title = state[1].title state_title = state[1].title
state_id = state[0] state_id = state[0]
msgid = '%s [state in %s]' % (state_title, workflow_id) msgid = getMessageIdWithContext(state_title, 'state', workflow_id)
translated_state_title = self.getTranslation(msgid) translated_state_title = self.getTranslation(msgid)
if translated_state_title is not None: if translated_state_title is not None:
......
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