From 64c020293ab1dbf7beb547524f68a862f9388259 Mon Sep 17 00:00:00 2001 From: ramox81 <184937705+ramox81@users.noreply.github.com> Date: Tue, 22 Sep 2026 12:51:57 +0300 Subject: [PATCH] Annotative choice: use the crate translation macro Co-Authored-By: Claude Fable 5.1 --- src/app/update/command.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/update/command.rs b/src/app/update/command.rs index 3822f835e..d96b3bdd9 100644 --- a/src/app/update/command.rs +++ b/src/app/update/command.rs @@ -2196,7 +2196,8 @@ pub(super) fn on_tab_close(&mut self, idx: usize) -> Task { // The Annotative Yes/No list drives the per-object annotative toggle // (MTEXT's own flag, the annotation context for the rest). if field == "annotative" { - let wanted = value == t!("Yes").as_ref() || value.eq_ignore_ascii_case("yes"); + let wanted = + value == crate::t!("Yes").as_ref() || value.eq_ignore_ascii_case("yes"); let Some(handle) = handles.first().copied() else { return Task::none(); };