summaryrefslogtreecommitdiff
path: root/bin/addons/__init__.py
diff options
context:
space:
mode:
authorrpa (Open ERP) <rpa@tinyerp.com>2010-10-27 19:06:01 +0530
committerrpa (Open ERP) <rpa@tinyerp.com>2010-10-27 19:06:01 +0530
commit7c5dce1072bbb0d24b08bbdc9852c30a06c930f0 (patch)
treec42a21aadb890d3ac19d699f2b03ea448918cdff /bin/addons/__init__.py
parent993c9884c1e8dde8d3386a20a5556a9330ac719d (diff)
[FIX]: Fixed translation of warning messages
lp bug: https://launchpad.net/bugs/660494 fixed bzr revid: rpa@tinyerp.com-20101027133601-caqy1wdk9pduxyem
Diffstat (limited to 'bin/addons/__init__.py')
-rw-r--r--bin/addons/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/addons/__init__.py b/bin/addons/__init__.py
index 0b5c6dc09c5..5476dc198f3 100644
--- a/bin/addons/__init__.py
+++ b/bin/addons/__init__.py
@@ -30,7 +30,7 @@ import tools
import tools.osutil
from tools.safe_eval import safe_eval as eval
import pooler
-
+from tools.translate import _
import netsvc
@@ -806,7 +806,7 @@ def load_modules(db, force_demo=False, status=None, update_module=False):
graph = create_graph(cr, ['base'], force)
if not graph:
logger.notifyChannel('init', netsvc.LOG_CRITICAL, 'module base cannot be loaded! (hint: verify addons-path)')
- raise osv.osv.except_osv('Could not load base module', 'module base cannot be loaded! (hint: verify addons-path)')
+ raise osv.osv.except_osv(_('Could not load base module'), _('module base cannot be loaded! (hint: verify addons-path)'))
has_updates = load_module_graph(cr, graph, status, perform_checks=(not update_module), report=report)
if update_module: