Skip to content

i18n: Italian translates the messages no catalog had a row for - #7426

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

bflatastic merged 5 commits into
storytold:mainfrom
dotCooCoo:fix/it-missing-message-rows

Conversation

@dotCooCoo

Copy link
Copy Markdown
Contributor

What and why

On main at 1e4e353, untranslated_report (crates/ui-egui/src/i18n/tests.rs) lists 167 status and error messages under "messages, all 23 languages checked": no complete-message catalog has a row for them. Italian also lacked 13 messages that other catalogs translate. With the interface in Italian, these messages were shown in English.

This is the Italian part of the missing message rows; German is #7410, and each other language goes up as its own pull request.

How it was tested

The change adds catalog rows only, so it has no new test. untranslated_report is a report that does not fail on a gap; after the change its "messages, all 23 languages checked" list has 53 entries, each of them a row that #7211, #7378 or #7405 adds, and its Italian message list has one entry, the row #7116 adds.

Focused checks on the final tree, on main at 1e4e353:

  • cargo clippy -p vectorcraft-ui-egui --all-targets -- -D warnings
  • cargo check --workspace --tests
  • cargo test -p vectorcraft-ui-egui --lib i18n: 115 passed, 0 failed.
  • cargo xtask brands; cargo xtask layers (30 crates, no layering violations); cargo xtask assets (337 asset files attributed).
  • cargo fmt --all -- --check reports one diff, in crates/svg/src/lib.rs at line 491, which this pull request does not change; it is on main at 1e4e353 too, and fmt: format crates/svg/src/lib.rs #7400 fixes it.
  • 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 167 status and error messages with no
row in any complete-message catalog, and 13 more that other catalogs
translate but Italian did not, so with the interface in Italian these
messages showed in English.

- it.tsv gains 114 `@msg` rows for the listed messages: 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 and file errors.
- it.tsv gains 12 `@msg` rows for the Banner Hems and Grommets errors,
  three parameter checks and the failed recovery save.
- The rows sit in two commented blocks after the existing message rows.
- The 53 listed messages that open storytold#7211, storytold#7378 and storytold#7405 translate
  (composite fonts, SVG filters, read roots and graph designs), and the
  justification order error that open storytold#7116 translates, are left out,
  so no row is added twice.
- Placeholders, parameter names, command ids and literal values stay as
  the English writes them. The translations use the catalog's existing
  terms.
- docs/localization-parity.md and docs/target-app-parity.md give the
  Italian counts: 3,560 `@msg` and 48 `@msgplural` rows, 54 messages
  still listed.
@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 23 seconds.

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 9f91f96 and 62fea70.

Files ignored due to path filters: 1

  • crates/ui-egui/src/i18n/it.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 15c054f 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