forked from 1b-agent/opencadstudio-upstream
i18n: catalogue entries for the context menu, PLINE and modify options
Every new UI string (menu rows, Options → Right-click Customization, the PLINE sub-prompts and keyword labels, MOVE/COPY/OFFSET prompts) gets its Fluent attribute in all 21 locales plus the source → attribute rows in locale_catalog.rs; the SETVAR help line lists SHORTCUTMENU and SHORTCUTMENUDURATION. Tests that compared prompt text now check command state so they pass under any UI language. Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
1 parent
a5fd040745
commit
426af2d3a5
24 files changed
+954
-31
No files matched your search
@@ -743,7 +743,8 @@ mod tests {
|
||||
assert!(app.tabs[0].active_grip.is_none());
|
||||
assert_eq!(active(&app), Some("MOVE"));
|
||||
let prompt = app.tabs[0].active_cmd.as_ref().map(|c| c.prompt()).unwrap_or_default();
|
||||
assert!(!prompt.contains("base point"), "base already consumed: {prompt}");
|
||||
let base_prompt = crate::tr!("command-move", "base", count = 1i64);
|
||||
assert_ne!(prompt, base_prompt, "base already consumed");
|
||||
assert_eq!(app.last_point, Some(DVec3::ZERO));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user