From 7d379e6313feaa1efdc19901ab173e48598e6f24 Mon Sep 17 00:00:00 2001 From: dx2102 <68818393+dx2102@users.noreply.github.com> Date: Sun, 12 Jul 2026 04:18:33 +0800 Subject: [PATCH] fix(i18n): align desktop zh/zh-hant allowSession wording with CLI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The current "允许本会话" reads as "allow (the session itself)": 本会话 sits in object position after 允许, not as a scope adverb. "本次会话内允许" moves the scope up front, matching the CLI's approval.allowed_session. --- apps/desktop/src/i18n/zh-hant.ts | 2 +- apps/desktop/src/i18n/zh.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/i18n/zh-hant.ts b/apps/desktop/src/i18n/zh-hant.ts index f58fe80edd54b..8189024ad239f 100644 --- a/apps/desktop/src/i18n/zh-hant.ts +++ b/apps/desktop/src/i18n/zh-hant.ts @@ -2170,7 +2170,7 @@ export const zhHant = defineLocale({ run: '執行', command: '指令', moreOptions: '更多核准選項', - allowSession: '允許本工作階段', + allowSession: '本次工作階段內允許', alwaysAllowMenu: '一律允許…', jumpToApproval: '需要核准', reject: '拒絕', diff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.ts index babc9b778d257..836c458ccbfc1 100644 --- a/apps/desktop/src/i18n/zh.ts +++ b/apps/desktop/src/i18n/zh.ts @@ -2456,7 +2456,7 @@ export const zh: Translations = { run: '运行', command: '命令', moreOptions: '更多审批选项', - allowSession: '允许本会话', + allowSession: '本次会话内允许', alwaysAllowMenu: '始终允许…', jumpToApproval: '需要审批', reject: '拒绝',