tui: "permission mode" has its Chinese

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.
This commit is contained in:
yetone
2026-11-15 00:28:51 +08:00
parent da29171a4e
commit e9fcc62294
+1
View File
@@ -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 推理强度",