[FIX] missing translation mark in error message

lp bug: https://launchpad.net/bugs/1125159 fixed

bzr revid: xmo@openerp.com-20130418125640-87g9sdowig7w565d
This commit is contained in:
Xavier Morel
2013-04-18 14:56:40 +02:00
parent dc24794855
commit d4977dd3bb
+3 -1
View File
@@ -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) {