Skip to content

Commit 1455957

Browse files
authored
i18n(opencode): 同步上游 dev 文案变更,更新词表
i18n(opencode): 同步上游 dev 文案变更,更新词表
2 parents 33516f3 + 7d2f337 commit 1455957

5 files changed

Lines changed: 22 additions & 22 deletions

File tree

cli-go/internal/core/assets/opencode-i18n/common/app-messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"title: \"Agent cycle\"": "title: \"智能体循环\"",
1212
"title: \"Agent cycle reverse\"": "title: \"智能体反向循环\"",
1313
"message: \"Failed to fork session\"": "message: \"分支会话失败\"",
14-
"message: `Updating to v${version}...`": "message: `正在更新至 v${version}...`"
14+
"message: `Updating to v${version}`": "message: `正在更新至 v${version}...`"
1515
},
1616
"note": "已移除不再存在于源代码中的条目: update-available, copy issue URL, openrouter, console selection"
1717
}

cli-go/internal/core/assets/opencode-i18n/components/inline-tools.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
"file": "packages/tui/src/routes/session/index.tsx",
33
"description": "工具提示文本",
44
"replacements": {
5-
"pending=\"Writing command...\"": "pending=\"正在写入命令...\"",
6-
"pending=\"Preparing write...\"": "pending=\"正在准备写入...\"",
7-
"pending=\"Finding files...\"": "pending=\"正在查找文件...\"",
8-
"pending=\"Reading file...\"": "pending=\"正在读取文件...\"",
9-
"pending=\"Searching content...\"": "pending=\"正在搜索内容...\"",
10-
"pending=\"Fetching from the web...\"": "pending=\"正在从网络获取...\"",
11-
"pending=\"Searching web...\"": "pending=\"正在搜索网络...\"",
12-
"pending=\"Delegating...\"": "pending=\"正在委托...\"",
13-
"pending=\"Preparing edit...\"": "pending=\"正在准备编辑...\"",
14-
"pending=\"Preparing patch...\"": "pending=\"正在准备补丁...\"",
15-
"pending=\"Updating todos...\"": "pending=\"正在更新待办...\"",
16-
"pending=\"Asking questions...\"": "pending=\"正在询问问题...\"",
17-
"pending=\"Loading skill...\"": "pending=\"正在加载技能...\"",
18-
"<text fg={theme.textMuted}>{expanded() ? \"Click to collapse\" : \"Click to expand\"}</text>": "<text fg={theme.textMuted}>{expanded() ? \"点击折叠\" : \"点击展开\"}</text>"
5+
"<text fg={theme.textMuted}>{expanded() ? \"Click to collapse\" : \"Click to expand\"}</text>": "<text fg={theme.textMuted}>{expanded() ? \"点击折叠\" : \"点击展开\"}</text>",
6+
"pending=\"Writing command…\"": "pending=\"正在写入命令...\"",
7+
"pending=\"Preparing write…\"": "pending=\"正在准备写入...\"",
8+
"pending=\"Finding files…\"": "pending=\"正在查找文件...\"",
9+
"pending=\"Reading file…\"": "pending=\"正在读取文件...\"",
10+
"pending=\"Searching content…\"": "pending=\"正在搜索内容...\"",
11+
"pending=\"Fetching from the web\"": "pending=\"正在从网络获取...\"",
12+
"pending=\"Searching web…\"": "pending=\"正在搜索网络...\"",
13+
"pending=\"Delegating…\"": "pending=\"正在委托...\"",
14+
"pending=\"Preparing edit…\"": "pending=\"正在准备编辑...\"",
15+
"pending=\"Preparing patch…\"": "pending=\"正在准备补丁...\"",
16+
"pending=\"Updating todos…\"": "pending=\"正在更新待办...\"",
17+
"pending=\"Asking questions…\"": "pending=\"正在询问问题...\"",
18+
"pending=\"Loading skill…\"": "pending=\"正在加载技能...\""
1919
}
2020
}

cli-go/internal/core/assets/opencode-i18n/dialogs/dialog-provider.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"(Recommended)": "(推荐)",
1212
"(API key)": "(API密钥)",
1313
"(ChatGPT Plus/Pro or API key)": "(ChatGPT Plus/Pro 或 API密钥)",
14-
"<text fg={theme.textMuted}>Waiting for authorization...</text>": "<text fg={theme.textMuted}>等待授权...</text>",
1514
"<text fg={theme.error}>Invalid code</text>": "<text fg={theme.error}>无效的授权码</text>",
1615
"c <span style={{ fg: theme.textMuted }}>copy</span>": "c <span style={{ fg: theme.textMuted }}>复制</span>",
1716
"Low cost subscription for everyone": "适合所有人的低成本订阅",
@@ -20,6 +19,7 @@
2019
"to get a key": "获取密钥",
2120
"Copied to clipboard": "已复制到剪贴板",
2221
"Custom provider": "自定义提供商",
23-
"This only stores a credential. Configure the provider in opencode.json to use it.": "这仅存储凭据。在 opencode.json 中配置提供商以使用它。"
22+
"This only stores a credential. Configure the provider in opencode.json to use it.": "这仅存储凭据。在 opencode.json 中配置提供商以使用它。",
23+
"<text fg={theme.textMuted}>Waiting for authorization…</text>": "<text fg={theme.textMuted}>等待授权...</text>"
2424
}
2525
}

cli-go/internal/core/assets/opencode-i18n/dialogs/dialog-skill.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Skills 选择对话框",
44
"replacements": {
55
"title=\"Skills\"": "title=\"技能\"",
6-
"placeholder=\"Search skills...\"": "placeholder=\"搜索技能...\"",
7-
"category: \"Skills\"": "category: \"技能\""
6+
"category: \"Skills\"": "category: \"技能\"",
7+
"placeholder=\"Search skills…\"": "placeholder=\"搜索技能...\""
88
}
99
}

cli-go/internal/core/assets/opencode-i18n/routes/route-session.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
"title: \"Line down\"": "title: \"向下滚动\"",
5656
"message: \"Failed to copy URL to clipboard\"": "message: \"复制链接到剪贴板失败\"",
5757
"{revert()!.reverted.length} message reverted": "{revert()!.reverted.length} 条消息已撤销",
58-
"Fetching from the web...": "正在从网络获取...",
59-
"pending=\"Loading skill...\"": "pending=\"正在加载技能...\"",
6058
"Skill \"{stringValue(props.input.name)}\"": "技能 \"{stringValue(props.input.name)}\"",
61-
"\"match\" : \"matches\"": "\"匹配\" : \"匹配\""
59+
"\"match\" : \"matches\"": "\"匹配\" : \"匹配\"",
60+
"Fetching from the web…": "正在从网络获取...",
61+
"pending=\"Loading skill…\"": "pending=\"正在加载技能...\""
6262
}
6363
}

0 commit comments

Comments
 (0)