feat(player, i18n): add error code mappings and back to main site button
1. 新增8001-8005业务错误码的国际化翻译与映射 2. 增加返回主站按钮,根据环境变量显示 3. 重构错误码匹配逻辑,复用常量对象
This commit is contained in:
@@ -37,7 +37,8 @@
|
||||
"check": "Check",
|
||||
"reason": "Reason"
|
||||
},
|
||||
"reenter": "Re-enter"
|
||||
"reenter": "Re-enter",
|
||||
"backToMainSite": "Back to main site"
|
||||
},
|
||||
"success": {
|
||||
"title": "Authorization successful!",
|
||||
@@ -60,6 +61,11 @@
|
||||
"tryLater": "Please try again later",
|
||||
"http401": "Token is invalid or expired",
|
||||
"http403": "Account has been blocked",
|
||||
"http404": "Account not found in the system"
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,8 @@
|
||||
"check": "जाँच",
|
||||
"reason": "कारण"
|
||||
},
|
||||
"reenter": "पुन: प्रवेश"
|
||||
"reenter": "पुन: प्रवेश",
|
||||
"backToMainSite": "मुख्य साइटमा फर्कनुहोस्"
|
||||
},
|
||||
"success": {
|
||||
"title": "प्राधिकरण सफल!",
|
||||
@@ -60,6 +61,11 @@
|
||||
"tryLater": "कृपया पछि प्रयास गर्नुहोस्",
|
||||
"http401": "टोकन अमान्य वा म्याद सकियो",
|
||||
"http403": "खाता रोकिएको छ",
|
||||
"http404": "प्रणालीमा खाता फेला परेन"
|
||||
"http404": "प्रणालीमा खाता फेला परेन",
|
||||
"player8001": "अनुमति हेडर हराइरहेको छ वा अमान्य छ",
|
||||
"player8002": "टोकन अमान्य, म्याद सकिएको, फिल्ड हराइएको वा समय सीमा मन नपर्ने",
|
||||
"player8003": "खाता दर्ता छैन (विकास टोकन मात्र)",
|
||||
"player8004": "लटरी सर्भरमा SSO कन्फिगर छैन",
|
||||
"player8005": "खाता निलम्बन वा अनुपलब्ध"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,8 @@
|
||||
"check": "检查项",
|
||||
"reason": "原因"
|
||||
},
|
||||
"reenter": "重新进入"
|
||||
"reenter": "重新进入",
|
||||
"backToMainSite": "返回主站"
|
||||
},
|
||||
"success": {
|
||||
"title": "授权成功!",
|
||||
@@ -60,6 +61,11 @@
|
||||
"tryLater": "请稍后再试",
|
||||
"http401": "令牌无效或已过期",
|
||||
"http403": "账号已被封禁",
|
||||
"http404": "系统中未找到该账号"
|
||||
"http404": "系统中未找到该账号",
|
||||
"player8001": "缺少或非法的授权凭证",
|
||||
"player8002": "Token 无效、已过期或不符合时效(如有效窗超过 5 分钟/缺少必填字段)",
|
||||
"player8003": "玩家未注册(仅开发 Token)",
|
||||
"player8004": "彩票服务端未配置 SSO",
|
||||
"player8005": "账号已冻结或不可用"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user