summaryrefslogtreecommitdiff
path: root/bin/addons/base/module/wizard/base_module_upgrade.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/base/module/wizard/base_module_upgrade.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/base/module/wizard/base_module_upgrade.py')
-rw-r--r--bin/addons/base/module/wizard/base_module_upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/addons/base/module/wizard/base_module_upgrade.py b/bin/addons/base/module/wizard/base_module_upgrade.py
index 4db4028bdb0..b791aeea459 100644
--- a/bin/addons/base/module/wizard/base_module_upgrade.py
+++ b/bin/addons/base/module/wizard/base_module_upgrade.py
@@ -93,7 +93,7 @@ class base_module_upgrade(osv.osv_memory):
if dep_mod.state in ('unknown','uninstalled'):
unmet_packages.append(dep_mod.name)
if len(unmet_packages):
- raise osv.except_osv('Unmet dependency !', 'Following modules are uninstalled or unknown. \n\n'+'\n'.join(unmet_packages))
+ raise osv.except_osv(_('Unmet dependency !'), _('Following modules are uninstalled or unknown. \n\n'+'\n'.join(unmet_packages)))
mod_obj.download(cr, uid, ids, context=context)
cr.commit()
_, pool = pooler.restart_pool(cr.dbname, update_module=True)