Files
makeCAD/assets/locales/pending
bherbruck 739e442824 Links: ask before following a design's network paths (#7372)
A path a design names (a linked design, a sketch text's font file) now
goes through one rule before any file call: a network location is
reached only once its server is allowed, a device path never. Update
Links and Open Linked Design ask first (Allow once / Always allow this
server / Cancel); Preferences > Design lists the allowed servers and
can allow every network location. component.links reports such a
link's found as unknown with a reason, without looking for it.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 18:52:43 -04:00
..

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 lists fail otherwise. To change an existing message, edit the catalog itself.

  • Don't sort or fold anything. The app, cargo xtask i18n and 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-pending on main: it adds the messages to the catalogs (sorted, one per line) and deletes the files. Never run it in a pull request.