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 <noreply@anthropic.com>
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

+8 -8
View File
@@ -809,7 +809,7 @@ common =
.slice-result-display-failed = SLICE: a result could not be displayed completely; no object was changed.
.slice-result-commit-failed = SLICE: a result could not be committed; all source objects were retained.
.slice-retained-update-failed = SLICE: a retained result could not be updated.
.slice-created-results = SLICE: created __ocs_fmt_0__ result object(s).
.slice-created-results = SLICE: created __ocs_arg_count__ result object(s).
.splinefit-fit-a-spline-through-n-points = SPLINEFIT: проведите сплин через точки __ocs_fmt_0__.
.splinefit-need-at-least-3-points = SPLINEFIT: необходимо не менее 3 баллов.
.splinefit-select-a-polyline-to-fit-a-spline-th = SPLINEFIT: выберите полилин, чтобы соответствовать сплину.
@@ -1915,8 +1915,8 @@ common =
.choose-at-least-one-output = Choose at least one output.
.data-extraction-settings = Data Extraction Settings
.add-drawings = Add Drawings
.select-objects-or-settings-selected-enter-to-apply = %__ocs_fmt_0__ Select objects or [Settings] (%__ocs_fmt_1__ selected, Enter to apply):
.select-objects-or-settings = %__ocs_fmt_0__ Select objects or [Settings]:
.select-objects-or-settings-selected-enter-to-apply = __ocs_arg_cmd__ Select objects or [Settings] (__ocs_arg_count__ selected, Enter to apply):
.select-objects-or-settings = __ocs_arg_cmd__ Select objects or [Settings]:
.add-parameter = + Add parameter
.object-snap-3d = 3D Object Snap
.object-snap-on-f4-3d = 3D Object Snap On (F4)
@@ -2037,9 +2037,9 @@ common =
.grid-y-spacing = Grid Y spacing:
.grid-behavior = Grid behavior
.grid-spacing = Grid spacing
.hatchedit-pattern-scale-angle-style-origin-properties-color-layer-transparency-draw-order-associate-disassociate-annotative-recreate-boundary-separate-hatches-properties = HATCHEDIT Pattern:%__ocs_fmt_0__ Scale:%__ocs_fmt_1__ Angle:%__ocs_fmt_2__ [Style/Origin/Properties/COlor/LAyer/Transparency/DRaw order/ASsociate/DIsassociate/ANnotative/recreate Boundary/separate Hatches] <Properties>:
.intersect-created-result-object-s = INTERSECT: created %__ocs_fmt_0__ result object(s).
.intersect-no-positive-area-common-result-original-object-s-retained = INTERSECT: no positive-area common result; %__ocs_fmt_0__ original object(s) retained.
.hatchedit-pattern-scale-angle-style-origin-properties-color-layer-transparency-draw-order-associate-disassociate-annotative-recreate-boundary-separate-hatches-properties = HATCHEDIT Pattern:__ocs_arg_name__ Scale:__ocs_arg_scale__ Angle:__ocs_arg_angle__ [Style/Origin/Properties/COlor/LAyer/Transparency/DRaw order/ASsociate/DIsassociate/ANnotative/recreate Boundary/separate Hatches] <Properties>:
.intersect-created-result-object-s = INTERSECT: created __ocs_arg_count__ result object(s).
.intersect-no-positive-area-common-result-original-object-s-retained = INTERSECT: no positive-area common result; __ocs_arg_count__ original object(s) retained.
.intersect-select-at-least-two-solids-regions-or-coplanar-surfaces-of-a-compatible-type = INTERSECT: select at least two solids, Regions, or coplanar Surfaces of a compatible type.
.intersect-the-retained-object-could-not-be-updated = INTERSECT: the retained object could not be updated.
.intersect-the-selected-coincident-geometry-is-ambiguous = INTERSECT: the selected coincident geometry is ambiguous.
@@ -2163,7 +2163,7 @@ common =
.subtract-select-solids-regions-surfaces-or-meshes-to-subtract-then-press-enter = SUBTRACT Select Solids, Regions, Surfaces, or Meshes to subtract, then press Enter:
.subtract-select-base-solids-regions-surfaces-or-meshes-then-press-enter = SUBTRACT Select base Solids, Regions, Surfaces, or Meshes, then press Enter:
.subtract-a-selected-mesh-is-not-a-supported-closed-single-shell-mesh-no-object-was-changed = SUBTRACT: a selected Mesh is not a supported closed single-shell mesh; no object was changed.
.subtract-created-result-object-s = SUBTRACT: created %__ocs_fmt_0__ result object(s).
.subtract-created-result-object-s = SUBTRACT: created __ocs_arg_count__ result object(s).
.subtract-no-compatible-base-and-cutter-types-or-planes-were-selected = SUBTRACT: no compatible base and cutter types or planes were selected.
.subtract-select-at-least-one-base-and-one-cutter-solid-region-or-surface = SUBTRACT: select at least one base and one cutter Solid, Region, or Surface.
.subtract-the-retained-base-object-could-not-be-updated = SUBTRACT: the retained base object could not be updated.
@@ -2248,7 +2248,7 @@ common =
.trims = Trims
.type-a-name-and-a-formula-e-g-hole-dia-12-hole-spacing-2-hole-dia-1-5-apply-to-save-and-re-solve-closing-discards-unapplied-edits = Type a name and a formula (e.g. hole_dia = 12, hole_spacing = 2 * hole_dia + 1.5). Apply to save and re-solve; closing discards unapplied edits.
.u-isolines-2 = U isolines
.union-created-result-object-s = UNION: created %__ocs_fmt_0__ result object(s).
.union-created-result-object-s = UNION: created __ocs_arg_count__ result object(s).
.union-select-at-least-two-solids-regions-or-planar-surfaces-of-the-same-type = UNION: select at least two solids, Regions, or planar Surfaces of the same type.
.union-the-selected-coincident-geometry-is-ambiguous = UNION: the selected coincident geometry is ambiguous.
.union-the-selected-geometry-includes-an-unsupported-surface-intersection = UNION: the selected geometry includes an unsupported surface intersection.