From 8de46df462f8ea89ae93d382ceb61735103ed2b5 Mon Sep 17 00:00:00 2001 From: gaokui2010 <104522056+gaokui2010@users.noreply.github.com> Date: Sat, 14 Nov 2026 09:43:11 +0800 Subject: [PATCH] fix(i18n): translate Add project menu and collapse-all tour tip into Simplified Chinese (#42106) Add the missing zh.json entries for the Add project menu (auto.components.sidebar.AddProjectMenu.*), the contextual-tour "New" badge, and the collapse-all-projects tour step. Keys follow en.json ordering and preserve the {{host}}, {{modifier}} and {sidebar.projects.toggleCollapse} placeholders. --- src/renderer/src/i18n/locales/zh.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/renderer/src/i18n/locales/zh.json b/src/renderer/src/i18n/locales/zh.json index ebde9222fcd..b3196b946b1 100644 --- a/src/renderer/src/i18n/locales/zh.json +++ b/src/renderer/src/i18n/locales/zh.json @@ -6921,6 +6921,14 @@ }, "workspaceKanbanStatusLane": { "newWorkspaceInStatus": "在「{{status}}」中新建工作区" + }, + "AddProjectMenu": { + "changeProjectHost": "项目主机:{{host}}", + "projectHost": "项目主机", + "addRemoteHost": "添加远程主机…", + "browseFolder": "浏览文件夹…", + "cloneFromUrl": "从 URL 克隆…", + "createNewProject": "创建新项目…" } }, "shared": { @@ -20576,6 +20584,15 @@ "title": "在聊天旁打开窗格", "action": "拆分窗格" } + }, + "badgeNew": "新功能", + "projectsCollapseAll": { + "intro": { + "title": "一次性折叠所有项目", + "body": "按 {sidebar.projects.toggleCollapse}、点击此按钮,或按住 {{modifier}} 点击任意项目标题", + "bodyWithoutShortcut": "点击此按钮,或按住 {{modifier}} 点击任意项目标题", + "action": "知道了" + } } }, "toastFallbacks": {