project-nomad/admin/inertia/i18n/locales/zh.json
Claude 56f49fe892 feat(i18n): Integrate language switcher and translate home/settings pages
- Add useTranslation hook to SettingsLayout
- Replace hardcoded menu items with translation keys
- Add LanguageSwitcher component to settings header
- Add i18n support to home page (Command Center)
- Translate Maps, Easy Setup, Install Apps, Docs, Settings menu items
- Update Alert components to use translation keys
- Add new translation keys for menu items and descriptions

Translation keys added:
- home.easySetupDesc, home.installAppsDesc, home.docsDesc, home.settingsDesc
- maps.viewOffline
- settings.contentExplorer, settings.contentManager, settings.mapsManager
- settings.checkUpdates, settings.supportProject, settings.serviceLogs

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-04 10:28:52 +08:00

144 lines
3.9 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.

{
"common": {
"home": "首页",
"settings": "设置",
"docs": "文档",
"chat": "聊天",
"maps": "地图",
"search": "搜索",
"save": "保存",
"cancel": "取消",
"delete": "删除",
"edit": "编辑",
"install": "安装",
"uninstall": "卸载",
"start": "启动",
"stop": "停止",
"restart": "重启",
"loading": "加载中...",
"error": "错误",
"success": "成功",
"warning": "警告",
"info": "信息",
"confirm": "确认",
"yes": "是",
"no": "否",
"enabled": "已启用",
"disabled": "已禁用",
"unknown": "未知",
"back": "返回",
"next": "下一步",
"previous": "上一步",
"close": "关闭",
"submit": "提交",
"reset": "重置"
},
"home": {
"title": "控制中心",
"subtitle": "您的离线知识与教育中心",
"updateAvailable": "Project N.O.M.A.D. 有可用更新!",
"goToSettings": "前往设置",
"startHere": "从这里开始!",
"poweredBy": "技术支持",
"easySetupDesc": "不确定从哪里开始?使用设置向导快速配置您的 N.O.M.A.D.",
"installAppsDesc": "没有看到您想要的应用?在这里安装!",
"docsDesc": "阅读 Project N.O.M.A.D. 手册和指南",
"settingsDesc": "配置您的 N.O.M.A.D. 设置"
},
"menu": {
"maps": "地图",
"easySetup": "快速设置",
"installApps": "安装应用",
"docs": "文档",
"settings": "设置"
},
"maps": {
"title": "离线地图",
"viewOffline": "查看离线地图",
"search": "搜索位置...",
"noResults": "未找到结果",
"loadingMap": "加载地图中...",
"offline": "离线地图 - 无需互联网"
},
"chat": {
"title": "AI 助手",
"placeholder": "问我任何问题...",
"thinking": "思考中...",
"noMessages": "开始与 AI 助手对话",
"uploadDocument": "上传文档",
"knowledgeBase": "知识库"
},
"settings": {
"title": "设置",
"system": "系统",
"apps": "应用",
"models": "模型",
"maps": "地图",
"mapsManager": "地图管理器",
"benchmark": "基准测试",
"update": "更新",
"checkUpdates": "检查更新",
"legal": "法律",
"support": "支持",
"supportProject": "支持项目",
"contentExplorer": "内容浏览器",
"contentManager": "内容管理器",
"serviceLogs": "服务日志和指标"
},
"system": {
"title": "系统设置",
"hostname": "主机名",
"version": "版本",
"uptime": "运行时间",
"storage": "存储",
"memory": "内存",
"cpu": "处理器",
"network": "网络",
"theme": "主题",
"language": "语言",
"darkMode": "深色模式",
"lightMode": "浅色模式"
},
"apps": {
"title": "安装应用",
"installed": "已安装",
"notInstalled": "未安装",
"installing": "安装中...",
"noApps": "没有可用的应用"
},
"models": {
"title": "AI 模型",
"download": "下载",
"downloading": "下载中...",
"downloaded": "已下载",
"delete": "删除模型",
"noModels": "没有已安装的模型"
},
"easySetup": {
"title": "快速设置",
"welcome": "欢迎使用 Project N.O.M.A.D.",
"getStarted": "让我们从基础设置开始。",
"next": "下一步",
"skip": "跳过",
"complete": "完成"
},
"docs": {
"title": "文档",
"searchDocs": "搜索文档...",
"noResults": "未找到文档"
},
"about": {
"title": "关于 Project N.O.M.A.D.",
"description": "Project N.O.M.A.D.(离线媒体、档案和数据节点)是一个离线优先的知识与教育服务器。",
"version": "版本",
"license": "许可证",
"github": "GitHub",
"website": "网站"
},
"errors": {
"notFound": "页面未找到",
"serverError": "服务器错误",
"goHome": "返回首页",
"tryAgain": "重试"
}
}