From cf51d8596d7eeda5630388711c71f66e42af9c50 Mon Sep 17 00:00:00 2001 From: Vince Date: Sat, 9 May 2026 14:20:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(i18n):=20use=20=E7=BB=88=E6=AD=A2=20instead?= =?UTF-8?q?=20of=20=E4=B8=AD=E6=AD=A2=20in=20zh-Hans=20approval=20dialog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 中止 implies a temporary pause that can be resumed; 终止 means a definitive end, which matches the English "Abort the turn" / "abort" semantics of this action. Update both the option label ("终止本轮") and the Esc key footer hint ("Esc:终止") in the approval/elevation widget. Fixes #1273 --- crates/tui/src/tui/widgets/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/tui/src/tui/widgets/mod.rs b/crates/tui/src/tui/widgets/mod.rs index a5da3500..5b163c75 100644 --- a/crates/tui/src/tui/widgets/mod.rs +++ b/crates/tui/src/tui/widgets/mod.rs @@ -1387,7 +1387,7 @@ fn single_key_value(_locale: Locale) -> &'static str { fn footer_controls(locale: Locale) -> &'static str { match locale { - Locale::ZhHans => " · v:完整参数 · Esc:中止", + Locale::ZhHans => " · v:完整参数 · Esc:终止", _ => " · v: full params · Esc: abort", } } @@ -1495,7 +1495,7 @@ fn option_deny(locale: Locale) -> &'static str { fn option_abort(locale: Locale) -> &'static str { match locale { - Locale::ZhHans => "中止本轮", + Locale::ZhHans => "终止本轮", _ => "Abort the turn", } }