fix(i18n): named-argument messages no longer print a stray placeholder

Eight messages with %{name} arguments went through the positional
formatter, which printed "%3" for a count, and their catalog entries
held %__ocs_fmt_N__ where the named form is expected. They take named
arguments now, and the entries — and those of the selection and HATCHEDIT
prompts with the same fault — use __ocs_arg_<name>__.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-07 12:51:33 +03:00
1 parent 33640e050d
commit 34dbc13db0
24 files changed
+176 -176

No files matched your search

+2 -2
View File
@@ -176,7 +176,7 @@ impl OpenCADStudio {
}
self.tabs[i].dirty = true;
self.command_line.push_output(
crate::tf!(
crate::t!(
"EXTRUDE: created %{created} object(s); %{failed} source(s) could not be extruded.",
created = created_handles.len(),
failed = failed
@@ -427,7 +427,7 @@ impl OpenCADStudio {
}
self.tabs[i].dirty = true;
self.command_line.push_output(
crate::tf!(
crate::t!(
"REVOLVE: created %{created} object(s); %{failed} source(s) could not be revolved.",
created = created_handles.len(),
failed = failed