diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-01-19 11:11:02 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-01-19 15:10:23 +0100 |
| commit | 205037736f6073940857f5632bf15d1c4e356b8b (patch) | |
| tree | daab1b6528e54ce774dfaebd977d6c0d9ccd7d1c /addons/web/static/src/js/widgets/debug_manager.js | |
| parent | b01e24b6aff606ce9f831512d9e6aa24ce71aad8 (diff) | |
[FIX] web_kanban, *: missing translated term
The progress bar in the web kanban module uses the option 'title' in
order to display the title of the gauge. However, this option is not
taken into account when it comes to translation, because the translation
of such option is not accessible at the JS level.
The fix defines the title of the gauge as the parameter `title` of the
widget. Indeed, such a parameter is in the list of parameters translated
and made accessible in the JS layer (see variable TRANSLATED_ATTRS in
translate.py). With such a modification, the translation is accessible
on the node.
opw-666577
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
0 files changed, 0 insertions, 0 deletions
