diff options
| author | tsabi <> | 2012-11-29 01:22:00 +0100 |
|---|---|---|
| committer | tsabi <> | 2012-11-29 01:22:00 +0100 |
| commit | 92e87f7e6fa762af05b03a6a82d1e135f78172cb (patch) | |
| tree | 00bae01aaccf1e159ba254064542bd58efad85c8 /addons/web/static/src/js/view_list_editable.js | |
| parent | 93091dad79c4df972c8686b2fda82547604e8cd5 (diff) | |
Mark strings to be translated.
Maybe some missed, but most of them marked.
bzr revid: tsabi-20121129002200-20tppzvh0ap5tfwe
Diffstat (limited to 'addons/web/static/src/js/view_list_editable.js')
| -rw-r--r-- | addons/web/static/src/js/view_list_editable.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/addons/web/static/src/js/view_list_editable.js b/addons/web/static/src/js/view_list_editable.js index 7fe6a8ec42b..e3f35e2068c 100644 --- a/addons/web/static/src/js/view_list_editable.js +++ b/addons/web/static/src/js/view_list_editable.js @@ -3,7 +3,9 @@ * @namespace */ openerp.web.list_editable = function (instance) { - // editability status of list rows + var _t = instance.web._t; + + // editability status of list rows instance.web.ListView.prototype.defaults.editable = null; // TODO: not sure second @lends on existing item is correct, to check @@ -775,7 +777,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; |
