summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-12-15 11:40:31 +0100
committerXavier Morel <xmo@openerp.com>2011-12-15 11:40:31 +0100
commitb5a797ba0af00cebcf26005bdcfda8151e39cb48 (patch)
treea56d3fdd2769dbafc86555a50c49ff93772d6eb8 /addons/web/static/src/js/views.js
parent68ff6cb98a8ccfae0179a712b4cce60a295c0b67 (diff)
[IMP] mark a bunch of dialog stuff as exportable (mostly buttons, but also dialog titles)
bzr revid: xmo@openerp.com-20111215104031-h2xjkf0zwf8x8zjk
Diffstat (limited to 'addons/web/static/src/js/views.js')
-rw-r--r--addons/web/static/src/js/views.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js
index f97a09dee94..36edec727a6 100644
--- a/addons/web/static/src/js/views.js
+++ b/addons/web/static/src/js/views.js
@@ -840,7 +840,7 @@ session.web.Sidebar = session.web.Widget.extend({
});
session.web.TranslateDialog = session.web.Dialog.extend({
- dialog_title: _t("Translations"),
+ dialog_title: {toString: function () { return _t("Translations"); }},
init: function(view) {
// TODO fme: should add the language to fields_view_get because between the fields view get
// and the moment the user opens the translation dialog, the user language could have been changed