egui: change "squeeze under" to "squeeze through under"

It's about pushing through a constrained space, not about squeezing
per se. I'm not using the word "push" because this term will probably be
restricted to a mechanism that is very different internally.
This commit is contained in:
Mikolaj Wielgus 2024-10-02 01:12:46 +02:00
parent 518e4f2daf
commit bfcae7f308
11 changed files with 18 additions and 18 deletions

View File

@ -21,7 +21,7 @@ action-place-via = Platziere DuKo
action-remove-bands = Entferne Bänder
action-compare-detours = Vergleiche Umwege
presort-by-pairwise-detours = Nach paarweisen Umwegen vorsortieren
squeeze-under-bands = Presse unter Bänder
squeeze-through-under-bands = Presse unter Bänder
wrap-around-bands = Wickle um Bänder
zoom-to-fit = Zoom automatisch einpassen
show-ratsnest = Zeige Ratsnest

View File

@ -24,7 +24,7 @@ action-undo = Undo
action-redo = Redo
presort-by-pairwise-detours = Presort by Pairwise Detours
squeeze-under-bands = Squeeze under Bands
squeeze-through-under-bands = Squeeze through under Bands
wrap-around-bands = Wrap around Bands
zoom-to-fit = Zoom to Fit

View File

@ -19,4 +19,4 @@ show-bboxes = Pokaż obwiednie
show-origin-destination = Pokaż pochodzenie i destynację
menu-options = Opcje
wrap-around-bands = Owiń wokół taśm
squeeze-under-bands = Ściśnij pod taśmami
squeeze-through-under-bands = Ściśnij pod taśmami

View File

@ -41,7 +41,7 @@ impl MenuBar {
presort_by_pairwise_detours: false,
router_options: RouterOptions {
wrap_around_bands: true,
squeeze_under_bands: true,
squeeze_through_under_bands: true,
},
},
is_placing_via: false,
@ -199,8 +199,8 @@ impl MenuBar {
tr.text("presort-by-pairwise-detours"),
);
ui.checkbox(
&mut self.autorouter_options.router_options.squeeze_under_bands,
tr.text("squeeze-under-bands"),
&mut self.autorouter_options.router_options.squeeze_through_under_bands,
tr.text("squeeze-through-under-bands"),
);
ui.checkbox(
&mut self.autorouter_options.router_options.wrap_around_bands,

View File

@ -33,7 +33,7 @@ fn main() -> Result<(), std::io::Error> {
presort_by_pairwise_detours: false,
router_options: RouterOptions {
wrap_around_bands: true,
squeeze_under_bands: false,
squeeze_through_under_bands: false,
},
},
));

View File

@ -206,7 +206,7 @@ impl Navmesh {
let mut gear =
Into::<GearIndex>::into(Into::<BinavvertexNodeIndex>::into(trianvertex));
if options.squeeze_under_bands {
if options.squeeze_through_under_bands {
Self::add_node_to_graph_and_map_as_binavvertex(
&mut graph,
&mut map,

View File

@ -34,7 +34,7 @@ use super::{
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
pub struct RouterOptions {
pub wrap_around_bands: bool,
pub squeeze_under_bands: bool,
pub squeeze_through_under_bands: bool,
}
#[derive(Error, Debug, Clone)]

View File

@ -18,7 +18,7 @@
"presort_by_pairwise_detours": false,
"router_options": {
"wrap_around_bands": true,
"squeeze_under_bands": true
"squeeze_through_under_bands": true
}
}
]
@ -41,7 +41,7 @@
"presort_by_pairwise_detours": false,
"router_options": {
"wrap_around_bands": true,
"squeeze_under_bands": true
"squeeze_through_under_bands": true
}
}
]

View File

@ -54,7 +54,7 @@
"presort_by_pairwise_detours": false,
"router_options": {
"wrap_around_bands": true,
"squeeze_under_bands": true
"squeeze_through_under_bands": true
}
}
]
@ -113,7 +113,7 @@
"presort_by_pairwise_detours": false,
"router_options": {
"wrap_around_bands": true,
"squeeze_under_bands": true
"squeeze_through_under_bands": true
}
}
]
@ -172,7 +172,7 @@
"presort_by_pairwise_detours": false,
"router_options": {
"wrap_around_bands": true,
"squeeze_under_bands": true
"squeeze_through_under_bands": true
}
}
]
@ -231,7 +231,7 @@
"presort_by_pairwise_detours": false,
"router_options": {
"wrap_around_bands": true,
"squeeze_under_bands": true
"squeeze_through_under_bands": true
}
}
]

View File

@ -34,7 +34,7 @@
"presort_by_pairwise_detours": false,
"router_options": {
"wrap_around_bands": true,
"squeeze_under_bands": true
"squeeze_through_under_bands": true
}
}
]

View File

@ -54,7 +54,7 @@
"presort_by_pairwise_detours": false,
"router_options": {
"wrap_around_bands": true,
"squeeze_under_bands": true
"squeeze_through_under_bands": true
}
}
]
@ -77,7 +77,7 @@
"presort_by_pairwise_detours": false,
"router_options": {
"wrap_around_bands": true,
"squeeze_under_bands": true
"squeeze_through_under_bands": true
}
}
]