SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
Pending UI strings
A pull request that adds UI strings adds one new file here instead of editing
assets/locales/<locale>.json. Two pull requests then never touch the same file, so they never
conflict.
Name it after the change, lowercase with dashes:
sketch-trim-hints.json.Contents: a map from locale code to
{"message id": "text"}. Give English; add other locales you can translate (a locale you leave out falls back to English, as before):{ "en": { "sketch.trim.hint": "Click a segment to trim it" }, "de": { "sketch.trim.hint": "Segment zum Kürzen anklicken" } }The id must not already be in that locale's catalog, nor in another pending file; the build and
cargo xtask listsfail otherwise. To change an existing message, edit the catalog itself.Don't sort or fold anything. The app,
cargo xtask i18nand the tests read these files as part of the catalogs, so your strings work in your own pull request.After a merge, the Generated files workflow runs
cargo xtask fold-pendingonmain: it adds the messages to the catalogs (sorted, one per line) and deletes the files. Never run it in a pull request.