forked from 1b-agent/opencadstudio-upstream
fix(i18n): translate render mode choices
This commit is contained in:
1 parent
c50eb52320
commit
14ef6c7bcd
1 file changed
+1
-1
+1
-1
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user