diff options
| author | Raphael Collet <rco@openerp.com> | 2017-01-02 15:16:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-02 15:16:18 +0100 |
| commit | 45352512a842e4193f09d11cf8517e3844eba4d1 (patch) | |
| tree | edc3624b41482cf7816cff92e19bf9a1e77d58d9 /addons/web_editor/static/src/js/widgets.js | |
| parent | 47536a3f7d53f8120c78003719294fa95e69ecd9 (diff) | |
[REF] translate: rewrite XML translator to handle namespaces gracefully (#14816)
The class `XMLTranslator` is replaced by a function `translate_xml_node` that
takes an XML node and returns the translated XML node. The translation process
is done by a recursive function on XML nodes that returns the untranslated node
if it can be translated inline, or the translated node otherwise.
Diffstat (limited to 'addons/web_editor/static/src/js/widgets.js')
0 files changed, 0 insertions, 0 deletions
