[Erp5-report] r34069 nicolas - /erp5/trunk/products/ERP5/tests/testTranslation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 24 18:54:32 CET 2010


Author: nicolas
Date: Wed Mar 24 18:54:31 2010
New Revision: 34069

URL: http://svn.erp5.org?rev=34069&view=rev
Log:
normalize indentation and cleanup extra spaces

Modified:
    erp5/trunk/products/ERP5/tests/testTranslation.py

Modified: erp5/trunk/products/ERP5/tests/testTranslation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testTranslation.py?rev=34069&r1=34068&r2=34069&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testTranslation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testTranslation.py [utf8] Wed Mar 24 18:54:31 2010
@@ -133,7 +133,7 @@
         for state in workflow.states.items():
           state_title = state[1].title
           state_id = state[0]
-          msgid = getMessageIdWithContext(state_title, 'state', workflow_id)
+	  msgid = '%s [state in %s]' % (state_title, workflow_id)
           translated_state_title = self.getTranslation(msgid)
 
           if translated_state_title is not None:




More information about the Erp5-report mailing list