diff options
Diffstat (limited to 'addons/website/static/src/xml/website.translator.xml')
| -rw-r--r-- | addons/website/static/src/xml/website.translator.xml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/addons/website/static/src/xml/website.translator.xml b/addons/website/static/src/xml/website.translator.xml new file mode 100644 index 00000000000..d1d9ab14a39 --- /dev/null +++ b/addons/website/static/src/xml/website.translator.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<templates id="template" xml:space="preserve"> +<t t-name="website.TranslatorAdditionalButtons"> + <span class="oe_translate_or">or</span> + <a class="btn btn-link" data-action="edit_master" href="#">Edit Master</a> +</t> +<t t-name="website.TranslatorDialog"> + <div class="modal fade oe_website_translator" tabindex="-1" role="dialog"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button title="Close" type="button" class="close" data-dismiss="modal">×</button> + <h2 class="modal-title">Translate this page</h2> + </div> + <div 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 class="oe_translatable_todo"> + Content to translate + </li> + <li class="oe_translatable_text"> + Translated content + </li> + </ul> + </p> + <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> + </section> + </div> + <div class="modal-footer"> + <div class="pull-left"> + <input type="checkbox" name="do_not_show"/> + Do not show this dialog later. + </div> + <button type="button" data-action="activate" class="btn btn-primary">Ok</button> + or + <a data-action="discard" data-dismiss="modal" href="#">Cancel</a> + </div> + </div> + </div> + </div> +</t> +</templates> |
