[IMP] minor changes
bzr revid: pga@tinyerp.com-20140327103014-3h8kbrdyn33jsepp
This commit is contained in:
parent
473243270b
commit
f75d77db4c
|
@ -26,6 +26,8 @@
|
|||
'description': """
|
||||
Website Gengo Translator
|
||||
========================
|
||||
|
||||
Translate you website in one click
|
||||
""",
|
||||
'author': 'OpenERP SA',
|
||||
'depends': [
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
var self = this;
|
||||
var gengo_langs = ["ar_SA","id_ID","nl_NL","fr_CA","pl_PL","zh_TW","sv_SE","ko_KR","pt_PT","en_US","ja_JP","es_ES","zh_CN","de_DE","fr_FR","fr_BE","ru_RU","it_IT","pt_BR"];
|
||||
if (gengo_langs.indexOf(website.get_context()['lang']) != -1){
|
||||
self.$('.gengo_post,.gengo_wait,.gengo_inprogress,.gengo_info').remove();
|
||||
self.$('button[data-action=save]')
|
||||
.after(openerp.qweb.render('website.ButtonGengoTranslator'));
|
||||
}
|
||||
|
|
|
@ -39,13 +39,15 @@
|
|||
</section>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="pull-left">
|
||||
<div>
|
||||
<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>
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue