summaryrefslogtreecommitdiff
path: root/addons/website_gengo/static/src
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-01-08 17:08:48 +0100
committerChristophe Simonis <chs@odoo.com>2019-01-08 17:08:48 +0100
commit3e4138deaa23b3631dc3fce33cd6d1b3be28ffbd (patch)
tree8f8b5557363374af71baeeea97d4565a7ca1cce1 /addons/website_gengo/static/src
parent232675c49b8cabdedce98b9b9c2ccc6d963b4d9a (diff)
parent2d824a5b7ad9e2d834bb39feb79c986eba28d6cc (diff)
[MERGE] forward port branch saas-11.3 up to 2d824a5b7ad
Diffstat (limited to 'addons/website_gengo/static/src')
-rw-r--r--addons/website_gengo/static/src/xml/website.gengo.xml60
1 files changed, 18 insertions, 42 deletions
diff --git a/addons/website_gengo/static/src/xml/website.gengo.xml b/addons/website_gengo/static/src/xml/website.gengo.xml
index 4d43d5398f6..3b78cbc7a51 100644
--- a/addons/website_gengo/static/src/xml/website.gengo.xml
+++ b/addons/website_gengo/static/src/xml/website.gengo.xml
@@ -6,51 +6,27 @@
<a role="button" class="btn btn-danger d-none gengo_inprogress disabled" href="#"> <i class="fa fa-clock-o"></i> Translation in Progress</a>
<a role="button" class="btn btn-link gengo_info" data-action="translation_gengo_info">Count Words</a>
</t>
-<t t-name="web_editor.TranslatorInfoDialog">
- <div role="dialog" class="modal fade" tabindex="-1">
- <div class="modal-dialog">
- <div class="modal-content">
- <header class="modal-header">
- <h2 class="modal-title">Translate this page</h2>
- <button title="Close" aria-label="Close" type="button" class="close" data-dismiss="modal">×</button>
- </header>
- <main class="modal-body">
- <section>
- <p>You are about to enter the translation mode.</p>
- <p>
- Here are the visuals used to help you translate efficiently:
- <ul class="oe_translate_examples">
- <li style="background:#ffffb6;">
- Content to translate or you can post them to <b><a href="http://gengo.com/" >Gengo</a></b> for translation.
- </li>
- <li data-oe-translation-state="inprogress">
- Translation in process (Gengo)
- </li>
- <li data-oe-translation-state="translated">
- Already translated content
- </li>
- </ul>
- </p>
- <p>
+<t t-extend="web_editor.TranslatorInfoDialog">
+ <t t-jquery=".oe_translate_examples" t-operation="replace">
+ <ul class="oe_translate_examples">
+ <li style="background:#ffffb6;">
+ Content to translate or you can post them to <b><a href="http://gengo.com/" >Gengo</a></b> for translation.
+ </li>
+ <li data-oe-translation-state="inprogress">
+ Translation in process (Gengo)
+ </li>
+ <li data-oe-translation-state="translated">
+ Already translated content
+ </li>
+ </ul>
+ </t>
+ <t t-jquery="p:last" t-operation="replace">
+ <p> <!-- Keep wrong indent for translation -->
In this mode, you can translate texts or post texts to Gengo for translation.
To change the structure of the page, you must edit the
master page.
- </p>
- </section>
- </main>
- <footer class="modal-footer">
- <div>
- <input type="checkbox" name="do_not_show"/>
- Do not show this dialog later.
- </div>
- <div>
- <button type="button" data-action="activate" class="btn btn-primary">Ok</button>
- <button type="button" class="btn btn-secondary" data-action="discard" data-dismiss="modal">Cancel</button>
- </div>
- </footer>
- </div>
- </div>
- </div>
+ </p>
+ </t>
</t>
<t t-name="website.GengoTranslatorPostDialog">