✨ feat: improve redemption feature i18n and error code handling
- Complete internationalization for redemption records dialog - Add i18n for table headers and unit time translations - Optimize redemption form validation error messages with i18n - Add 50003 error code handling for coupon plan incompatibility - Fix TypeScript errors in redemption-related components - Fix TypeScript errors in user announcement page
This commit is contained in:
@@ -119,6 +119,10 @@ function handleError(response: {
|
||||
"components:error.50002",
|
||||
"The coupon has been used, cannot be used again."
|
||||
),
|
||||
50003: t(
|
||||
"components:error.50003",
|
||||
"This coupon code is not supported by the current purchase plan."
|
||||
),
|
||||
60001: t(
|
||||
"components:error.60001",
|
||||
"Subscription has expired, please renew before using."
|
||||
|
||||
Reference in New Issue
Block a user