From 8f5c456119f1d30da85684960c64fd026f6135f7 Mon Sep 17 00:00:00 2001 From: yuloop Date: Fri, 4 Sep 2026 16:32:15 +0800 Subject: [PATCH] =?UTF-8?q?i18n(opencode):=20=E5=90=8C=E6=AD=A5=E4=B8=8A?= =?UTF-8?q?=E6=B8=B8=20dev=20=E6=96=87=E6=A1=88=E5=8F=98=E6=9B=B4=EF=BC=8C?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AF=8D=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../opencode-i18n/common/app-messages.json | 2 +- .../components/inline-tools.json | 28 +++++++++---------- .../dialogs/dialog-provider.json | 4 +-- .../opencode-i18n/dialogs/dialog-skill.json | 4 +-- .../opencode-i18n/routes/route-session.json | 6 ++-- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/cli-go/internal/core/assets/opencode-i18n/common/app-messages.json b/cli-go/internal/core/assets/opencode-i18n/common/app-messages.json index fb232a22df..51e0843652 100644 --- a/cli-go/internal/core/assets/opencode-i18n/common/app-messages.json +++ b/cli-go/internal/core/assets/opencode-i18n/common/app-messages.json @@ -11,7 +11,7 @@ "title: \"Agent cycle\"": "title: \"智能体循环\"", "title: \"Agent cycle reverse\"": "title: \"智能体反向循环\"", "message: \"Failed to fork session\"": "message: \"分支会话失败\"", - "message: `Updating to v${version}...`": "message: `正在更新至 v${version}...`" + "message: `Updating to v${version}…`": "message: `正在更新至 v${version}...`" }, "note": "已移除不再存在于源代码中的条目: update-available, copy issue URL, openrouter, console selection" } diff --git a/cli-go/internal/core/assets/opencode-i18n/components/inline-tools.json b/cli-go/internal/core/assets/opencode-i18n/components/inline-tools.json index 2ba7b2b087..30579382fb 100644 --- a/cli-go/internal/core/assets/opencode-i18n/components/inline-tools.json +++ b/cli-go/internal/core/assets/opencode-i18n/components/inline-tools.json @@ -2,19 +2,19 @@ "file": "packages/tui/src/routes/session/index.tsx", "description": "工具提示文本", "replacements": { - "pending=\"Writing command...\"": "pending=\"正在写入命令...\"", - "pending=\"Preparing write...\"": "pending=\"正在准备写入...\"", - "pending=\"Finding files...\"": "pending=\"正在查找文件...\"", - "pending=\"Reading file...\"": "pending=\"正在读取文件...\"", - "pending=\"Searching content...\"": "pending=\"正在搜索内容...\"", - "pending=\"Fetching from the web...\"": "pending=\"正在从网络获取...\"", - "pending=\"Searching web...\"": "pending=\"正在搜索网络...\"", - "pending=\"Delegating...\"": "pending=\"正在委托...\"", - "pending=\"Preparing edit...\"": "pending=\"正在准备编辑...\"", - "pending=\"Preparing patch...\"": "pending=\"正在准备补丁...\"", - "pending=\"Updating todos...\"": "pending=\"正在更新待办...\"", - "pending=\"Asking questions...\"": "pending=\"正在询问问题...\"", - "pending=\"Loading skill...\"": "pending=\"正在加载技能...\"", - "{expanded() ? \"Click to collapse\" : \"Click to expand\"}": "{expanded() ? \"点击折叠\" : \"点击展开\"}" + "{expanded() ? \"Click to collapse\" : \"Click to expand\"}": "{expanded() ? \"点击折叠\" : \"点击展开\"}", + "pending=\"Writing command…\"": "pending=\"正在写入命令...\"", + "pending=\"Preparing write…\"": "pending=\"正在准备写入...\"", + "pending=\"Finding files…\"": "pending=\"正在查找文件...\"", + "pending=\"Reading file…\"": "pending=\"正在读取文件...\"", + "pending=\"Searching content…\"": "pending=\"正在搜索内容...\"", + "pending=\"Fetching from the web…\"": "pending=\"正在从网络获取...\"", + "pending=\"Searching web…\"": "pending=\"正在搜索网络...\"", + "pending=\"Delegating…\"": "pending=\"正在委托...\"", + "pending=\"Preparing edit…\"": "pending=\"正在准备编辑...\"", + "pending=\"Preparing patch…\"": "pending=\"正在准备补丁...\"", + "pending=\"Updating todos…\"": "pending=\"正在更新待办...\"", + "pending=\"Asking questions…\"": "pending=\"正在询问问题...\"", + "pending=\"Loading skill…\"": "pending=\"正在加载技能...\"" } } diff --git a/cli-go/internal/core/assets/opencode-i18n/dialogs/dialog-provider.json b/cli-go/internal/core/assets/opencode-i18n/dialogs/dialog-provider.json index 1ea4fad710..0ae0d96a22 100644 --- a/cli-go/internal/core/assets/opencode-i18n/dialogs/dialog-provider.json +++ b/cli-go/internal/core/assets/opencode-i18n/dialogs/dialog-provider.json @@ -11,7 +11,6 @@ "(Recommended)": "(推荐)", "(API key)": "(API密钥)", "(ChatGPT Plus/Pro or API key)": "(ChatGPT Plus/Pro 或 API密钥)", - "Waiting for authorization...": "等待授权...", "Invalid code": "无效的授权码", "c copy": "c 复制", "Low cost subscription for everyone": "适合所有人的低成本订阅", @@ -20,6 +19,7 @@ "to get a key": "获取密钥", "Copied to clipboard": "已复制到剪贴板", "Custom provider": "自定义提供商", - "This only stores a credential. Configure the provider in opencode.json to use it.": "这仅存储凭据。在 opencode.json 中配置提供商以使用它。" + "This only stores a credential. Configure the provider in opencode.json to use it.": "这仅存储凭据。在 opencode.json 中配置提供商以使用它。", + "Waiting for authorization…": "等待授权..." } } diff --git a/cli-go/internal/core/assets/opencode-i18n/dialogs/dialog-skill.json b/cli-go/internal/core/assets/opencode-i18n/dialogs/dialog-skill.json index c4fc3ff407..ffa2a8aedc 100644 --- a/cli-go/internal/core/assets/opencode-i18n/dialogs/dialog-skill.json +++ b/cli-go/internal/core/assets/opencode-i18n/dialogs/dialog-skill.json @@ -3,7 +3,7 @@ "description": "Skills 选择对话框", "replacements": { "title=\"Skills\"": "title=\"技能\"", - "placeholder=\"Search skills...\"": "placeholder=\"搜索技能...\"", - "category: \"Skills\"": "category: \"技能\"" + "category: \"Skills\"": "category: \"技能\"", + "placeholder=\"Search skills…\"": "placeholder=\"搜索技能...\"" } } diff --git a/cli-go/internal/core/assets/opencode-i18n/routes/route-session.json b/cli-go/internal/core/assets/opencode-i18n/routes/route-session.json index 9db602b46a..80179bb37d 100644 --- a/cli-go/internal/core/assets/opencode-i18n/routes/route-session.json +++ b/cli-go/internal/core/assets/opencode-i18n/routes/route-session.json @@ -55,9 +55,9 @@ "title: \"Line down\"": "title: \"向下滚动\"", "message: \"Failed to copy URL to clipboard\"": "message: \"复制链接到剪贴板失败\"", "{revert()!.reverted.length} message reverted": "{revert()!.reverted.length} 条消息已撤销", - "Fetching from the web...": "正在从网络获取...", - "pending=\"Loading skill...\"": "pending=\"正在加载技能...\"", "Skill \"{stringValue(props.input.name)}\"": "技能 \"{stringValue(props.input.name)}\"", - "\"match\" : \"matches\"": "\"匹配\" : \"匹配\"" + "\"match\" : \"matches\"": "\"匹配\" : \"匹配\"", + "Fetching from the web…": "正在从网络获取...", + "pending=\"Loading skill…\"": "pending=\"正在加载技能...\"" } }