mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 22:55:24 +00:00
# Conflicts: # package-lock.json # package.json # plugins/ai/locales/translated/af_ZA.json # plugins/ai/locales/translated/ar_SA.json # plugins/ai/locales/translated/bg_BG.json # plugins/ai/locales/translated/bn_BD.json # plugins/ai/locales/translated/ca_ES.json # plugins/ai/locales/translated/cs_CZ.json # plugins/ai/locales/translated/da_DK.json # plugins/ai/locales/translated/de_DE.json # plugins/ai/locales/translated/el_GR.json # plugins/ai/locales/translated/es_ES.json # plugins/ai/locales/translated/fi_FI.json # plugins/ai/locales/translated/fr_FR.json # plugins/ai/locales/translated/he_IL.json # plugins/ai/locales/translated/hi_IN.json # plugins/ai/locales/translated/hu_HU.json # plugins/ai/locales/translated/id_ID.json # plugins/ai/locales/translated/it_IT.json # plugins/ai/locales/translated/ja_JP.json # plugins/ai/locales/translated/ko_KR.json # plugins/ai/locales/translated/nl_NL.json # plugins/ai/locales/translated/no_NO.json # plugins/ai/locales/translated/pl_PL.json # plugins/ai/locales/translated/pt_BR.json # plugins/ai/locales/translated/pt_PT.json # plugins/ai/locales/translated/ro_RO.json # plugins/ai/locales/translated/ru_RU.json # plugins/ai/locales/translated/sr_SP.json # plugins/ai/locales/translated/sv_SE.json # plugins/ai/locales/translated/th_TH.json # plugins/ai/locales/translated/tr_TR.json # plugins/ai/locales/translated/uk_UA.json # plugins/ai/locales/translated/vi_VN.json # plugins/ai/locales/translated/zh_TW.json
199 lines
9.3 KiB
JSON
199 lines
9.3 KiB
JSON
{
|
||
"permissions": {
|
||
"use": {
|
||
"title": "使用助手",
|
||
"description": "打开助手并向它提问。"
|
||
},
|
||
"manage_providers": {
|
||
"title": "管理供应商",
|
||
"description": "添加、编辑和删除人工智能提供商及其 API 密钥。"
|
||
},
|
||
"apply_proposals": {
|
||
"title": "提交提案",
|
||
"description": "让助手执行它建议的更改。"
|
||
},
|
||
"services.use": {
|
||
"title": "利用其他功能中的人工智能",
|
||
"description": "其他功能可能会代表您呼叫语音助手。"
|
||
},
|
||
"secrets.share": {
|
||
"title": "分享 API 密钥",
|
||
"description": "其他功能可能在看不到密钥的情况下使用已存储的 AI API 密钥。"
|
||
}
|
||
},
|
||
"settings": {
|
||
"assistantUnavailable": "此服务器上的AI助手已关闭。",
|
||
"providersNeedOptIn": "开启上方的AI助手,即可添加服务提供商。",
|
||
"admin": {
|
||
"globallyEnabled": {
|
||
"label": "AI 助手",
|
||
"description": "允许用户开启 AI 助手。关闭此功能后,助手将被隐藏,所有用户均无法使用。"
|
||
},
|
||
"privateEndpoints": {
|
||
"label": "允许的私有 AI 主机",
|
||
"description": "用户可向服务提供商指向的私有网络上的主机,例如自托管的 Ollama。每行填写一个主机。"
|
||
}
|
||
},
|
||
"host": {
|
||
"enableAiAssistant": {
|
||
"label": "启用人工智能助手",
|
||
"description": "允许 AI 助手在此主机的终端上提供帮助。默认情况下处于关闭状态,但仍需在您的帐户中启用 AI 功能。"
|
||
}
|
||
}
|
||
},
|
||
"ai": {
|
||
"title": "助手",
|
||
"send": "发送",
|
||
"stop": "停止",
|
||
"save": "保存",
|
||
"cancel": "取消",
|
||
"running": "运行中",
|
||
"approve": "批准",
|
||
"reject": "拒绝",
|
||
"inputPlaceholder": "询问服务器相关情况,或描述要提出的变更建议",
|
||
"selectProvider": "选择服务提供商",
|
||
"providerSettings": "提供商设置",
|
||
"addProvider": "添加提供商",
|
||
"editProvider": "编辑提供商",
|
||
"removeProvider": "移除提供者",
|
||
"providerType": "提供商",
|
||
"providerLabel": "名称",
|
||
"providerLabelPlaceholder": "例如:本地 Ollama",
|
||
"baseUrl": "服务器地址",
|
||
"apiKey": "API 密钥",
|
||
"defaultModel": "默认模型",
|
||
"defaultModelPlaceholder": "例如:llama3.1 或 claude-opus-5",
|
||
"labelRequired": "给此提供商起个名字",
|
||
"providerSaveFailed": "无法保存提供商",
|
||
"providerUpdated": "提供商已更新",
|
||
"providerDeleteFailed": "无法移除提供商",
|
||
"privateEndpointHint": "您私有网络上的地址需要管理员先允许主机访问。",
|
||
"providerOllama": "Ollama",
|
||
"providerAnthropic": "Anthropic",
|
||
"providerOpenai": "OpenAI",
|
||
"providerGemini": "Google Gemini",
|
||
"providerOpenaiCompatible": "兼容 OpenAI",
|
||
"toolArguments": "输入",
|
||
"toolResult": "结果",
|
||
"statusApplied": "已应用",
|
||
"statusRejected": "已拒绝",
|
||
"proposalApplied": "变更已生效",
|
||
"proposalApplyFailed": "无法应用更改",
|
||
"proposalRejectFailed": "无法拒绝更改",
|
||
"enableTitle": "启用 AI 助手",
|
||
"enableDescription": "让助手读取您的设置并提出更改建议,供您批准。",
|
||
"readOnlyCommands": "允许只读诊断命令",
|
||
"readOnlyCommandsDescription": "助手可能会在不每次都询问的情况下运行一些安全命令,例如 `df` 和 `uptime`。任何会更改服务器的操作都会优先被提出。",
|
||
"modelDetectFailed": "无法联系到提供商,所以这里提供的是通用列表。您可以输入任何模型名称。",
|
||
"modelCustom": "请输入模型名称",
|
||
"modelRefresh": "刷新列表",
|
||
"modelPlaceholder": "选择或输入模型",
|
||
"attachHint": "输入 @ 符号可引用主机、代码片段或自动化流程。系统会提出更改建议,供您批准。",
|
||
"runCommandTitle": "运行命令",
|
||
"assistant": "人工智能助手",
|
||
"terminalPanelEmpty": "向助理询问有关此房东的信息。任何状态变更都需要您先批准。",
|
||
"terminalPanelPlaceholder": "询问一下这位房东的情况……",
|
||
"noProvidersConfigured": "尚未配置任何 AI 提供商。请在 AI 助手选项卡中添加。",
|
||
"runsInOpenTerminal": "在打开的终端会话中运行。",
|
||
"runInTerminal": "运行",
|
||
"terminalContextPrefill": "以下是我的终端输出:\n\n{{output}}\n\n",
|
||
"secrets": {
|
||
"shareApiKey": "允许其他功能使用您的 AI 提供商 API 密钥发出各自的请求。该密钥绝不会被复制,您可以随时撤销此授权。"
|
||
}
|
||
},
|
||
"nav": {
|
||
"ai": "AI"
|
||
},
|
||
"onboarding": {
|
||
"aiTitle": "AI 助手",
|
||
"aiIntro": "Termix 可以包含一个可选的 AI 助手。您可以稍后在设置中更改此选项。",
|
||
"aiSkipTitle": "禁用",
|
||
"aiSkipDesc": "Termix 正常工作,AI 助手将保持隐藏状态。",
|
||
"aiEnableTitle": "启用",
|
||
"aiEnableDesc": "启用 AI 助手,它将分析您的配置并提供优化建议。需自行配置服务商,例如本地运行的 Ollama。",
|
||
"aiNote": "在您配置服务商并主动发送消息之前,绝不会向外发送任何数据。"
|
||
},
|
||
"hosts": {
|
||
"docsLink": "查看文档"
|
||
},
|
||
"agents": {
|
||
"title": "AI Agent",
|
||
"permissionTitle": "运行远程 AI Agent",
|
||
"permissionDescription": "使用已配置的 AI Provider 在 SSH 主机上启动 Agent。Agent 可使用 SSH 账号权限执行命令和修改文件。",
|
||
"new": "新建会话",
|
||
"description": "在此主机的目录中运行 Agent,使用 Termix 配置的模型服务。",
|
||
"runtime": "Agent",
|
||
"provider": "Termix Provider",
|
||
"chooseProvider": "选择兼容的 Provider",
|
||
"model": "模型",
|
||
"directory": "工作目录",
|
||
"executable": "可执行文件(可选绝对路径)",
|
||
"requirements": "主机需要 Node.js 22.19+ 及所选 Agent,并允许 SSH 回环地址远程转发。不覆盖已有 Agent 配置。",
|
||
"responsesRequired": "Codex 需要 Responses API;仅支持 Chat Completions 的接口无法用于 Codex。",
|
||
"piPermissions": "Pi 工具使用当前 SSH 账号权限执行。请只在允许 Agent 修改的目录中启动。",
|
||
"start": "启动 Agent",
|
||
"resume": "恢复会话",
|
||
"stop": "停止会话",
|
||
"interrupt": "中断任务",
|
||
"send": "发送",
|
||
"prompt": "让 Agent 在此目录中完成任务…",
|
||
"noSessions": "此主机还没有 Agent 会话。",
|
||
"approval": "Agent 需要你的决定",
|
||
"answer": "填写答复(结构化问题使用 JSON)",
|
||
"allow": "允许一次",
|
||
"deny": "拒绝",
|
||
"tool": "工具执行",
|
||
"streamFailed": "Agent 消息连接断开,请重新打开会话连接。",
|
||
"status": {
|
||
"starting": "正在启动",
|
||
"ready": "就绪",
|
||
"running": "执行中",
|
||
"stopped": "已停止",
|
||
"error": "出错"
|
||
},
|
||
"installRuntime": "安装所选 Agent 和 Node.js",
|
||
"installSource": "仅从官方来源安装:nodejs.org(SHA-256 校验)、registry.npmjs.org(锁定依赖与完整性校验)。安装到当前 SSH 用户的 ~/.local/share/termix-agent-runtime;需要 curl、tar 和 Linux/macOS x64 或 arm64。不修改 SSH 转发策略。",
|
||
"installSucceeded": "安装及版本校验成功。现在可以启动 Agent;SSH 还需允许回环地址远程转发。",
|
||
"installFailed": "安装失败,请查看日志后重试。",
|
||
"installLog": "安装日志",
|
||
"enableForwarding": "一键启用 Agent 转发",
|
||
"forwardingScope": "需要 Linux、systemd/OpenSSH,以及 root 或免密 sudo。自动备份、校验并重载 SSH,仅为当前 SSH 账号与实际连接来源开放回环远程转发,保留已有本地转发权限。失败自动回滚。",
|
||
"forwardingSucceeded": "SSH 回环远程转发已就绪。请启动或恢复 Agent,建立新的 SSH 连接。",
|
||
"forwardingFailed": "SSH 转发配置失败,请查看日志;未通过校验的配置不会保留。",
|
||
"search": "搜索会话",
|
||
"showArchived": "显示已归档",
|
||
"sessionName": "会话名称",
|
||
"rename": "重命名",
|
||
"archive": "归档并停止",
|
||
"restore": "恢复归档",
|
||
"queue": "待发消息",
|
||
"enqueue": "加入队列",
|
||
"continueQueue": "继续队列",
|
||
"pauseQueue": "暂停队列",
|
||
"editQueued": "编辑待发消息",
|
||
"save": "保存",
|
||
"remove": "移除",
|
||
"upload": "上传附件",
|
||
"remoteFile": "工作目录内的文件路径",
|
||
"attach": "引用文件",
|
||
"attachments": "复用会话附件",
|
||
"pasteImage": "可在输入框粘贴图片。每条最多 4 个附件,每个不超过 1 MiB。",
|
||
"attachmentLimit": "每条最多 4 个附件,每个不超过 1 MiB",
|
||
"review": "Git 改动与 worktree",
|
||
"gitStatus": "刷新 Git 状态",
|
||
"diffFile": "要审阅的文件路径",
|
||
"diff": "查看 diff",
|
||
"branch": "新分支名称",
|
||
"createWorktree": "创建 worktree",
|
||
"useWorktree": "在此 worktree 新建会话",
|
||
"worktreeHint": "从 HEAD 创建新分支。未提交改动保留在当前目录,不会自动删除已有 worktree。",
|
||
"clean": "没有改动",
|
||
"reconnecting": "正在重连并补齐消息…",
|
||
"unavailable": "无法访问会话,请检查权限或重新登录。",
|
||
"shortcuts": "Enter 发送或排队 · Shift+Enter 换行 · Esc 中断并暂停队列"
|
||
},
|
||
"plugin": {
|
||
"name": "AI Assistant"
|
||
}
|
||
}
|