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:
EUForest
2026-01-07 15:38:42 +08:00
parent 93926d9c99
commit 585874777f
8 changed files with 46 additions and 22 deletions
+4
View File
@@ -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."