diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-08-17 12:20:40 +0200 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-08-17 12:37:25 +0200 |
| commit | 75aef0106ef2c52513ca0217c3c9bb8ed689a094 (patch) | |
| tree | 1c4766640dc6537d599dcd393a0a9e395fcd6f5d /addons/mail/static/src/js/models/threads/mailbox.js | |
| parent | 2d738f8563212fbdf10924468b1fcd865524e6d7 (diff) | |
[FIX] mail: misplaced translatable string
`_t()` must surround a static string in order to become a
translatable string.
Diffstat (limited to 'addons/mail/static/src/js/models/threads/mailbox.js')
| -rw-r--r-- | addons/mail/static/src/js/models/threads/mailbox.js | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } }, }); |
