diff options
| author | GitHub Action <[email protected]> | 2026-01-20 23:58:59 +0000 |
|---|---|---|
| committer | GitHub Action <[email protected]> | 2026-01-20 23:58:59 +0000 |
| commit | bb8bf32abe55ac49c45eb4801a61db6ca3c3b453 (patch) | |
| tree | 966e2344896cd538192004f118b121db09c5af26 /packages/app/src/i18n | |
| parent | 233d003b4926ec615ff15c1ddd54a1719a62ef13 (diff) | |
| download | opencode-bb8bf32abe55ac49c45eb4801a61db6ca3c3b453.tar.gz opencode-bb8bf32abe55ac49c45eb4801a61db6ca3c3b453.zip | |
chore: generate
Diffstat (limited to 'packages/app/src/i18n')
| -rw-r--r-- | packages/app/src/i18n/en.ts | 28 | ||||
| -rw-r--r-- | packages/app/src/i18n/zh.ts | 16 |
2 files changed, 25 insertions, 19 deletions
diff --git a/packages/app/src/i18n/en.ts b/packages/app/src/i18n/en.ts index 5db336330..992685909 100644 --- a/packages/app/src/i18n/en.ts +++ b/packages/app/src/i18n/en.ts @@ -144,7 +144,7 @@ export const dict = { "common.attachment": "attachment", "prompt.placeholder.shell": "Enter shell command...", - "prompt.placeholder.normal": "Ask anything... \"{{example}}\"", + "prompt.placeholder.normal": 'Ask anything... "{{example}}"', "prompt.mode.shell": "Shell", "prompt.mode.shell.exit": "esc to exit", @@ -219,7 +219,8 @@ export const dict = { "dialog.server.add.checking": "Checking...", "dialog.server.add.button": "Add", "dialog.server.default.title": "Default server", - "dialog.server.default.description": "Connect to this server on app launch instead of starting a local server. Requires restart.", + "dialog.server.default.description": + "Connect to this server on app launch instead of starting a local server. Requires restart.", "dialog.server.default.none": "No server selected", "dialog.server.default.set": "Set current server as default", "dialog.server.default.clear": "Clear", @@ -233,7 +234,7 @@ export const dict = { "dialog.project.edit.color": "Color", "context.breakdown.title": "Context Breakdown", - "context.breakdown.note": "Approximate breakdown of input tokens. \"Other\" includes tool definitions and overhead.", + "context.breakdown.note": 'Approximate breakdown of input tokens. "Other" includes tool definitions and overhead.', "context.breakdown.system": "System", "context.breakdown.user": "User", "context.breakdown.assistant": "Assistant", @@ -327,14 +328,14 @@ export const dict = { "error.chain.didYouMean": "Did you mean: {{suggestions}}", "error.chain.modelNotFound": "Model not found: {{provider}}/{{model}}", "error.chain.checkConfig": "Check your config (opencode.json) provider/model names", - "error.chain.mcpFailed": - "MCP server \"{{name}}\" failed. Note, OpenCode does not support MCP authentication yet.", + "error.chain.mcpFailed": 'MCP server "{{name}}" failed. Note, OpenCode does not support MCP authentication yet.', "error.chain.providerAuthFailed": "Provider authentication failed ({{provider}}): {{message}}", - "error.chain.providerInitFailed": "Failed to initialize provider \"{{provider}}\". Check credentials and configuration.", + "error.chain.providerInitFailed": + 'Failed to initialize provider "{{provider}}". Check credentials and configuration.', "error.chain.configJsonInvalid": "Config file at {{path}} is not valid JSON(C)", "error.chain.configJsonInvalidWithMessage": "Config file at {{path}} is not valid JSON(C): {{message}}", "error.chain.configDirectoryTypo": - "Directory \"{{dir}}\" in {{path}} is not valid. Rename the directory to \"{{suggestion}}\" or remove it. This is a common typo.", + 'Directory "{{dir}}" in {{path}} is not valid. Rename the directory to "{{suggestion}}" or remove it. This is a common typo.', "error.chain.configFrontmatterError": "Failed to parse frontmatter in {{path}}:\n{{message}}", "error.chain.configInvalid": "Config file at {{path}} is invalid", "error.chain.configInvalidWithMessage": "Config file at {{path}} is invalid: {{message}}", @@ -374,8 +375,10 @@ export const dict = { "session.header.search.placeholder": "Search {{project}}", "session.share.popover.title": "Publish on web", - "session.share.popover.description.shared": "This session is public on the web. It is accessible to anyone with the link.", - "session.share.popover.description.unshared": "Share session publicly on the web. It will be accessible to anyone with the link.", + "session.share.popover.description.shared": + "This session is public on the web. It is accessible to anyone with the link.", + "session.share.popover.description.unshared": + "Share session publicly on the web. It will be accessible to anyone with the link.", "session.share.action.share": "Share", "session.share.action.publish": "Publish", "session.share.action.publishing": "Publishing...", @@ -433,7 +436,8 @@ export const dict = { "settings.general.row.font.description": "Customise the mono font used in code blocks", "settings.general.notifications.agent.title": "Agent", - "settings.general.notifications.agent.description": "Show system notification when the agent is complete or needs attention", + "settings.general.notifications.agent.description": + "Show system notification when the agent is complete or needs attention", "settings.general.notifications.permissions.title": "Permissions", "settings.general.notifications.permissions.description": "Show system notification when a permission is required", "settings.general.notifications.errors.title": "Errors", @@ -530,10 +534,10 @@ export const dict = { "workspace.status.clean": "No unmerged changes detected.", "workspace.status.dirty": "Unmerged changes detected in this workspace.", "workspace.delete.title": "Delete workspace", - "workspace.delete.confirm": "Delete workspace \"{{name}}\"?", + "workspace.delete.confirm": 'Delete workspace "{{name}}"?', "workspace.delete.button": "Delete workspace", "workspace.reset.title": "Reset workspace", - "workspace.reset.confirm": "Reset workspace \"{{name}}\"?", + "workspace.reset.confirm": 'Reset workspace "{{name}}"?', "workspace.reset.button": "Reset workspace", "workspace.reset.archived.none": "No active sessions will be archived.", "workspace.reset.archived.one": "1 session will be archived.", diff --git a/packages/app/src/i18n/zh.ts b/packages/app/src/i18n/zh.ts index bd809bdb9..ace06f3db 100644 --- a/packages/app/src/i18n/zh.ts +++ b/packages/app/src/i18n/zh.ts @@ -108,7 +108,8 @@ export const dict = { "provider.connect.status.inProgress": "正在授权...", "provider.connect.status.waiting": "等待授权...", "provider.connect.status.failed": "授权失败: {{error}}", - "provider.connect.apiKey.description": "输入你的 {{provider}} API 密钥以连接帐户,并在 OpenCode 中使用 {{provider}} 模型。", + "provider.connect.apiKey.description": + "输入你的 {{provider}} API 密钥以连接帐户,并在 OpenCode 中使用 {{provider}} 模型。", "provider.connect.apiKey.label": "{{provider}} API 密钥", "provider.connect.apiKey.placeholder": "API 密钥", "provider.connect.apiKey.required": "API 密钥为必填项", @@ -143,7 +144,7 @@ export const dict = { "common.attachment": "附件", "prompt.placeholder.shell": "输入 shell 命令...", - "prompt.placeholder.normal": "随便问点什么... \"{{example}}\"", + "prompt.placeholder.normal": '随便问点什么... "{{example}}"', "prompt.mode.shell": "Shell", "prompt.mode.shell.exit": "按 esc 退出", @@ -325,12 +326,13 @@ export const dict = { "error.chain.didYouMean": "你是不是想输入: {{suggestions}}", "error.chain.modelNotFound": "未找到模型: {{provider}}/{{model}}", "error.chain.checkConfig": "请检查你的配置 (opencode.json) 中的 provider/model 名称", - "error.chain.mcpFailed": "MCP 服务器 \"{{name}}\" 启动失败。注意: OpenCode 暂不支持 MCP 认证。", + "error.chain.mcpFailed": 'MCP 服务器 "{{name}}" 启动失败。注意: OpenCode 暂不支持 MCP 认证。', "error.chain.providerAuthFailed": "提供商认证失败 ({{provider}}): {{message}}", - "error.chain.providerInitFailed": "无法初始化提供商 \"{{provider}}\"。请检查凭据和配置。", + "error.chain.providerInitFailed": '无法初始化提供商 "{{provider}}"。请检查凭据和配置。', "error.chain.configJsonInvalid": "配置文件 {{path}} 不是有效的 JSON(C)", "error.chain.configJsonInvalidWithMessage": "配置文件 {{path}} 不是有效的 JSON(C): {{message}}", - "error.chain.configDirectoryTypo": "{{path}} 中的目录 \"{{dir}}\" 无效。请将目录重命名为 \"{{suggestion}}\" 或移除它。这是一个常见拼写错误。", + "error.chain.configDirectoryTypo": + '{{path}} 中的目录 "{{dir}}" 无效。请将目录重命名为 "{{suggestion}}" 或移除它。这是一个常见拼写错误。', "error.chain.configFrontmatterError": "无法解析 {{path}} 中的 frontmatter:\n{{message}}", "error.chain.configInvalid": "配置文件 {{path}} 无效", "error.chain.configInvalidWithMessage": "配置文件 {{path}} 无效: {{message}}", @@ -526,10 +528,10 @@ export const dict = { "workspace.status.clean": "未检测到未合并的更改。", "workspace.status.dirty": "检测到未合并的更改。", "workspace.delete.title": "删除工作区", - "workspace.delete.confirm": "删除工作区 \"{{name}}\"?", + "workspace.delete.confirm": '删除工作区 "{{name}}"?', "workspace.delete.button": "删除工作区", "workspace.reset.title": "重置工作区", - "workspace.reset.confirm": "重置工作区 \"{{name}}\"?", + "workspace.reset.confirm": '重置工作区 "{{name}}"?', "workspace.reset.button": "重置工作区", "workspace.reset.archived.none": "不会归档任何活跃会话。", "workspace.reset.archived.one": "将归档 1 个会话。", |
