[FIX] base: incorrect translation mark

This commit is contained in:
Xavier Morel 2014-10-10 17:27:32 +02:00 committed by Raphael Collet
parent 8ee2a89731
commit 4d4d4f248f
1 changed files with 6 additions and 4 deletions

View File

@ -466,10 +466,12 @@ class res_config_settings(osv.osv_memory, res_config_module_installation_mixin):
dep_name = [x.shortdesc for x in module_pool.browse( dep_name = [x.shortdesc for x in module_pool.browse(
cr, uid, dep_ids + module_ids, context=context)] cr, uid, dep_ids + module_ids, context=context)]
message = '\n'.join(dep_name) message = '\n'.join(dep_name)
return {'warning': {'title': _('Warning!'), return {
'message': 'warning': {
_('Disabling this option will also uninstall the following modules \n%s' % message) 'title': _('Warning!'),
}} 'message': _('Disabling this option will also uninstall the following modules \n%s') % message,
}
}
return {} return {}
def _get_classified_fields(self, cr, uid, context=None): def _get_classified_fields(self, cr, uid, context=None):