From 3fbecc489c02f4692a9bb7f78b429a9bf6b4b260 Mon Sep 17 00:00:00 2001 From: nesquena-hermes Date: Sat, 9 May 2026 21:03:48 +0000 Subject: [PATCH] fix(stage-328): backfill #1981's 17 new kanban keys into zh-Hant locale MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #1979 (@Michaelyklam) backfilled the existing kanban keys into zh-Hant which was the missing locale block. PR #1981 then added 17 NEW kanban keys (edit_task, run_dispatcher_confirm, assignee_profiles_label, dispatch_* result fields, etc.) but only to the 8 existing kanban-supporting locales — zh-Hant was again left without those new keys. This commit closes the gap fully: the 17 new keys from #1981 now exist in zh-Hant too, with Traditional Chinese translations adapted from the Simplified Chinese (zh) versions in the same file. Without this commit, zh-Hant users would have: - The full create-task modal localized (from #1979 + #1965) - But the new edit-task / run-dispatcher / assignee-dropdown / dispatch result strings falling back to English Adapted translations preserve the same shape and tone as the zh block. The gap is mechanical (translation drift, not architectural) and worth closing inline rather than leaving as another follow-up issue. JS syntax: clean (`node -c` on i18n.js + panels.js). Kanban tests: 34/34 pass on this stage. --- static/i18n.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/static/i18n.js b/static/i18n.js index da4a53e2..e1b2c986 100644 --- a/static/i18n.js +++ b/static/i18n.js @@ -6563,6 +6563,23 @@ const LOCALES = { kanban_card_archive: '封存', kanban_unassigned: '未指派', kanban_status_archived: '已封存', + kanban_edit_task: '編輯任務', + kanban_run_dispatcher: '執行調度器', + kanban_run_dispatcher_confirm: '將認領此看板的 Ready 任務並產生工作子程序(每次點擊最多 8 個)。是否繼續?', + kanban_assignee_profiles_label: 'Hermes 設定檔', + kanban_assignee_other_label: '其他(CLI 通道 / 已刪除的設定檔)', + kanban_assignee_unassigned: '— 未指派(不會自動執行)—', + kanban_ready_needs_assignee: '您選擇了「未指派」+「Ready」。調度器將跳過此任務。再次送出以確認,或選擇一個設定檔。', + kanban_dispatch_preview_prefix: '預覽:', + kanban_dispatch_run_prefix: '已調度:', + kanban_dispatch_spawned: '已啟動', + kanban_dispatch_promoted: '已提升', + kanban_dispatch_reclaimed: '已收回', + kanban_dispatch_skipped_unassigned: '跳過(未指派)', + kanban_dispatch_skipped_nonspawnable: '跳過(未知設定檔)', + kanban_dispatch_auto_blocked: '自動封鎖', + kanban_dispatch_timed_out: '逾時', + kanban_dispatch_crashed: '崩潰', new_conversation: '新對話', filter_conversations: '篩選對話', scheduled_jobs: '排程任務',