feat: 增强国际化支持与安全头配置

- 在 .env.example 中新增 i18next 相关配置项以支持多语言功能
- 在 next.config.ts 中添加安全头配置以支持 iframe 嵌入
- 更新 Providers 组件以引入 i18n 配置
- 在 PlayerAppShell 中集成 LanguageSwitcher 组件以实现语言切换功能
- 优化 HallWalletStrip 组件的网络状态管理逻辑
- 更新多个组件以支持国际化文本
This commit is contained in:
2026-05-13 17:53:56 +08:00
parent c8f8f90515
commit 587a6ad66c
32 changed files with 2126 additions and 436 deletions

View File

@@ -0,0 +1,21 @@
{
"language": {
"en": "English",
"ne": "नेपाली",
"zh": "中文"
},
"languageShort": {
"en": "EN",
"ne": "NE",
"zh": "ZH"
},
"status": {
"done": "完成",
"inProgress": "进行中",
"pending": "待处理",
"failed": "失败"
},
"errors": {
"general": "通用"
}
}