feat: add i18n translations for multi-tab feature

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
程序员阿江(Relakkes) 2026-04-09 00:32:11 +08:00
parent 9908c17b85
commit e43a0baa08
2 changed files with 18 additions and 0 deletions

View File

@ -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

View File

@ -436,4 +436,13 @@ export const zh: Record<TranslationKey, string> = {
'serverVerb.Thinking': '思考中',
'serverVerb.Task started': '任务已启动',
'serverVerb.Task in progress': '任务进行中',
// ─── Tabs ──────────────────────────────────────
'tabs.close': '关闭',
'tabs.closeOthers': '关闭其他',
'tabs.closeRight': '关闭右侧',
'tabs.closeConfirmTitle': '会话运行中',
'tabs.closeConfirmMessage': '此会话仍在运行,你想要怎么做?',
'tabs.closeConfirmKeep': '保持运行',
'tabs.closeConfirmStop': '停止并关闭',
}