From e43a0baa089ed1dc9aaa46652d5d1d93a126e81c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E9=98=BF=E6=B1=9F=28Relakkes?= =?UTF-8?q?=29?= Date: Thu, 9 Apr 2026 00:32:11 +0800 Subject: [PATCH] feat: add i18n translations for multi-tab feature Co-Authored-By: Claude Sonnet 4.6 --- desktop/src/i18n/locales/en.ts | 9 +++++++++ desktop/src/i18n/locales/zh.ts | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/desktop/src/i18n/locales/en.ts b/desktop/src/i18n/locales/en.ts index 7d22245a..d61dabfb 100644 --- a/desktop/src/i18n/locales/en.ts +++ b/desktop/src/i18n/locales/en.ts @@ -434,6 +434,15 @@ export const en = { 'serverVerb.Thinking': 'Thinking', 'serverVerb.Task started': 'Task started', 'serverVerb.Task in progress': 'Task in progress', + + // ─── Tabs ────────────────────────────────────── + 'tabs.close': 'Close', + 'tabs.closeOthers': 'Close Others', + 'tabs.closeRight': 'Close to the Right', + 'tabs.closeConfirmTitle': 'Session Running', + 'tabs.closeConfirmMessage': 'This session is still running. What would you like to do?', + 'tabs.closeConfirmKeep': 'Keep Running', + 'tabs.closeConfirmStop': 'Stop & Close', } as const export type TranslationKey = keyof typeof en diff --git a/desktop/src/i18n/locales/zh.ts b/desktop/src/i18n/locales/zh.ts index 9f5fd3db..9cbe328b 100644 --- a/desktop/src/i18n/locales/zh.ts +++ b/desktop/src/i18n/locales/zh.ts @@ -436,4 +436,13 @@ export const zh: Record = { 'serverVerb.Thinking': '思考中', 'serverVerb.Task started': '任务已启动', 'serverVerb.Task in progress': '任务进行中', + + // ─── Tabs ────────────────────────────────────── + 'tabs.close': '关闭', + 'tabs.closeOthers': '关闭其他', + 'tabs.closeRight': '关闭右侧', + 'tabs.closeConfirmTitle': '会话运行中', + 'tabs.closeConfirmMessage': '此会话仍在运行,你想要怎么做?', + 'tabs.closeConfirmKeep': '保持运行', + 'tabs.closeConfirmStop': '停止并关闭', }