summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2018-12-28 17:49:21 +0000
committerChristophe Matthieu <chm@odoo.com>2019-01-17 08:40:21 +0000
commitde444335b7da30a2ab3a4c5b92c9731a023f3f07 (patch)
tree40ceda25aa7157ae0923cf567a448d685798e911 /addons/website/static/src/xml
parent17c6d00531c55d0c392ddb6916bf1957bc490c1c (diff)
[REF] web_editor,*: Move and rename files to prepare refactoring
The refactoring of the wysiwyg editor and 'html' field allows us to move some of the code that was in web_editor but only used in website or in mass_mailing. Some parts are still in web_editor but will be moved at a later time.
Diffstat (limited to 'addons/website/static/src/xml')
-rw-r--r--addons/website/static/src/xml/translator.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/addons/website/static/src/xml/translator.xml b/addons/website/static/src/xml/translator.xml
new file mode 100644
index 00000000000..dbd6c8287f6
--- /dev/null
+++ b/addons/website/static/src/xml/translator.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<templates id="template" xml:space="preserve">
+<div t-name="web_editor.TranslatorInfoDialog">
+ <p>You are about to enter the translation mode.</p>
+ <p>Here are the visuals used to help you translate efficiently:</p>
+ <ul class="oe_translate_examples">
+ <li data-oe-translation-state="to_translate">Content to translate</li>
+ <li data-oe-translation-state="translated">Translated content</li>
+ </ul>
+ <p>
+ In this mode, you can only translate texts. To change the structure of the page, you must edit the master page.
+ Each modification on the master page is automatically applied to all translated versions.
+ </p>
+</div>
+</templates>