Skip to content

i18n: Korean has a row for 1,813 of the messages the untranslated report lists - #7350

Merged
bflatastic merged 3 commits into
storytold:mainfrom
dotCooCoo:fix/ko-message-rows
Nov 14, 2026
Merged

bflatastic merged 3 commits into
storytold:mainfrom
dotCooCoo:fix/ko-message-rows

Conversation

@dotCooCoo

@dotCooCoo dotCooCoo commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

What and why

The Korean catalog had no row for 1,852 of the status and error messages that i18n::tests::untranslated_report finds in the sources. A message without a row is shown in English, so the status bar showed those messages in English in a Korean interface.

  • crates/ui-egui/src/i18n/ko.tsv gets one @msg row for each of 1,813 of those messages, under one comment line at the end of the file: the errors of commands and their parameter checks, scripts, file import and export, printing and plug-ins. The catalog now has 3,438 @msg rows (1,625 before) and 48 @msgplural rows. No existing row is changed.
  • The 39 of these messages that open i18n: translate the composite font errors in the complete-message languages #7211, i18n: the "select a path" reason is translated in every complete-message language #7214, i18n: the justification order error is translated in every complete catalog #7116 and Blob Brush: path.blob rejects invalid fidelity, angle and roundness #7330 also translate in ko.tsv are left out, so the catalog stays consistent when they merge (bundled_catalogs_are_consistent rejects a second row for the same key). No other row duplicates a key in main's ko.tsv or a row that another open pull request adds to it.
  • Each row keeps the English key exactly, with every placeholder ({e}, {name}, {MAX_CSV_BYTES}), doubled brace, parameter name, command id, property and method name (Boolean.prototype.{name}, JSON.parse) and quoted literal value unchanged. Only the prose around them is Korean.
  • The translations are VectorCraft's own, written from the meaning of its English messages, and have had no native-speaker review. They use the feature names the catalog already has, such as 패스, 아트보드, 견본, 그래픽 스타일 and 환경 설정, and its particle forms after a placeholder (`{key}`은(는), `{_1}`을(를)).
  • docs/target-app-parity.md has one line for it under "Evidence: what ships today".
  • The Korean row of docs/localization-parity.md now gives the catalog's message counts: 3,438 @msg and 48 @msgplural rows, counted 2026-11-13.

This pull request changes only the Korean @msg rows. The counts of menu strings (47), tl! strings (26), undo labels (11) and swatch names (45) that Korean still lacks are unchanged, and no other language's catalog is edited.

Three of the 1,813 rows are in the file and are counted by the report, but do not yet put their message into Korean:

  • Template::parse in crates/ui-egui/src/i18n/catalog.rs returns None for a message with two placeholders in a row, so the catalog does not load the rows for unknown parameter `{within}{key}`; {why} and {name} must be {lo}–{hi}{unit} (got {v}).
  • The row for {k} has control characters{_1} does not match the message for a multi-line File Info field. Its last placeholder is empty there (crates/engine/src/cmd/fileinfo.rs), and the last placeholder of a row never matches empty text.

How it was tested

No test is added: the change is catalog data, and the existing i18n tests read it. bundled_catalogs_are_consistent checks every row's placeholders against its English and rejects duplicate keys, and translations_keep_the_backticked_names_of_their_english, translated_messages_keep_the_double_quoted_values_of_their_english, translated_messages_keep_the_bare_literals_of_their_english, translated_messages_keep_the_keys_and_values_their_english_names and translated_messages_keep_the_command_ids_their_english_names check the names and values a row must keep.

untranslated_report prints the missing rows and does not fail on them, so its output is the evidence of the count:

Focused checks on Linux. The branch is one commit on main at 0b29b2b1f6 and merges cleanly with it. It conflicts with open #7309 in docs/localization-parity.md and docs/target-app-parity.md. It conflicts with open #7134 in docs/localization-parity.md.

  • cargo test -p vectorcraft-ui-egui --lib i18n: 110 passed, 0 failed, 0 ignored, on the head 3b6f0f8051.
  • cargo fmt --all -- --check
  • cargo clippy -p vectorcraft-ui-egui --all-targets -- -D warnings
  • cargo check --workspace --tests
  • cargo xtask brands, cargo xtask layers (30 crates) and cargo xtask assets (337 files)
  • cargo xtask ci runs in this pull request's CI.

cargo xtask ci passed in this pull request's CI run on 3b6f0f8051: https://github.com/storytold/vectorcraft/actions/runs/43536691532/job/132267315646

Checklist

  • cargo xtask ci passes (fmt, clippy, tests, assets, brands, layers, wasm).
  • No panics in shipped code: no unwrap(), expect(), panic!, unreachable!, todo! or
    unimplemented! outside tests, and no unchecked indexing on data from files, parameters or
    messages. Errors are returned as Result and shown to the user
    (why and how).
  • Clean-room: nothing copied from Adobe products or GPL/AGPL code (AGENTS.md).
  • Every new asset has a row in ASSETS.md.

The Korean catalog lacked a row for 1,852 of the status and error
messages that the untranslated report finds in the sources, so the
status bar showed those messages in English. ko.tsv now has an @msg
row for 1,813 of them: the errors of commands and their parameter
checks, scripts, file import and export, printing and plug-ins.

The other 39 are messages that open storytold#7211, storytold#7214, storytold#7116 and storytold#7330
also translate in ko.tsv. They are left out so the catalog has no
duplicate key when those pull requests merge.

The rows keep every placeholder, parameter name, command id and
literal value of the English, and use the feature names the catalog
already has.

The report's Korean menu strings, tl! strings, undo labels and swatch
names are unchanged.

Docs: docs/localization-parity.md, docs/target-app-parity.md.
@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between e56d1c7 and be038e0.

Files ignored due to path filters: 1

  • crates/ui-egui/src/i18n/ko.tsv is excluded by !**/*.tsv
Files selected for processing: 2

  • docs/localization-parity.md
  • docs/target-app-parity.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@bflatastic
bflatastic merged commit edc2a68 into storytold:main Nov 14, 2026
7 checks passed
@bflatastic

Copy link
Copy Markdown
Member

Merged, thanks @dotCooCoo! It passed its CI checks.

bflatastic pushed a commit that referenced this pull request Nov 15, 2026
…usals

No complete-message catalog had a row for "a linked JavaScript file is
outside the read roots" (an SVG or SVGZ export or save of a document
that links a script outside the read roots) or for "the art of a graph
design in a graph series is drawn again from the design: edit the
design to change it" (an appearance edit of only that art), so the
status bar showed both in English. "the library's file is outside the
read roots" (Copy to User Defined) and "{file} names more than one
linked JavaScript file" (svgInteractivity.removeFile) had no row in ca,
el, fi, hi, ka and vi.

- Add the two refusals to 20 complete-message catalogs and the two
  siblings to ca, el, fi, hi, ka and vi (52 rows), next to each
  catalog's read-root and graph-design link rows, using their terms.
  The nl, sv and tr rows and the other catalogs' sibling rows are in
  #7362, #7370, #7359, #7355, #7316, #7307, #7354, #7314, #7350, #7337
  and #7352.
- Add a test that checks each reason's row in every complete-message
  catalog that has one (translated, keeps `{file}`, and shown inside
  the invalid-parameters error of the command that returns it), and
  requires at least one catalog to have a row for each reason.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants