[FIX] display title

pull/1801/head
Guewen Baconnier 2013-12-09 08:23:24 +01:00 committed by fshah
parent d0c7449560
commit b36079beb7
1 changed files with 2 additions and 2 deletions

View File

@ -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;