mirror of https://github.com/OCA/web.git
[FIX] display title
parent
d0c7449560
commit
b36079beb7
|
@ -32,10 +32,10 @@ openerp.web_translate_dialog = function (instance) {
|
||||||
|
|
||||||
instance.web_translate_dialog.TranslateDialog = instance.web.Dialog.extend({
|
instance.web_translate_dialog.TranslateDialog = instance.web.Dialog.extend({
|
||||||
template: "TranslateDialog",
|
template: "TranslateDialog",
|
||||||
dialog_title: {toString: function () { return _t("Translations"); }},
|
|
||||||
init: function(parent, options, content) {
|
init: function(parent, options, content) {
|
||||||
this._super(parent,
|
this._super(parent,
|
||||||
{width: '90%',
|
{title: _t("Translations"),
|
||||||
|
width: '90%',
|
||||||
height: '80%'},
|
height: '80%'},
|
||||||
content);
|
content);
|
||||||
this.view_language = this.session.user_context.lang;
|
this.view_language = this.session.user_context.lang;
|
||||||
|
|
Loading…
Reference in New Issue