fix(i18n): translate render mode choices

This commit is contained in:
Hakan Seven committed 2026-09-10 19:16:30 +03:00
1 parent c50eb52320
commit 14ef6c7bcd
1 file changed
+1 -1
+1 -1
View File
@@ -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())
}
}