Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 25 additions & 3 deletions packages/app/src/i18n/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const dict = {
"command.model.variant.cycle.description": "切换到下一个强度等级",

"command.prompt.mode.shell": "Shell",
"command.prompt.mode.normal": "Prompt",
"command.prompt.mode.normal": "提示",

"command.permissions.autoaccept.enable": "自动接受权限",
"command.permissions.autoaccept.disable": "停止自动接受权限",
Expand Down Expand Up @@ -634,8 +634,6 @@ export const dict = {
"settings.general.row.theme.description": "自定义 OpenCode 的主题。",
"settings.general.row.font.title": "代码字体",
"settings.general.row.font.description": "自定义代码块使用的字体",
"settings.general.row.terminalFont.title": "Terminal Font",
"settings.general.row.terminalFont.description": "Customise the font used in the terminal",
"settings.general.row.uiFont.title": "界面字体",
"settings.general.row.uiFont.description": "自定义整个界面使用的字体",
"settings.general.row.followup.title": "跟进消息行为",
Expand Down Expand Up @@ -917,4 +915,28 @@ export const dict = {
"error.childStore.persistedProjectIconCreateFailed": "创建持久化项目图标失败",
"error.childStore.storeCreateFailed": "创建存储失败",
"terminal.connectionLost.abnormalClose": "WebSocket 异常关闭:{{code}}",
"command.project.next": "下一个项目",
"command.project.previous": "上一个项目",
"session.child.backToParent": "返回主会话。",
"session.child.promptDisabled": "子代理会话无法接收提示。",
"session.review.noBranchChanges": "暂无分支更改",
"session.review.noUncommittedChanges": "暂无未提交的更改",
"settings.general.row.shell.autoDefault": "自动(默认)",
"settings.general.row.shell.description": "选择终端使用的 shell。兼容的 shell 包括 bash、zsh、fish 等。",
"settings.general.row.shell.terminalOnly": "仅终端",
"settings.general.row.shell.title": "终端 Shell",
"settings.general.row.showFileTree.description": "在桌面会话中显示文件树开关和面板",
"settings.general.row.showFileTree.title": "文件树",
"settings.general.row.showNavigation.description": "在桌面标题栏中显示后退和前进按钮",
"settings.general.row.showNavigation.title": "导航控件",
"settings.general.row.showSearch.description": "在桌面标题栏中显示搜索和命令面板按钮",
"settings.general.row.showSearch.title": "搜索",
"settings.general.row.showTerminal.description": "默认在桌面会话中显示终端",
"settings.general.row.showTerminal.title": "显示终端",
"settings.general.row.terminalFont.description": "选择终端中使用的字体",
"settings.general.row.terminalFont.title": "终端字体",
"settings.workspace.enableTeam.delegate": "将设置委托给工作区",
"settings.workspace.enableTeam.delegateHint": "启用后,此设置将由工作区管理员管理。",
"settings.workspace.enableTeam.title": "工作区设置",
"settings.workspace.enableTeam.manage": "管理工作区",
} satisfies Partial<Record<Keys, string>>
8 changes: 7 additions & 1 deletion packages/ui/src/i18n/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const dict = {
"ui.tool.list": "列表",
"ui.tool.glob": "Glob",
"ui.tool.grep": "Grep",
"ui.tool.webfetch": "Webfetch",
"ui.tool.webfetch": "网页获取",
"ui.tool.websearch": "网络搜索",
"ui.tool.shell": "Shell",
"ui.tool.patch": "补丁",
Expand Down Expand Up @@ -160,4 +160,10 @@ export const dict = {
"ui.toolErrorCard.copyError": "复制错误",
"ui.message.duration.seconds": "{{count}}秒",
"ui.message.duration.minutesSeconds": "{{minutes}}分 {{seconds}}秒",
"ui.sessionReview.title.branch": "分支更改",
"ui.sessionReview.title.git": "Git 更改",
"ui.sessionTurn.diffs.changed": "已更改",
"ui.sessionTurn.diffs.more": "+{{count}} 个更多文件",
"ui.sessionTurn.diffs.showAll": "显示全部",
"ui.sessionTurn.diffs.showLess": "显示更少",
} satisfies Partial<Record<Keys, string>>
Loading