Mikolaj Antoszkiewicz
2007-12-13 13:24:26 UTC
Hello,
what are pros and cons for using such translate function mapping:
N_ = lambda msg, **kw: Message('erp5_ui', msg, **kw)
vs. this one:
T_ = context.Base_translateString
(or object.Base_translateString in workflow scripts)
?
Mikolaj
P.S. I've seen both used across ERP5 scripts and code...
what are pros and cons for using such translate function mapping:
N_ = lambda msg, **kw: Message('erp5_ui', msg, **kw)
vs. this one:
T_ = context.Base_translateString
(or object.Base_translateString in workflow scripts)
?
Mikolaj
P.S. I've seen both used across ERP5 scripts and code...