Files
lotteryFront/src/i18n/locales/en/entry.json
kang ece50ae3b5 feat(player, i18n): add error code mappings and back to main site button
1. 新增8001-8005业务错误码的国际化翻译与映射
2. 增加返回主站按钮,根据环境变量显示
3. 重构错误码匹配逻辑,复用常量对象
2026-05-14 09:38:57 +08:00

72 lines
2.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"header": {
"backgroundAlt": "Header background"
},
"loading": {
"title": "Loading lottery hall",
"progress": "Progress"
},
"steps": {
"token": {
"title": "Checking token",
"description": "Verifying your session securely."
},
"account": {
"title": "Creating account",
"description": "Setting up your account."
},
"hall": {
"title": "Loading lottery hall",
"description": "Preparing the lottery hall."
}
},
"messages": {
"initializing": "Initializing…",
"retrying": "Retrying…",
"verifying": "Verifying session…",
"connectingHall": "Connecting to lottery hall…",
"ready": "Ready",
"retryProgress": "Retrying ({{current}}/{{total}})…"
},
"failure": {
"title": "Authorization failed",
"subtitle": "We couldnt authorize your session. Please try again.",
"detailsTitle": "Failure details",
"table": {
"no": "No.",
"check": "Check",
"reason": "Reason"
},
"reenter": "Re-enter",
"backToMainSite": "Back to main site"
},
"success": {
"title": "Authorization successful!",
"subtitle": "Your session has been verified successfully.",
"doneLabel": "Done",
"continue": "Continue to lottery hall"
},
"footer": {
"secure": "Secure. Trusted. Authorized access."
},
"errors": {
"noToken": "No authorization token found",
"noTokenDetail": "Please return to the main site and try again.",
"authFailed": "Authorization failed",
"unknown": "Unknown error",
"network": "Network error occurred",
"networkDetail": "Please check your internet connection and try again.",
"maxRetries": "Unable to connect after multiple attempts",
"maxRetriesDetail": "The server may be temporarily unavailable.",
"tryLater": "Please try again later",
"http401": "Token is invalid or expired",
"http403": "Account has been blocked",
"http404": "Account not found in the system",
"player8001": "Missing or invalid Authorization",
"player8002": "Token invalid, expired, malformed, or exceeding the allowed time window (e.g. >5 min)",
"player8003": "Player not registered (dev token only)",
"player8004": "SSO not configured on lottery server",
"player8005": "Account suspended or unavailable"
}
}