diff --git a/website/common/script/ops/sell.js b/website/common/script/ops/sell.js index ac0c4d4e75..2973c79499 100644 --- a/website/common/script/ops/sell.js +++ b/website/common/script/ops/sell.js @@ -44,7 +44,7 @@ module.exports = function sell (user, req = {}) { } if (content[type][key].sellWarningNote) { - throw new NotAuthorized(i18n.t('positiveAmountRequired', req.language)); + throw new NotAuthorized(content[type][key].sellWarningNote()); } user.items[type][key] -= amount;