From 75aef0106ef2c52513ca0217c3c9bb8ed689a094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20K=C3=BChn?= Date: Fri, 17 Aug 2018 12:20:40 +0200 Subject: [PATCH] [FIX] mail: misplaced translatable string `_t()` must surround a static string in order to become a translatable string. --- addons/mail/static/src/js/models/threads/mailbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/src/js/models/threads/mailbox.js b/addons/mail/static/src/js/models/threads/mailbox.js index 172b5af9e3b..9523ad46517 100644 --- a/addons/mail/static/src/js/models/threads/mailbox.js +++ b/addons/mail/static/src/js/models/threads/mailbox.js @@ -204,7 +204,7 @@ var Mailbox = SearchableThread.extend({ } else if (this._id === 'mailbox_moderation') { return [['need_moderation', '=', true]]; } else { - throw _t(_.str("Missing domain for mailbox with ID '%s'", this._id)); + throw (_.str(_t("Missing domain for mailbox with ID '%s'"), this._id)); } }, });