Skip to content

i18n: Swedish translates 114 more status and error messages - #7538

Merged
bflatastic merged 2 commits into
storytold:mainfrom
dotCooCoo:fix/sv-missing-message-rows
Nov 14, 2026
Merged

bflatastic merged 2 commits into
storytold:mainfrom
dotCooCoo:fix/sv-missing-message-rows

Conversation

@dotCooCoo

Copy link
Copy Markdown
Contributor

What and why

The untranslated report (untranslated_report in crates/ui-egui/src/i18n/tests.rs) lists the status and error messages that the Swedish catalog has no @msg row for. With Swedish selected, these messages are shown in English.

The English messages and the commands that report them do not change.

How it was tested

No new test: a missing catalog row fails no test. The report is the evidence: on main at edb228ac334 it lists 632 Swedish messages, and with this change it lists 518 (464 in the report's Swedish section, which some other catalog translates, one of them in open #7532, and 54 that no catalog translates yet, 53 of them in open #7211, #7378 and #7370). The existing row tests check the new rows: bundled_catalogs_are_consistent (syntax, unique rows, placeholder sets) and the tests that keep backticked names, quoted values, bare literals, keys and command ids.

Focused checks on the final tree, on main at edb228ac334:

  • cargo fmt --all -- --check
  • cargo clippy -p vectorcraft-ui-egui --all-targets -- -D warnings
  • cargo check --workspace --tests
  • cargo test -p vectorcraft-ui-egui --lib i18n -- --include-ignored: 118 passed, 1 failed. The failure, translated_messages_keep_the_field_names_and_values_their_english_lists, is on main at edb228ac334 without this change: 2 fr.tsv rows translate the field names in [subpath, anchor], and open Type: Tsume narrows the space around each character's ink #7507 fixes them. This pull request does not touch fr.tsv.
  • cargo xtask brands, layers (30 crates) and assets (337 files)
  • cargo xtask ci runs in this pull request's CI.

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 untranslated report listed these messages as missing from the
Swedish catalog. Among them are the image export encoders and size
limits, color profiles, color books, swatch exchange files, DXF import,
3D and Revolve errors, and the `index` check of document.activate. Each
now has an @msg row in sv.tsv, with its placeholders, backticked names,
format names and values kept as the English writes them. Messages that
open pull requests already translate into Swedish are left to them.

The Swedish row in docs/localization-parity.md is recounted, and
docs/target-app-parity.md gets a line for the Swedish catalog.
@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 37 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 a47d7ee and 9ced177.

Files ignored due to path filters: 1

  • crates/ui-egui/src/i18n/sv.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 a166e47 into storytold:main Nov 14, 2026
7 checks passed
@bflatastic

Copy link
Copy Markdown
Member

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

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