🐛 fix: Invalid redemption code prompts system error message

This commit is contained in:
EUForest 2026-01-10 12:45:36 +08:00
parent d38e8f1676
commit 29f9aaae8c
3 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,7 @@
"50001": "Corresponding coupon information not found, please check and try again.",
"50002": "The coupon has been used, cannot be used again.",
"50003": "This coupon code is not supported by the current purchase plan.",
"50004": "Coupon has insufficient remaining uses.",
"60001": "Subscription has expired, please renew before using.",
"60002": "Unable to use the subscription at the moment, please try again later.",
"60003": "An existing subscription is detected. Please cancel it before proceeding.",

View File

@ -41,6 +41,7 @@
"50001": "找不到对应的优惠券信息,请检查后重试。",
"50002": "该优惠券已被使用,无法再次使用。",
"50003": "该优惠码不被当前购买套餐支持。",
"50004": "优惠券使用次数不足。",
"60001": "订阅已过期,请续费后使用。",
"60002": "暂时无法使用该订阅,请稍后再试。",
"60003": "检测到现有订阅,请先取消后再继续。",

View File

@ -123,6 +123,10 @@ function handleError(response: {
"components:error.50003",
"This coupon code is not supported by the current purchase plan."
),
50004: t(
"components:error.50004",
"Coupon has insufficient remaining uses."
),
60001: t(
"components:error.60001",
"Subscription has expired, please renew before using."