🐛 fix: Invalid redemption code prompts system error message
This commit is contained in:
parent
d38e8f1676
commit
29f9aaae8c
@ -41,6 +41,7 @@
|
|||||||
"50001": "Corresponding coupon information not found, please check and try again.",
|
"50001": "Corresponding coupon information not found, please check and try again.",
|
||||||
"50002": "The coupon has been used, cannot be used again.",
|
"50002": "The coupon has been used, cannot be used again.",
|
||||||
"50003": "This coupon code is not supported by the current purchase plan.",
|
"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.",
|
"60001": "Subscription has expired, please renew before using.",
|
||||||
"60002": "Unable to use the subscription at the moment, please try again later.",
|
"60002": "Unable to use the subscription at the moment, please try again later.",
|
||||||
"60003": "An existing subscription is detected. Please cancel it before proceeding.",
|
"60003": "An existing subscription is detected. Please cancel it before proceeding.",
|
||||||
|
|||||||
@ -41,6 +41,7 @@
|
|||||||
"50001": "找不到对应的优惠券信息,请检查后重试。",
|
"50001": "找不到对应的优惠券信息,请检查后重试。",
|
||||||
"50002": "该优惠券已被使用,无法再次使用。",
|
"50002": "该优惠券已被使用,无法再次使用。",
|
||||||
"50003": "该优惠码不被当前购买套餐支持。",
|
"50003": "该优惠码不被当前购买套餐支持。",
|
||||||
|
"50004": "优惠券使用次数不足。",
|
||||||
"60001": "订阅已过期,请续费后使用。",
|
"60001": "订阅已过期,请续费后使用。",
|
||||||
"60002": "暂时无法使用该订阅,请稍后再试。",
|
"60002": "暂时无法使用该订阅,请稍后再试。",
|
||||||
"60003": "检测到现有订阅,请先取消后再继续。",
|
"60003": "检测到现有订阅,请先取消后再继续。",
|
||||||
|
|||||||
@ -123,6 +123,10 @@ function handleError(response: {
|
|||||||
"components:error.50003",
|
"components:error.50003",
|
||||||
"This coupon code is not supported by the current purchase plan."
|
"This coupon code is not supported by the current purchase plan."
|
||||||
),
|
),
|
||||||
|
50004: t(
|
||||||
|
"components:error.50004",
|
||||||
|
"Coupon has insufficient remaining uses."
|
||||||
|
),
|
||||||
60001: t(
|
60001: t(
|
||||||
"components:error.60001",
|
"components:error.60001",
|
||||||
"Subscription has expired, please renew before using."
|
"Subscription has expired, please renew before using."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user