Browse Source

[FIX] display title

pull/4/head
Guewen Baconnier 11 years ago
parent
commit
70ed057fd5
  1. 4
      web_translate_dialog/static/src/js/web_translate_dialog.js

4
web_translate_dialog/static/src/js/web_translate_dialog.js

@ -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…
Cancel
Save