SWEEP: Expression option, reference prompts and localized messages

- Scale and Twist take an Expression evaluated with the drawing's
  parameters; invalid input prints the reference message and asks again.
- The scale and twist prompts use the reference wording and defaults.
- The SWEEP prompts and refusal messages are in the locale catalog with
  translations in every locale.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-07 10:15:32 +03:00
1 parent 1a18fdd0cf
commit 56f3f68de9
27 files changed
+346 -64

No files matched your search

+4 -4
View File
@@ -3947,10 +3947,10 @@ pub(super) fn on_tab_close(&mut self, idx: usize) -> Task<Message> {
.scene
.solid_history_property_refusal(handle, field, &val)
{
self.command_line.push_output(&format!(
"Modeling Operation Error:
Error Code Number is {code}"
));
self.command_line.push_output(crate::t!("Modeling Operation Error:").as_ref());
self.command_line.push_output(
crate::tf!("Error Code Number is {code}", code = code).as_ref(),
);
}
}
} else if self.tabs[i]