2014-03-18 13:30:36 +00:00
<?xml version="1.0" encoding="utf-8"?>
<templates id= "template" xml:space= "preserve" >
<t t-name= "website.ButtonGengoTranslator" >
2014-03-24 20:35:40 +00:00
<a class= "btn btn-danger gengo_post" data-action= "translation_gengo_post" href= "#" > Auto Translate</a>
<a class= "btn btn-danger hidden gengo_wait disabled" href= "#" > <i class= "fa fa-spinner fa-spin" > </i> Wait</a>
<a class= "btn btn-danger hidden gengo_inprogress disabled" href= "#" > <i class= "fa fa-clock-o" > </i> Translation in Progress</a>
<a class= "btn btn-link gengo_info" data-action= "translation_gengo_info" > Count Words</a>
2014-03-18 13:30:36 +00:00
</t>
2014-03-24 10:36:31 +00:00
<t t-name= "website.TranslatorDialog" >
2014-03-18 13:30:36 +00:00
<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>
2014-03-24 10:36:31 +00:00
<h2 class= "modal-title" > Translate this page</h2>
2014-03-18 13:30:36 +00:00
</div>
<div class= "modal-body" >
<section >
2014-03-24 10:36:31 +00:00
<p > You are about to enter the translation mode.</p>
2014-03-18 13:30:36 +00:00
<p >
Here are the visuals used to help you translate efficiently:
<ul class= "oe_translate_examples" >
2014-03-19 13:31:21 +00:00
<li style= "background:#ffffb6;" >
2014-03-24 10:36:31 +00:00
Content to translate or you can post them to <b > <a href= "http://gengo.com/" > Gengo</a> </b> for translation.
2014-03-18 13:30:36 +00:00
</li>
2014-03-19 13:31:21 +00:00
<li class= "oe_translatable_inprogress" >
2014-03-24 10:36:31 +00:00
Translation in Process (Gengo)
2014-03-19 13:31:21 +00:00
</li>
2014-03-18 13:30:36 +00:00
<li class= "oe_translatable_text" >
Already Translated content
</li>
</ul>
</p>
<p >
2014-03-24 10:36:31 +00:00
In this mode, you can translate texts or post texts to Gengo for translation.
2014-03-18 13:30:36 +00:00
To change the structure of the page, you must edit the
master page.
</p>
</section>
</div>
<div class= "modal-footer" >
2014-03-27 10:30:14 +00:00
<div >
2014-03-21 07:14:38 +00:00
<input type= "checkbox" name= "do_not_show" />
Do not show this dialog later.
</div>
2014-03-27 10:30:14 +00:00
<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>
2014-03-18 13:30:36 +00:00
</div>
</div>
</div>
</div>
</t>
<t t-name= "website.GengoTranslatorPostDialog" >
<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" > Select Gengo Translation Service Level</h2>
</div>
<div class= "modal-body" >
<section >
<select class= "form-control" required= "required" autofocus= "autofocus" >
2014-03-25 14:13:08 +00:00
<option value= "machine" > By Machine (Free)</option>
<option value= "standard" > Standard - $ <t t-esc= "(widget.new_words * 0.05).toFixed(2)" > </t> </option>
<option value= "pro" > Pro - $ <t t-esc= "(widget.new_words * 0.10).toFixed(2)" > </t> </option>
<option value= "ultra" > Ultra - $ <t t-esc= "(widget.new_words * 0.15).toFixed(2)" > </t> </option>
2014-03-18 13:30:36 +00:00
</select>
</section>
</div>
<div class= "modal-footer" >
<button type= "button" data-action= "service_level" class= "btn btn-primary" > Post</button>
or
<a data-action= "discard" data-dismiss= "modal" href= "#" > Cancel</a>
</div>
</div>
</div>
</div>
</t>
2014-03-19 13:31:21 +00:00
<t t-name= "website.GengoTranslatorStatisticDialog" >
<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>
2014-03-20 07:10:28 +00:00
<h2 class= "modal-title" > Translator statistics for this page</h2>
2014-03-19 13:31:21 +00:00
</div>
<div class= "modal-body" >
2014-03-20 07:10:28 +00:00
<b >
<div class= "text-muted mb16" > <i class= "fa fa-search-plus" > </i> <t t-esc= "widget.new_words" > </t> new words found on this page.</div>
<h4 > <i class= "fa fa-dashboard" > </i> Gengo Statistics <a href= "https://gengo.com/c/dashboard" class= "pull-right" target= "new" > Gengo Dashboard</a> </h4>
<hr class= "mt8" />
<div class= "text-info mb8" > <i class= "fa fa-align-left" > </i> Words posted for translate <t t-esc= "widget.total" > </t> </div>
2014-03-19 13:31:21 +00:00
<div class= "text-warning mb8" > <i class= "fa fa-cogs" > </i> Words in progress <t t-esc= "widget.inprogess" > </t> </div>
<div class= "text-success mb8" > <i class= "fa fa-check" > </i> Translated words <t t-esc= "widget.done" > </t> </div>
2014-03-20 07:10:28 +00:00
</b>
2014-03-19 13:31:21 +00:00
</div>
<div class= "modal-footer" >
<a data-action= "discard" data-dismiss= "modal" href= "#" > Close</a>
</div>
</div>
</div>
</div>
</t>
2014-03-25 14:13:08 +00:00
<t t-name= "website.GengoApiConfigDialog" >
<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" > Gengo API key not set</h2>
</div>
<div class= "modal-body" >
<b > <h3 > Steps for configure a Gengo </h3>
<div class= "mb16" > 1. Go To your <b > <a target= "new" href= "https://gengo.com/account/api_settings/" > gengo account</a> </b> and generate API Keys.</div>
2014-03-26 07:10:57 +00:00
<div class= "mb16" > 2. Then copy generate keys in <a target= "new" t-att-href= "'/web#return_label=Website&model=res.company&id='+widget.company_id" > Your company data</a> </div>
2014-03-25 14:13:08 +00:00
</b>
</div>
<div class= "modal-footer" >
<a data-action= "discard" data-dismiss= "modal" href= "#" > Close</a>
</div>
</div>
</div>
</div>
</t>
2014-03-19 13:31:21 +00:00
2014-03-24 20:35:40 +00:00
</templates>