From 561ae1aefee44a20af8efb4d1c52bf1add4f4c32 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, 4 Jun 2026 23:20:55 +0800 Subject: [PATCH] feat(desktop): fill jp/kr/zh-TW keys added since the PR branched MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Main added two TranslationKeys after this branch's base — 'thinking.labelDone' (the "Thought" label shown after thinking completes) and 'slashCmd.agent.description' — which the jp/kr/zh-TW locale files did not yet cover, so the Record contract failed tsc after merging main. Add both keys to each new locale: - jp: '思考完了' / '選択した Agent でプロンプトを実行' - kr: '사고 완료' / '선택한 Agent로 프롬프트 실행' - zh-TW: '已思考' / '使用指定 Agent 執行提示' en/zh are unchanged. `tsc --noEmit` is now clean and the i18n + timestamp suites pass. Co-Authored-By: Claude Opus 4.8 (1M context) --- desktop/src/i18n/locales/jp.ts | 2 ++ desktop/src/i18n/locales/kr.ts | 2 ++ desktop/src/i18n/locales/zh-TW.ts | 2 ++ 3 files changed, 6 insertions(+) diff --git a/desktop/src/i18n/locales/jp.ts b/desktop/src/i18n/locales/jp.ts index 36cec6f7..98d26b17 100644 --- a/desktop/src/i18n/locales/jp.ts +++ b/desktop/src/i18n/locales/jp.ts @@ -1306,6 +1306,7 @@ export const jp: Record = { // ─── Thinking Block ────────────────────────────────────── 'thinking.label': '思考中', + 'thinking.labelDone': '思考完了', // ─── Tool Calls ────────────────────────────────────── 'tool.errorOutput': 'エラー出力', @@ -1662,6 +1663,7 @@ export const jp: Record = { 'tabs.closeConfirmMessage': 'このセッションはまだ実行中です。どうしますか?', 'tabs.closeConfirmKeep': '実行を継続', // ─── Slash Command Descriptions ────────────────────────────────────── + 'slashCmd.agent.description': '選択した Agent でプロンプトを実行', 'slashCmd.mcp.description': '現在のチャットコンテキストで利用可能な MCP ツールを開く', 'slashCmd.skills.description': '現在のチャットコンテキストでユーザーが呼び出せるスキルを閲覧', 'slashCmd.help.description': '利用可能なデスクトップおよびエージェントのコマンドを表示', diff --git a/desktop/src/i18n/locales/kr.ts b/desktop/src/i18n/locales/kr.ts index 8f691d67..7160e04c 100644 --- a/desktop/src/i18n/locales/kr.ts +++ b/desktop/src/i18n/locales/kr.ts @@ -1306,6 +1306,7 @@ export const kr: Record = { // ─── Thinking Block ────────────────────────────────────── 'thinking.label': '사고 중', + 'thinking.labelDone': '사고 완료', // ─── Tool Calls ────────────────────────────────────── 'tool.errorOutput': '오류 출력', @@ -1662,6 +1663,7 @@ export const kr: Record = { 'tabs.closeConfirmMessage': '이 세션은 아직 실행 중입니다. 어떻게 하시겠습니까?', 'tabs.closeConfirmKeep': '계속 실행', // ─── Slash Command Descriptions ────────────────────────────────────── + 'slashCmd.agent.description': '선택한 Agent로 프롬프트 실행', 'slashCmd.mcp.description': '현재 채팅 컨텍스트에서 사용 가능한 MCP 도구 열기', 'slashCmd.skills.description': '현재 채팅 컨텍스트에서 사용자가 호출할 수 있는 스킬 살펴보기', 'slashCmd.help.description': '사용 가능한 데스크톱 및 에이전트 명령 표시', diff --git a/desktop/src/i18n/locales/zh-TW.ts b/desktop/src/i18n/locales/zh-TW.ts index 8f8a6057..c3f50455 100644 --- a/desktop/src/i18n/locales/zh-TW.ts +++ b/desktop/src/i18n/locales/zh-TW.ts @@ -1306,6 +1306,7 @@ export const zh: Record = { // ─── Thinking Block ────────────────────────────────────── 'thinking.label': '思考中', + 'thinking.labelDone': '已思考', // ─── Tool Calls ────────────────────────────────────── 'tool.errorOutput': '錯誤輸出', @@ -1664,6 +1665,7 @@ export const zh: Record = { 'tabs.closeConfirmStop': '停止並關閉', 'tabs.closeAllConfirmTitle': '多個會話執行中', // ─── Slash Command Descriptions ────────────────────────────────────── + 'slashCmd.agent.description': '使用指定 Agent 執行提示', 'slashCmd.mcp.description': '開啟當前聊天上下文中可用的 MCP 工具', 'slashCmd.skills.description': '瀏覽當前上下文中可直接呼叫的技能', 'slashCmd.help.description': '檢視可用的桌面端與 Agent 命令',