diff options
| author | Antony Lesuisse <al@openerp.com> | 2014-01-31 01:51:57 +0100 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2014-01-31 01:51:57 +0100 |
| commit | 4b30f1fcbd8701f82dbbe4e5c8386ee432b063ac (patch) | |
| tree | 93b17a03b45927c20fbb045cda8c8aa09d853409 /addons/website/static/src/xml/website.translator.xml | |
| parent | ba2d4c90307661a79d78e6ce3b274b76b4c62717 (diff) | |
| parent | 1c283ddf242f0681c1d060f3b8658efa3fcaa0a8 (diff) | |
[MERGE] trunk-website-al
bzr revid: al@openerp.com-20140131005157-jkf8hz6fh2buml2c
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> |
