[IMP] translations: if en and en_US translate the same term, don't use en's translation

bzr revid: xmo@openerp.com-20120208163948-g7m9dv2xz8fpds7d
This commit is contained in:
Xavier Morel 2012-02-08 17:39:48 +01:00
parent ae685f4af0
commit 84685f620a
1 changed files with 1 additions and 3 deletions

View File

@ -1208,9 +1208,7 @@ openerp.web.TranslationDataBase = openerp.web.Class.extend(/** @lends openerp.we
add_module_translation: function(mod) {
var self = this;
_.each(mod.messages, function(message) {
if (self.db[message.id] === undefined) {
self.db[message.id] = message.string;
}
self.db[message.id] = message.string;
});
},
build_translation_function: function() {