diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-01-09 19:59:27 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-01-09 19:59:27 +0100 |
| commit | d7c5bc02cc2b27442f0d4c8aca70266762be2a32 (patch) | |
| tree | 3a675d15b539a4474be38704405b318bebecdce7 /addons/website_gengo/static/src/xml/website.gengo.xml | |
| parent | 37b518f1749aff3d6ffb2246c32f2aa1e67d9067 (diff) | |
| parent | 8aa8548d8ab68feb13f3bde51c557db84877e809 (diff) | |
[MERGE] forward port branch saas-12.1 up to 8aa8548d8ab
Diffstat (limited to 'addons/website_gengo/static/src/xml/website.gengo.xml')
| -rw-r--r-- | addons/website_gengo/static/src/xml/website.gengo.xml | 60 |
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 305c61e6888..dc6819ac230 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"> - <h4 class="modal-title">Translate this page</h4> - <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"> |
