[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:
parent
ae685f4af0
commit
84685f620a
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue