From 14ef6c7bcd55c71f0ccf2c180a18ed2cc353ea57 Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Thu, 10 Sep 2026 19:16:30 +0300 Subject: [PATCH] fix(i18n): translate render mode choices --- src/app/view/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/view/mod.rs b/src/app/view/mod.rs index 3c33785d5..23ec26ce1 100644 --- a/src/app/view/mod.rs +++ b/src/app/view/mod.rs @@ -162,7 +162,7 @@ pub(super) struct RenderModeChoice(pub acadrust::entities::ViewportRenderMode); impl std::fmt::Display for RenderModeChoice { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - f.write_str(crate::modules::view::visual_style::label_for(self.0)) + f.write_str(crate::t!(crate::modules::view::visual_style::label_for(self.0)).as_ref()) } }