[FIX] mail: misplaced translatable string

`_t()` must surround a static string in order to become a
translatable string.
This commit is contained in:
Alexandre Kühn
2018-08-17 12:37:25 +02:00
parent 2d738f8563
commit 75aef0106e
@@ -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));
}
},
});