Annotative choice: use the crate translation macro

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
ramox81andClaude Fable 5.1 committed 2026-09-22 12:51:57 +03:00
1 parent bdcd24179b
commit 64c020293a
1 file changed
+2 -1
+2 -1
View File
@@ -2196,7 +2196,8 @@ pub(super) fn on_tab_close(&mut self, idx: usize) -> Task<Message> {
// 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();
};