[Erp5-report] r26079 - /erp5/trunk/products/ERP5Type/Utils.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 17 15:54:36 CET 2009
Author: mame
Date: Tue Mar 17 15:54:30 2009
New Revision: 26079
URL: http://svn.erp5.org?rev=26079&view=rev
Log:
add space after commas'
Modified:
erp5/trunk/products/ERP5Type/Utils.py
Modified: erp5/trunk/products/ERP5Type/Utils.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Utils.py?rev=26079&r1=26078&r2=26079&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Utils.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Utils.py [utf8] Tue Mar 17 15:54:30 2009
@@ -278,10 +278,11 @@
return int2letter(d - 1) + int2letter(m)
#Get message id for translation
-def getMessageIdWithContext(msg_id,context,workflow_id):
- return '%s [%s in %s]' % (msg_id,context, workflow_id)
+def getMessageIdWithContext(msg_id, context, context_id):
+ return '%s [%s in %s]' % (msg_id,context,context_id)
+
#Get translation of msg id
-def getTranslationStringWithContext(self,msg_id, context, context_id):
+def getTranslationStringWithContext(self, msg_id, context, context_id):
portal = self.getPortalObject()
portal_workflow = portal.portal_workflow
localizer = portal.Localizer
More information about the Erp5-report
mailing list