fix(i18n): complete Simplified Chinese core and plugin translations (#1542)

* fix(i18n): complete Chinese onboarding and navigation labels

* fix(i18n): translate remaining Chinese core and plugin interfaces

* fix(i18n): translate host editor tab overflow controls

* fix(i18n): use consistent Chinese fleet terminology

* fix(i18n): localize hardcoded controls and plugin views

* fix(i18n): translate built-in homepage widget catalog

* test(homepage): follow translated timezone placeholder

* fix(i18n): translate plugin-provided homepage widgets

* fix(i18n): localize feature settings section titles
This commit is contained in:
ZacharyZcR authored and GitHub committed 2026-10-03 21:37:00 +08:00
1 parent 13f5736d8f
commit 0214a81e5d
78 files changed
+2423 -1833

No files matched your search

+3
View File
@@ -115,5 +115,8 @@
},
"hosts": {
"docsLink": "View docs"
},
"plugin": {
"name": "AI Assistant"
}
}
+54 -51
View File
@@ -1,29 +1,29 @@
{
"permissions": {
"use": {
"title": "Use the assistant",
"description": "Open the assistant and ask it things."
"title": "使用助手",
"description": "打开助手并向其提问。"
},
"manage_providers": {
"title": "Manage providers",
"description": "Add, edit and remove the AI providers and their API keys."
"title": "管理服务提供商",
"description": "添加、编辑和移除 AI 服务提供商及其 API 密钥。"
},
"apply_proposals": {
"title": "Apply proposals",
"description": "Let the assistant carry out the changes it suggests."
"title": "应用建议",
"description": "允许助手执行其建议的更改。"
},
"services.use": {
"title": "Use AI from other features",
"description": "Other features may call the assistant on your behalf."
"title": "在其他功能中使用 AI",
"description": "其他功能可以代表你调用助手。"
},
"secrets.share": {
"title": "Share the API key",
"description": "Other features may use the stored AI API key without seeing it."
"title": "共享 API 密钥",
"description": "其他功能可以使用已保存的 AI API 密钥,但无法查看其内容。"
}
},
"settings": {
"assistantUnavailable": "The AI assistant is turned off on this server.",
"providersNeedOptIn": "Turn on the AI assistant above to add providers.",
"assistantUnavailable": "此服务器已关闭 AI 助手。",
"providersNeedOptIn": "请先在上方启用 AI 助手,再添加服务提供商。",
"admin": {
"globallyEnabled": {
"label": "AI 助手",
@@ -31,74 +31,74 @@
},
"privateEndpoints": {
"label": "允许的私有 AI 主机",
"description": "Hosts on your private network that users may point a provider at, such as a self-hosted Ollama. Put one host on each line."
"description": "允许用户将服务提供商指向的内网主机,例如自托管的 Ollama。每行填写一台主机。"
}
},
"host": {
"enableAiAssistant": {
"label": "Enable AI Assistant",
"description": "Allow the AI assistant to help in this host's terminal. Off by default, and still needs AI enabled for your account."
"label": "启用 AI 助手",
"description": "允许 AI 助手在此主机的终端中提供帮助。默认关闭,且你的账户也必须启用 AI。"
}
}
},
"ai": {
"title": "Assistant",
"send": "Send",
"title": "助手",
"send": "发送",
"stop": "停止",
"save": "保存",
"cancel": "取消",
"running": "运行中",
"approve": "Approve",
"reject": "Reject",
"inputPlaceholder": "Ask about your servers, or describe a change to propose",
"selectProvider": "Select a provider",
"providerSettings": "Provider settings",
"addProvider": "Add provider",
"approve": "批准",
"reject": "拒绝",
"inputPlaceholder": "询问服务器相关问题,或描述你想进行的更改",
"selectProvider": "选择服务提供商",
"providerSettings": "服务提供商设置",
"addProvider": "添加服务提供商",
"editProvider": "编辑提供商",
"removeProvider": "Remove provider",
"removeProvider": "移除服务提供商",
"providerType": "提供商",
"providerLabel": "名称",
"providerLabelPlaceholder": "例如:本地 Ollama",
"baseUrl": "Server address",
"baseUrl": "服务器地址",
"apiKey": "API 密钥",
"defaultModel": "Default model",
"defaultModelPlaceholder": "For example: llama3.1 or claude-opus-5",
"defaultModel": "默认模型",
"defaultModelPlaceholder": "例如 llama3.1 或 claude-opus-5",
"labelRequired": "给此提供商起个名字",
"providerSaveFailed": "Could not save the provider",
"providerUpdated": "Provider updated",
"providerDeleteFailed": "Could not remove the provider",
"privateEndpointHint": "Addresses on your private network need an administrator to allow the host first.",
"providerSaveFailed": "无法保存服务提供商",
"providerUpdated": "服务提供商已更新",
"providerDeleteFailed": "无法移除服务提供商",
"privateEndpointHint": "使用内网地址前,需要管理员先允许该主机。",
"providerOllama": "Ollama",
"providerAnthropic": "Anthropic",
"providerOpenai": "OpenAI",
"providerGemini": "Google Gemini",
"providerOpenaiCompatible": "OpenAI compatible",
"providerOpenaiCompatible": "兼容 OpenAI",
"toolArguments": "输入",
"toolResult": "Result",
"toolResult": "结果",
"statusApplied": "已应用",
"statusRejected": "Rejected",
"proposalApplied": "Change applied",
"proposalApplyFailed": "Could not apply the change",
"proposalRejectFailed": "Could not reject the change",
"statusRejected": "已拒绝",
"proposalApplied": "更改已应用",
"proposalApplyFailed": "无法应用更改",
"proposalRejectFailed": "无法拒绝更改",
"enableTitle": "启用 AI 助手",
"enableDescription": "Let the assistant read your setup and suggest changes for you to approve.",
"readOnlyCommands": "Allow read-only diagnostic commands",
"readOnlyCommandsDescription": "The assistant may run a short list of safe commands like df and uptime without asking each time. Anything that changes a server is always proposed first.",
"enableDescription": "允许助手读取你的配置并提出更改建议,由你批准后执行。",
"readOnlyCommands": "允许只读诊断命令",
"readOnlyCommandsDescription": "助手可以执行 df、uptime 等少量安全命令,无需每次询问。任何会修改服务器的操作都会先提交建议。",
"modelDetectFailed": "无法联系到提供商,所以这里提供的是通用列表。您可以输入任何模型名称。",
"modelCustom": "请输入模型名称",
"modelRefresh": "Refresh list",
"modelRefresh": "刷新列表",
"modelPlaceholder": "选择或输入模型",
"attachHint": "Type @ to reference a host, snippet or automation. Changes are proposed for you to approve.",
"runCommandTitle": "Run command",
"assistant": "AI Assistant",
"terminalPanelEmpty": "Ask the assistant about this host. Anything that changes state needs your approval first.",
"terminalPanelPlaceholder": "Ask about this host...",
"noProvidersConfigured": "No AI provider is configured yet. Add one in the AI assistant tab.",
"runsInOpenTerminal": "Runs in your open terminal session.",
"attachHint": "输入 @ 引用主机、代码片段或自动化。更改会先提交给你批准。",
"runCommandTitle": "执行命令",
"assistant": "AI 助手",
"terminalPanelEmpty": "向助手询问此主机的相关问题。任何会改变状态的操作都需要先获得你的批准。",
"terminalPanelPlaceholder": "询问此主机的相关问题……",
"noProvidersConfigured": "尚未配置 AI 服务提供商,请在 AI 助手标签页中添加。",
"runsInOpenTerminal": "在你已打开的终端会话中执行。",
"runInTerminal": "运行",
"terminalContextPrefill": "Here is my terminal output:\n\n{{output}}\n\n",
"terminalContextPrefill": "以下是我的终端输出:\n\n{{output}}\n\n",
"secrets": {
"shareApiKey": "Let other features use your AI provider API key for their own requests. The key is never copied, and you can revoke this at any time."
"shareApiKey": "允许其他功能使用你的 AI 服务提供商 API 密钥发起请求。密钥不会被复制,你可以随时撤销授权。"
}
},
"nav": {
@@ -106,7 +106,7 @@
},
"onboarding": {
"aiTitle": "AI 助手",
"aiIntro": "Termix can include an optional AI assistant. You can change this later in your settings.",
"aiIntro": "Termix 提供可选的 AI 助手,你可以稍后在设置中更改。",
"aiSkipTitle": "禁用",
"aiSkipDesc": "Termix 正常工作,AI 助手将保持隐藏状态。",
"aiEnableTitle": "启用",
@@ -115,5 +115,8 @@
},
"hosts": {
"docsLink": "查看文档"
},
"plugin": {
"name": "AI 助手"
}
}