summaryrefslogtreecommitdiff
path: root/bin/addons/base/module/module.py
diff options
context:
space:
mode:
authorChristophe Simonis <christophe@taupe>2009-01-30 00:20:17 +0100
committerChristophe Simonis <christophe@taupe>2009-01-30 00:20:17 +0100
commit5fb02b1607a866ea8ba1b9a0d324b26cbfecb9cf (patch)
tree172737427f60ce7f8f48902d0d3aaa99a5e7d70a /bin/addons/base/module/module.py
parent60ea76e4c5b620b53177fa4404b9c3bd90ce2b9c (diff)
[FIX] avoid a crash when resetting the local with python 2.4 (lp:322432)
[IMP] do not rewrite locale information every time [IMP] all message about translations are logger into the 'i18n' logger [FIX] the code and the name of the languages must be unique lp bug: https://launchpad.net/bugs/322432 fixed bzr revid: christophe@taupe-20090129232017-7lvamen2b3s1waxp
Diffstat (limited to 'bin/addons/base/module/module.py')
-rw-r--r--bin/addons/base/module/module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/addons/base/module/module.py b/bin/addons/base/module/module.py
index 9eb5e46e575..8176565a871 100644
--- a/bin/addons/base/module/module.py
+++ b/bin/addons/base/module/module.py
@@ -469,7 +469,7 @@ class module(osv.osv):
for lang in filter_lang:
f = os.path.join(modpath, 'i18n', lang + '.po')
if os.path.exists(f):
- logger.notifyChannel("init", netsvc.LOG_INFO, 'module %s: loading translation file for language %s' % (mod.name, lang))
+ logger.notifyChannel("i18n", netsvc.LOG_INFO, 'module %s: loading translation file for language %s' % (mod.name, lang))
tools.trans_load(cr.dbname, f, lang, verbose=False)