[FIX] mail: misplaced translatable string
`_t()` must surround a static string in order to become a translatable string.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user