mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-25 14:53:32 +08:00
feat: add i18n translations for multi-tab feature
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9908c17b85
commit
e43a0baa08
@ -434,6 +434,15 @@ export const en = {
|
|||||||
'serverVerb.Thinking': 'Thinking',
|
'serverVerb.Thinking': 'Thinking',
|
||||||
'serverVerb.Task started': 'Task started',
|
'serverVerb.Task started': 'Task started',
|
||||||
'serverVerb.Task in progress': 'Task in progress',
|
'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
|
} as const
|
||||||
|
|
||||||
export type TranslationKey = keyof typeof en
|
export type TranslationKey = keyof typeof en
|
||||||
|
|||||||
@ -436,4 +436,13 @@ export const zh: Record<TranslationKey, string> = {
|
|||||||
'serverVerb.Thinking': '思考中',
|
'serverVerb.Thinking': '思考中',
|
||||||
'serverVerb.Task started': '任务已启动',
|
'serverVerb.Task started': '任务已启动',
|
||||||
'serverVerb.Task in progress': '任务进行中',
|
'serverVerb.Task in progress': '任务进行中',
|
||||||
|
|
||||||
|
// ─── Tabs ──────────────────────────────────────
|
||||||
|
'tabs.close': '关闭',
|
||||||
|
'tabs.closeOthers': '关闭其他',
|
||||||
|
'tabs.closeRight': '关闭右侧',
|
||||||
|
'tabs.closeConfirmTitle': '会话运行中',
|
||||||
|
'tabs.closeConfirmMessage': '此会话仍在运行,你想要怎么做?',
|
||||||
|
'tabs.closeConfirmKeep': '保持运行',
|
||||||
|
'tabs.closeConfirmStop': '停止并关闭',
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user