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) {