From e9fcc62294b9d13e45e15bd49ea452063b0df89b Mon Sep 17 00:00:00 2001 From: yetone Date: Sun, 15 Nov 2026 00:06:01 +0800 Subject: [PATCH] tui: "permission mode" has its Chinese MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 0b8c4bfc3 gave Claude Code a "permission mode" field, and the TUI shows every agent field's label through zh, so TestEveryWordHasZh was red on main ("no zh for \"permission mode\""). It reads 权限模式, as the GUI's "Permission mode" does. Run (mote): go test ./internal/tui -run TestEveryWordHasZh, red in the full suite at the parent's base, ok with this. --- internal/tui/i18n.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/tui/i18n.go b/internal/tui/i18n.go index de353673c..31610d50a 100644 --- a/internal/tui/i18n.go +++ b/internal/tui/i18n.go @@ -478,6 +478,7 @@ var zh = map[string]string{ "advisor model": "顾问模型", "account": "账号", "auto mode": "自动模式", + "permission mode": "权限模式", "opus effort": "opus 推理强度", "sonnet effort": "sonnet 推理强度", "haiku effort": "haiku 推理强度",