untranslated_report lists 167 messages under "messages, all 23 languages
checked". tr.tsv gains an @msg row for 114 of them, each next to the
closest existing message group: image export and encoding errors, color
profiles, color books and swatch exchange files, binary DXF and DWG
import, 3D and Revolve limits, and script, zip, line and file errors.
Placeholders, parameter names and literal values stay as the English
writes them.
The other 53 are left to the open pull requests that translate them.
The untranslated report listed 167 messages that no complete-message
catalog had a row for. ko.tsv gains a row for the 114 of them that no
open pull request translates: the 3D and Revolve limits, image export
and encoding errors, color profiles, color books and swatch exchange
files, binary DXF and DWG import, path operations, graphic style,
swatch and action set libraries, and script, zip and regular expression
errors. Placeholders, backticked names and listed values stay as the
English writes them.
The Korean row of docs/localization-parity.md and a line in
docs/target-app-parity.md give the new counts: 1,743 `@msg` rows, and
1,867 Korean messages the report still lists.
script.run refuses an answers value that is not a list, that has more
than 10000 answers or that is larger than 1 MiB, an answer at an index
that is not an object, does not have exactly kind and value, has a
value its kind of dialog does not take, holds a prompt text longer than
16 KiB or has an unknown kind, and answers given to a run in the app.
Seventeen complete-message catalogs had no rows for these errors, and
none had the `answers[{i}]` {e} row or the in-app refusal, so the status
bar showed them in English. The command's own error stays in English.
- Every complete-message catalog has a row for each of these errors.
The index, the counts and the names answers, kind, value, true, false
and null are kept.
- Of two message templates that start with text, the one with the
longer text before its first placeholder is tried first. Before,
"`{key}` must be true or false" took "`answers[3]` is a confirm's
answer, whose `value` must be true or false" (its key then held
"answers[3]` is a confirm's answer, whose `value"), and the line was
shown half translated.
- The untranslated-strings report lists the refusals of script.run's
parameters (the param helper in cmd/scripts.rs), and the message scan
skips a type's own function of a helper's name (Grays::param).
Tests: i18n::tests::script_answers_errors_are_translated,
the_longer_leading_text_matches_first,
message_scan_reads_script_run_param_refusals.
untranslated_report lists 167 status and error messages under "messages,
all 23 languages checked". pl.tsv gains @msg rows for 114 of them, in one
commented block at the end of the file: image export and encoding
errors, color profiles, color books and swatch exchange files, binary
DXF and DWG import, 3D and Revolve limits, and script, zip, line and
file errors. Placeholders, parameter names, command ids and literal
values stay as the English writes them.
The other 53 are translated by #7211, #7378 and #7405 and are left out.
- addon.arrange.randomizeOpacity, type.orientation.vertical and .horizontal,
type.opticalMarginAlignment, type.systemLayout and type.fractionalWidths
run through edit_if_changed (the Edit Colors helper) and record an undo step
only when an opacity, a direction or a setting changes.
- A test for each command; the params text says so, and docs/mcp.md for the
commands it describes.