diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-11-29 15:01:09 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-11-29 15:01:09 +0100 |
| commit | 0b0cfff0630f1453c32fad56f19928fa335bf764 (patch) | |
| tree | 5af1ecfba62fe484dc2df8076f7445bbe03a3e00 /addons/web/static/src/js/view_list_editable.js | |
| parent | 184593003b3aec7d40660ae13002f4a4a205fa12 (diff) | |
| parent | 83b7823f257b17403a11908c9b359244635cf0b7 (diff) | |
[MERGE] missing translation marks, courtesy of Csaba TOTH
lp bug: https://launchpad.net/bugs/1084306 fixed
bzr revid: xmo@openerp.com-20121129140109-bwx1njhyqfenc2d3
Diffstat (limited to 'addons/web/static/src/js/view_list_editable.js')
| -rw-r--r-- | addons/web/static/src/js/view_list_editable.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/web/static/src/js/view_list_editable.js b/addons/web/static/src/js/view_list_editable.js index 79b91a41b3c..83a7efa6cd0 100644 --- a/addons/web/static/src/js/view_list_editable.js +++ b/addons/web/static/src/js/view_list_editable.js @@ -3,6 +3,8 @@ * @namespace */ openerp.web.list_editable = function (instance) { + var _t = instance.web._t; + // editability status of list rows instance.web.ListView.prototype.defaults.editable = null; @@ -776,7 +778,7 @@ openerp.web.list_editable = function (instance) { cancel: function (force) { if (!(force || this.form.can_be_discarded())) { return $.Deferred().reject({ - message: "The form's data can not be discarded"}).promise(); + message: _t("The form's data can not be discarded")}).promise(); } var record = this.record; this.record = null; |
