feat(locale): localize full interface

This commit is contained in:
Hakan Seven committed 2026-08-02 22:09:25 +03:00
1 parent b90b3e3ecf
commit 3e6693b93f
205 files changed
+32369 -3810

No files matched your search

+3 -1
View File
@@ -15,6 +15,7 @@ pub fn tool() -> ToolDef {
use acadrust::Handle;
use glam::DVec3;
use crate::t;
use crate::command::{CadCommand, CmdResult};
use crate::scene::model::wire_model::WireModel;
@@ -37,7 +38,8 @@ impl CadCommand for GroupCommand {
}
fn prompt(&self) -> String {
format!("GROUP Enter group name [{}]:", self.auto_name)
let name = self.auto_name.clone();
t!("GROUP Enter group name [%{name}]:", name = name).into_owned()
}
fn wants_text_input(&self) -> bool {
+2 -1
View File
@@ -15,6 +15,7 @@ pub fn tool() -> ToolDef {
use acadrust::Handle;
use glam::DVec3;
use crate::t;
use crate::command::{CadCommand, CmdResult};
use crate::scene::model::wire_model::WireModel;
@@ -33,7 +34,7 @@ impl CadCommand for UngroupCommand {
}
fn prompt(&self) -> String {
"UNGROUP Select grouped objects:".into()
t!("UNGROUP Select grouped objects:").into_owned()
}
fn is_selection_gathering(&self) -> bool {