diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-02-08 17:39:48 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-02-08 17:39:48 +0100 |
| commit | 84685f620a49e2e9df395cfdcc3f597c3cdc9b25 (patch) | |
| tree | 405cfcbffdf5569b4bd63178933be10887c344f0 /addons/web/static/src/js/core.js | |
| parent | ae685f4af0f7eed422ff6af31ee2e3a371b8a2af (diff) | |
[IMP] translations: if en and en_US translate the same term, don't use en's translation
bzr revid: xmo@openerp.com-20120208163948-g7m9dv2xz8fpds7d
Diffstat (limited to 'addons/web/static/src/js/core.js')
| -rw-r--r-- | addons/web/static/src/js/core.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/web/static/src/js/core.js b/addons/web/static/src/js/core.js index 887d57bd747..3c5f1ee1e75 100644 --- a/addons/web/static/src/js/core.js +++ b/addons/web/static/src/js/core.js @@ -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() { |
