forked from 1b-agent/opencadstudio-upstream
feat(locale): localize full interface
This commit is contained in:
1 parent
b90b3e3ecf
commit
3e6693b93f
205 files changed
+32369
-3810
No files matched your search
@@ -1,6 +1,7 @@
|
||||
// ZOOM WINDOW command — pick two corners to define the zoom area.
|
||||
|
||||
use glam::{DVec3, Vec3};
|
||||
use crate::t;
|
||||
|
||||
use crate::command::{CadCommand, CmdResult};
|
||||
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
||||
@@ -36,9 +37,9 @@ impl CadCommand for ZoomWindowCommand {
|
||||
|
||||
fn prompt(&self) -> String {
|
||||
if self.first.is_none() {
|
||||
"ZOOM WINDOW Specify first corner:".into()
|
||||
t!("ZOOM WINDOW Specify first corner:").into_owned()
|
||||
} else {
|
||||
"ZOOM WINDOW Specify opposite corner:".into()
|
||||
t!("ZOOM WINDOW Specify opposite corner:").into_owned()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user