feat(ui): add locales and split catalogs

Adds Spanish, French, Russian, Japanese, and Simplified Chinese catalogs and wires supported locales into the i18n layer.
This commit is contained in:
Shantur Rathore
2026-01-26 12:56:26 +00:00
parent 5b1e21345f
commit feccbd13bd
89 changed files with 4531 additions and 30 deletions

View File

@@ -0,0 +1,125 @@
export const instanceMessages = {
"instanceTabs.new.title": "新建实例 (Cmd/Ctrl+N)",
"instanceTabs.new.ariaLabel": "新建实例",
"instanceTabs.remote.title": "远程连接",
"instanceTabs.remote.ariaLabel": "远程连接",
"instanceInfo.title": "实例信息",
"instanceInfo.labels.folder": "文件夹",
"instanceInfo.labels.project": "项目",
"instanceInfo.labels.versionControl": "版本控制",
"instanceInfo.labels.opencodeVersion": "OpenCode 版本",
"instanceInfo.labels.binaryPath": "可执行文件路径",
"instanceInfo.labels.environmentVariables": "环境变量({count}",
"instanceInfo.loading": "正在加载...",
"instanceInfo.server.title": "服务器",
"instanceInfo.server.port": "端口:",
"instanceInfo.server.pid": "PID:",
"instanceInfo.server.status": "状态:",
"instanceTab.status.permission": "等待权限",
"instanceTab.status.compacting": "压缩中",
"instanceTab.status.working": "工作中",
"instanceTab.status.idle": "空闲",
"instanceTab.status.ariaLabel": "实例状态:{status}",
"instanceTab.actions.close.ariaLabel": "关闭实例",
"instanceShell.leftPanel.sessionsTitle": "会话",
"instanceShell.leftPanel.instanceInfo": "实例信息",
"instanceShell.leftDrawer.pin": "固定左侧抽屉",
"instanceShell.leftDrawer.unpin": "取消固定左侧抽屉",
"instanceShell.leftDrawer.toggle.pinned": "左侧抽屉已固定",
"instanceShell.leftDrawer.toggle.open": "打开左侧抽屉",
"instanceShell.leftDrawer.toggle.close": "关闭左侧抽屉",
"instanceShell.rightDrawer.pin": "固定右侧抽屉",
"instanceShell.rightDrawer.unpin": "取消固定右侧抽屉",
"instanceShell.rightDrawer.toggle.pinned": "右侧抽屉已固定",
"instanceShell.rightDrawer.toggle.open": "打开右侧抽屉",
"instanceShell.rightDrawer.toggle.close": "关闭右侧抽屉",
"instanceShell.metrics.usedLabel": "已用",
"instanceShell.metrics.availableLabel": "可用",
"instanceShell.commandPalette.openAriaLabel": "打开命令面板",
"instanceShell.commandPalette.button": "命令面板",
"instanceShell.connection.ariaLabel": "连接 {status}",
"instanceShell.connection.connected": "已连接",
"instanceShell.connection.connecting": "连接中...",
"instanceShell.connection.disconnected": "已断开",
"instanceShell.connection.unknown": "未知",
"instanceWelcome.shortcuts.newSession": "新建会话",
"instanceWelcome.empty.title": "没有历史会话",
"instanceWelcome.empty.description": "在下方创建新会话以开始使用",
"instanceWelcome.loading.title": "正在加载会话",
"instanceWelcome.loading.description": "正在获取你的历史会话...",
"instanceWelcome.resume.title": "继续会话",
"instanceWelcome.resume.subtitle.one": "{count} 个会话可用",
"instanceWelcome.resume.subtitle.other": "{count} 个会话可用",
"instanceWelcome.session.untitled": "未命名会话",
"instanceWelcome.new.title": "开始新会话",
"instanceWelcome.new.subtitle": "将自动沿用上一次的智能体/模型",
"instanceWelcome.new.createButton": "创建会话",
"instanceWelcome.overlay.close": "关闭",
"instanceWelcome.actions.viewInstanceInfo": "查看实例信息",
"instanceWelcome.actions.renameTitle": "重命名会话",
"instanceWelcome.actions.deleteTitle": "删除会话",
"instanceWelcome.hints.navigate": "导航",
"instanceWelcome.hints.jump": "跳转",
"instanceWelcome.hints.firstLast": "首/末",
"instanceWelcome.hints.resume": "继续",
"instanceWelcome.hints.delete": "删除",
"instanceWelcome.toasts.renameError": "无法重命名会话",
"instanceDisconnected.title": "实例已断开连接",
"instanceDisconnected.folderFallback": "此工作区",
"instanceDisconnected.reasonFallback": "服务器停止响应",
"instanceDisconnected.description": "{folder} 已无法访问。关闭此标签页以继续工作。",
"instanceDisconnected.details.title": "详情",
"instanceDisconnected.details.folderLabel": "文件夹:",
"instanceDisconnected.actions.closeInstance": "关闭实例",
"instanceShell.empty.title": "未选择会话",
"instanceShell.empty.description": "选择会话以查看消息",
"instanceShell.rightPanel.title": "状态面板",
"instanceShell.rightPanel.sections.plan": "计划",
"instanceShell.rightPanel.sections.backgroundProcesses": "后台 Shell",
"instanceShell.rightPanel.sections.mcp": "MCP 服务器",
"instanceShell.rightPanel.sections.lsp": "LSP 服务器",
"instanceShell.rightPanel.sections.plugins": "插件",
"instanceShell.plan.noSessionSelected": "选择会话以查看计划。",
"instanceShell.plan.empty": "暂无计划。",
"instanceShell.backgroundProcesses.empty": "没有后台进程。",
"instanceShell.backgroundProcesses.status": "状态:{status}",
"instanceShell.backgroundProcesses.output": "输出:{sizeKb}KB",
"instanceShell.backgroundProcesses.actions.output": "输出",
"instanceShell.backgroundProcesses.actions.stop": "停止",
"instanceShell.backgroundProcesses.actions.terminate": "终止",
"versionPill.appWithVersion": "应用 {version}",
"versionPill.ui": "UI",
"versionPill.uiWithVersion": "UI {version}",
"versionPill.source": " {source}",
"opencodeBinarySelector.title": "OpenCode 可执行文件",
"opencodeBinarySelector.subtitle": "选择 OpenCode 要运行的可执行文件",
"opencodeBinarySelector.customPath.placeholder": "输入 opencode 可执行文件路径…",
"opencodeBinarySelector.actions.add": "添加",
"opencodeBinarySelector.actions.browse": "浏览可执行文件…",
"opencodeBinarySelector.actions.removeTitle": "移除可执行文件",
"opencodeBinarySelector.badge.systemPath": "使用系统 PATH 中的可执行文件",
"opencodeBinarySelector.status.checkingVersions": "正在检查版本…",
"opencodeBinarySelector.status.checking": "正在检查…",
"opencodeBinarySelector.dialog.title": "选择 OpenCode 可执行文件",
"opencodeBinarySelector.dialog.description": "浏览 CLI 服务器暴露的文件。",
"opencodeBinarySelector.validation.invalidBinary": "无效的 OpenCode 可执行文件",
"opencodeBinarySelector.validation.alreadyValidating": "正在验证中",
"opencodeBinarySelector.display.systemPath": "{name}(系统 PATH",
"opencodeBinarySelector.versionLabel": "v{version}",
} as const