feat: add validation for invalid status code entries in channel modal

- Introduced a new function to collect invalid status code entries from the status code mapping.
- Updated the EditChannelModal to display an error message if invalid status codes are detected.
- Enhanced localization files to include new error messages for invalid status codes in multiple languages.
- Removed unused styles from the RiskAcknowledgementModal for cleaner UI.
This commit is contained in:
CaIon
2026-02-22 21:36:38 +08:00
parent ee414e10c9
commit af2831ce31
10 changed files with 55 additions and 15 deletions

View File

@@ -1782,6 +1782,7 @@
"状态": "Trạng thái",
"状态更新时间": "Thời gian cập nhật trạng thái",
"状态码复写": "Ghi đè mã trạng thái",
"状态码复写包含无效的状态码": "Ghi đè mã trạng thái chứa mã trạng thái không hợp lệ",
"状态筛选": "Lọc trạng thái",
"状态页面Slug": "Slug trang trạng thái",
"环境变量": "Environment Variables",