From 1ef3a63827097814dda729f950794fc23544c7fd Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Wed, 24 Mar 2010 17:59:46 +0000 Subject: [PATCH] revert r34069, sorry git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34071 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testTranslation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/tests/testTranslation.py b/product/ERP5/tests/testTranslation.py index 909fac79b5..f4837962b9 100644 --- a/product/ERP5/tests/testTranslation.py +++ b/product/ERP5/tests/testTranslation.py @@ -133,7 +133,7 @@ class TestWorkflowStateTitleTranslation(ERP5TypeTestCase): for state in workflow.states.items(): state_title = state[1].title 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) if translated_state_title is not None: -- 2.30.9