summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2013-09-26 18:53:24 +0200
committerFabien Meghazi <fme@openerp.com>2013-09-26 18:53:24 +0200
commite7d55014a4b75c5403fe3d1e9b4516415d79afbe (patch)
tree22aec062c88d7f47470e711ab27704b26fbdda1a /addons/website/static/src/xml
parentaae0a815d2d087ef0ce2b16311268ab30a6a64a4 (diff)
parent7b28f77b1ee9b417512bc2d913e1aeacbc92437c (diff)
[MERGE] multilang
bzr revid: fme@openerp.com-20130926165324-2jfo9s8q3u4teor1
Diffstat (limited to 'addons/website/static/src/xml')
-rw-r--r--addons/website/static/src/xml/website.translator.xml53
-rw-r--r--addons/website/static/src/xml/website.xml1
2 files changed, 53 insertions, 1 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..f35cf583da9
--- /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.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>
+ In this mode you can not change the structure of the document, you can only translate text.
+ </p>
+ <p>
+ Here are the visuals used in order to help you in your translation flow:
+ <ul class="oe_translate_examples">
+ <li class="oe_translatable_text">
+ Normal translatable content
+ </li>
+ <li class="oe_translatable_field">
+ ERP translatable object data
+ </li>
+ <li class="oe_translatable_todo">
+ Translation TODO
+ </li>
+ </ul>
+ </p>
+ </section>
+ <hr/>
+ <section class="row">
+ <div class="col-md-6">
+ <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 class="col-md-6">
+ <label>
+ <input type="checkbox" name="do_not_show"/>
+ Do not show this dialog later.
+ </label>
+ </div>
+ </section>
+ </div>
+ </div>
+ </div>
+ </div>
+</t>
+</templates>
diff --git a/addons/website/static/src/xml/website.xml b/addons/website/static/src/xml/website.xml
index 04c2403eda2..c2f7abe6ed2 100644
--- a/addons/website/static/src/xml/website.xml
+++ b/addons/website/static/src/xml/website.xml
@@ -22,7 +22,6 @@
<li><a data-action="show-mobile-preview" href="#"><span title="Mobile preview" class="icon-mobile-phone"/></a></li>
<li class="divider-vertical"></li>
<li><a data-action="promote-current-page" href="#"><span title="Promote page on the web">Promote</span></a></li>
- <li><a href="#">Translate</a></li>
<li class="dropdown">
<a id="customize-menu-button" class="dropdown-toggle" data-toggle="dropdown" href="#">Customize <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu" id="customize-menu">