localization: Update Japanese and Korean translations; add missing Korean locale files
- Updated Japanese translations in config.json, core.json, prompts.json, and startup.json for improved clarity and accuracy. - Added new Korean locale files for config.json, core.json, prompts.json, and startup.json to support Korean language users. - Enhanced Chinese translations in core.json and startup.json to include missing resource not found messages and WebUI related texts.
This commit is contained in:
@@ -52,7 +52,44 @@
|
||||
"startup.shutdown_failed": "麦麦关闭失败: {error}",
|
||||
"startup.shutdown_started": "正在优雅关闭麦麦...",
|
||||
"startup.waking_up": "正在唤醒 {nickname}......",
|
||||
"startup.webui_access_token": "🔑 WebUI Access Token: {token}",
|
||||
"startup.webui_access_token_failed": "❌ 获取 Access Token 失败: {error}",
|
||||
"startup.webui_access_token_login_hint": "💡 请使用此 Token 登录 WebUI",
|
||||
"startup.webui_anti_crawler_config_failed": "❌ 配置防爬虫中间件失败: {error}",
|
||||
"startup.webui_anti_crawler_configured": "🛡️ 防爬虫中间件已配置: {mode_desc}",
|
||||
"startup.webui_anti_crawler_mode_basic": "基础模式",
|
||||
"startup.webui_anti_crawler_mode_disabled": "已禁用",
|
||||
"startup.webui_anti_crawler_mode_loose": "宽松模式",
|
||||
"startup.webui_anti_crawler_mode_strict": "严格模式",
|
||||
"startup.webui_api_routes_register_failed": "❌ 注册 WebUI API 路由失败: {error}",
|
||||
"startup.webui_api_routes_registered": "✅ WebUI API 路由已注册",
|
||||
"startup.webui_auto_install_exec_failed": "❌ 执行 WebUI 前端依赖自动安装失败: {error}",
|
||||
"startup.webui_auto_install_failed": "❌ WebUI 前端依赖自动安装失败(退出码 {return_code})",
|
||||
"startup.webui_auto_install_failed_output": "📄 WebUI 前端依赖安装输出:\n{output}",
|
||||
"startup.webui_auto_install_started": "🔧 检测到 WebUI 前端依赖缺失,正在自动安装: {command}",
|
||||
"startup.webui_auto_install_succeeded": "✅ WebUI 前端依赖自动安装成功",
|
||||
"startup.webui_auto_install_timeout": "❌ WebUI 前端依赖自动安装超时(超过 {timeout_seconds} 秒)",
|
||||
"startup.webui_auto_recovery_failed": "❌ WebUI 前端自动恢复失败,静态资源仍不可用",
|
||||
"startup.webui_auto_build_artifacts_invalid": "⚠️ WebUI 前端自动构建完成,但静态产物仍不可用",
|
||||
"startup.webui_auto_build_exec_failed": "❌ 执行 WebUI 前端自动构建失败: {error}",
|
||||
"startup.webui_auto_build_failed": "❌ WebUI 前端自动构建失败(退出码 {return_code})",
|
||||
"startup.webui_auto_build_failed_output": "📄 WebUI 前端构建输出:\n{output}",
|
||||
"startup.webui_auto_build_started": "🔧 正在尝试自动构建 WebUI 前端: {command}",
|
||||
"startup.webui_auto_build_succeeded": "✅ WebUI 前端自动构建成功",
|
||||
"startup.webui_auto_build_timeout": "❌ WebUI 前端自动构建超时(超过 {timeout_seconds} 秒)",
|
||||
"startup.webui_auto_build_tool_missing": "❌ 未找到可用的前端构建工具,无法自动构建 WebUI",
|
||||
"startup.webui_cors_configured": "✅ CORS 中间件已配置",
|
||||
"startup.webui_dashboard_source_missing": "❌ 未找到 WebUI 前端源码目录: {dashboard_root}",
|
||||
"startup.webui_disabled": "WebUI 已禁用",
|
||||
"startup.webui_index_missing": "❌ 未找到 index.html: {index_path}",
|
||||
"startup.webui_manual_build_hint": "💡 自动恢复未能修复前端资源,请在 dashboard 目录安装依赖并手动构建: {command}",
|
||||
"startup.webui_path_traversal_detected": "🚫 检测到疑似路径穿越请求: {full_path}",
|
||||
"startup.webui_robots_route_register_failed": "❌ 注册 robots.txt 路由失败: {error}",
|
||||
"startup.webui_robots_route_registered": "✅ robots.txt 路由已注册",
|
||||
"startup.webui_server_init_failed": "初始化 WebUI 服务器失败: {error}",
|
||||
"startup.webui_static_assets_try_auto_build": "⚠️ WebUI 静态资源不可用,尝试自动构建前端...",
|
||||
"startup.webui_static_dir_missing": "❌ WebUI 静态文件目录不存在",
|
||||
"startup.webui_static_dir_missing_with_path": "❌ WebUI 静态文件目录不存在: {static_path}",
|
||||
"startup.webui_static_files_configured": "✅ WebUI 静态文件服务已配置: {static_path}",
|
||||
"startup.worker_dir_set": "已设置工作目录为: {script_dir}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user