diff options
| author | Christophe Matthieu <chm@odoo.com> | 2017-12-13 10:54:14 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2017-12-19 13:35:36 +0100 |
| commit | 7dfdfa0103872e39d6fde60373c56b9786461489 (patch) | |
| tree | 764a72934d803065e519ad29814a1930e3438ff6 /addons/web/static/src/js/framework | |
| parent | f3da958fa144ee1b112df166435a54c064a10812 (diff) | |
[FIX] web_editor: Avoid twice translated for static xml
Avoid texts to be translated twice if some modules have the translated
value corresponding to the English source term.
To reproduce: create a translation for static xml (comment 'openerp-web')
with 'Modifier' translated by 'Tadaaa'. In french context, the 'Edit'
button in forms is translated by 'Tadaaa'.
Don't translate template in web_editor if we are in the backend because
the translations of all the modules have already been loaded and applied.
Diffstat (limited to 'addons/web/static/src/js/framework')
0 files changed, 0 insertions, 0 deletions
