From d4977dd3bb932ea05a37b75d4712dab362bab686 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 18 Apr 2013 14:56:40 +0200 Subject: [PATCH] [FIX] missing translation mark in error message lp bug: https://launchpad.net/bugs/1125159 fixed bzr revid: xmo@openerp.com-20130418125640-87g9sdowig7w565d --- addons/web/static/src/js/chrome.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index ef045f07931..02228a96b06 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -249,7 +249,9 @@ instance.web.CrashManager = instance.web.Class.extend({ } // yes, exception handling is shitty if (error.code === 300 && error.data && error.data.type == "client_exception" && error.data.debug.match("SessionExpiredException")) { - this.show_warning({type: "Session Expired", data: { fault_code: "Your OpenERP session expired. Please refresh the current web page." }}); + this.show_warning({type: "Session Expired", data: { + fault_code: _t("Your OpenERP session expired. Please refresh the current web page.") + }}); return; } if (error.data.fault_code) {