diff options
| author | Martin Trigaux <mat@odoo.com> | 2015-01-15 15:37:16 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-01-15 15:37:31 +0100 |
| commit | fc9ce0bcff3f211dbb722a09a65af2a364c25acf (patch) | |
| tree | 5286cec11da76b6a23fa2a43facc6e190bf924c2 /addons/web/static/src/js/openerpframework.js | |
| parent | 8351c6c5edfa8327eda3169548f67c1b9c72a1b8 (diff) | |
[FIX] website_forum: description not translated
Make the field description on a forum translatable and add it in the forum view. opw 619786
Diffstat (limited to 'addons/web/static/src/js/openerpframework.js')
| -rw-r--r-- | addons/web/static/src/js/openerpframework.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/web/static/src/js/openerpframework.js b/addons/web/static/src/js/openerpframework.js index 007edae7220..8b674afb0f0 100644 --- a/addons/web/static/src/js/openerpframework.js +++ b/addons/web/static/src/js/openerpframework.js @@ -1272,6 +1272,9 @@ openerp.TranslationDataBase = openerp.Class.extend(/** @lends instance.Translati add_module_translation: function(mod) { var self = this; _.each(mod.messages, function(message) { + if (message.id === 'Create a product') { + debugger; + } self.db[message.id] = message.string; }); }, @@ -1285,6 +1288,9 @@ openerp.TranslationDataBase = openerp.Class.extend(/** @lends instance.Translati return fcnt; }, get: function(key) { + if (key === 'Create a product') { + debugger; + } return this.db[key]; }, /** |
