diff options
| author | Atul Patel (OpenERP) <atp@tinyerp.com> | 2014-02-18 11:26:18 +0530 |
|---|---|---|
| committer | Atul Patel (OpenERP) <atp@tinyerp.com> | 2014-02-18 11:26:18 +0530 |
| commit | 33b99c8a0737e08e6a243e41bb455d3ab7e6c851 (patch) | |
| tree | a1db52bfbeecf0c6fd9096604b7ec4540bb04197 /addons/website/static/src/xml/website.translator.xml | |
| parent | caa3510ea434e10c32dcbc134f9c74b2b9f18b2a (diff) | |
| parent | aa0eac1257b97c1be693e8a804fec6ecbf2bb22f (diff) | |
[MERGE]: Merged with addons
bzr revid: atp@tinyerp.com-20140218055618-r36w29vat7zig9ar
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> |
