* i18n: register the Catalan catalog Add `ca` to the locale list, between Bosnian and Czech, and attribute assets/locales/ca.json. * Catalan (ca): translate preferences and the 61 new messages - preferences: every prefs.* message is now Catalan (355 strings). - the 61 messages added upstream since the last catch-up: the layout page, sketch options, navigation options and the custom navbar anchors. - drop the four keys upstream no longer has: thread.direction, thread.left_hand, thread.right_hand and ui.print_face_one_body. Work in progress: ui.*, cmd.*, render.*, the loose sentences and help.* still mix Spanish and Catalan. * Catalan (ca): translate the first half of ui.* 400 messages: the 3D mouse settings and calibration, the agent chat and the AI preferences. * Catalan (ca): translate ui.* up to the equation and edit-in-place messages 200 more messages: the toolbar and browser controls, colour vision, design properties, the details panels and editing a linked part in place. * Catalan (ca): translate ui.* up to the navigation bridge 200 more messages: the ribbon headings, the history panel, the graphics presets, the physical material review and the mesh formats. * Catalan (ca): finish ui.*, 1,284 messages The ribbon headings, the properties, the slicer and point cloud panels, the view angles and the workspace descriptions are now Catalan. ui.* has no Spanish left. * Catalan (ca): translate the command names, 508 messages Every cmd.* entry, including the render library, the sheet metal tools, the sketch tools and the named views. * Catalan (ca): translate the CPU render settings and the environment panel 200 more messages: the CPU light rigs, the reflection targets, the resource profiles, the preflight details and the stage and HDR environments. * Catalan (ca): translate the render errors, the shot framing and the inspector 200 more messages: every render error, the frame presets and guides, the image status, the HDR source details and the appearance inspector. * Catalan (ca): translate the render library, the lights and the looks 200 more messages: the resource catalog, the physical light editor, the colour looks and the GPU material and glass overrides. * Catalan (ca): translate the render output, results and ribbon 200 more messages: the output editor and its size limits, the presentation filters, the completed-image results, the aging and physical references and the render ribbon. * Catalan (ca): finish render.*, 2,392 messages The saved shots, the stage panels, the studio lights, the subsurface and volume transport, the wear layers and the render browser. render.* has no Spanish left. * Catalan (ca): translate the standalone labels, 200 messages The browser and panel labels, the sheet metal bends and reliefs, the boss, rib, rest and snap fit drag hints and the issue report steps. * Catalan (ca): translate the export, folder and material labels, 200 more The export menu, the sheet metal bend table and reliefs, the font and history options, the joint labels and the issue report help. * Catalan (ca): translate the remaining panel labels, 200 more The report and recovery messages, the profile and edge pickers, the rules editor, the screenshot steps and the sketch selection prompts. * Catalan (ca): translate the sheet metal, AI preferences and browser strings 200 more: the standing-up offer for Y-up files, the trim and stitch tools, the AI availability and permission settings and the browser node names. * Catalan (ca): translate the crash reports and a large part of help.* 200 more: the copies, the crash reporter, the DXF export progress, the file loading statuses and the help texts for the sketch and solid tools. * Catalan (ca): translate the home page, the hole presets and the material editor 200 more: the start page and its dates, the install steps, the issue report notices, the assembly move handles, the material property card and the motion keys. * Catalan (ca): translate the navigation bar and the input presets 200 more: the navigation modes, the navbar customiser and its descriptions, the network share warning, the fastener dimensions and the picking prompts. * Catalan (ca): finish the catalog, 5,591 messages The search box, the settings notes, the sheet metal personal rules, the sketch report and text tools, the timeline menus, the updater and the web file prompts. The catalog now has no Spanish left. * Catalan (ca): translate the 634 messages the pending script had missed The script only flagged strings identical to the Spanish or English catalog, so every untouched string that differed from es.json stayed in Spanish: the whole help.* reference, the import report, the joint limits, most preferences and the fillet and continuity tips. They are now Catalan, and the script counts a message as done only when a block file contains it. * Catalan (ca): keep the sketch hints and stop splitting l·l The sketch tool hints and engine errors are not in en.json, so they live in a pending file: add the Catalan messages there instead of letting them fall back to English. The new asset gets its attribution row under attribution/pending, so this branch no longer edits ATTRIBUTION.md directly. The painted-text sweep split labels on the bare middle dot, which is Catalan's l·l inside a word: "Cancel·la" became "Cancel" and the test reported English where the catalog is translated. Split only on the spaced middle dot. * i18n: carry the complete catalogs in the pending sketch hints A pending file that adds English messages also adds them for the catalogs delivered complete (ar, he, ja, vi, zh), or i18n --check fails. They keep the English text, as in the Spanish catch-up branch. * i18n: attribute the pending hints and fix the break message The pending sketch hints add an asset, so they get the same attribution row as in the Spanish catch-up branch (same file, so the two merges without a conflict). The engine has nothing to break, so say so in English. * Catalan (ca): translate the 30 new messages The blur preferences, the dimension step settings and the fillet turn modes arrived upstream after this branch was opened; merge main and translate them. * i18n: use US spelling in the pending hints and add en-GB The English catalog is US-spelled, so the English fallbacks say center; en-GB keeps centre for the four messages that differ. * Catalan (ca): fold the pending hints and catch up with main `main` folded `sketch-tool-hints.json` into every catalog when #10895 merged and deleted the pending file. This branch still carried it, so the merged tree failed `cargo xtask lists` with 186 duplicate ids and one repeated attribution row. The 26 hints now live in `ca.json` and the two pending files go; the catalog row in `attribution/pending/catalan-catalog.md` stays. The 118 messages `en.json` gained since this branch opened are translated: the 26 hints and 92 new ones (AI HTTP and instructions preferences, surface-map import, the ribbon-tabs-only view, hidden-edge selection, recovery, the custom view navigator and a handful of dialog tips). The obsolete `cmd.inspect_colored_components_disable` is gone, so `ca.json` matches `en.json` key for key. The shaded-with-hidden-edges label said `Sombreado`, which is Spanish. --------- Co-authored-by: CaRLymx <24634598+carlymx@users.noreply.github.com>
Application resources
assets/ is the design resource home for SolidCraft.
ATTRIBUTION.md is the file inventory and provenance record.
Keep one editable master per resource and place shipped derivatives in exports/.
assets/
icons/
app/
shared/source/ # original Rust mark and executable ICO encoder
macos/source/SolidCraft.icon/ # approved Composer project and linked SVGs
macos/exports/ # paired Assets.car and icon.icns
windows/exports/ # executable DIB ICO and installer PNG ICO
linux/exports/hicolor/ # Linux/FreeBSD package images, 16–512 px
ui/design/svg/ # authoritative original UI icon masters
ui/design/tools/ # authoring bases, checks and included review app
ui/source/ # Rust viewport glyphs, markers and navigation
branding/web/source/og.png # shared social preview card
branding/logo/ # print/web logo files; guide in branding/README.md
styles/ui/palettes.rs # light/dark defaults
styles/web/loading.css # web loading/canvas styles
appearances/library.rs # built-in visual presets
materials/library.rs # physical defaults and colours
shaders/viewport.wgsl # original viewport shader
fonts/{liberation-sans,biz-udp-gothic}/ # unmodified fonts and OFL licences
locales/{en,de,ja,ko}.json # shared offline catalogs
platforms/{macos,linux,windows}/ # bundle, freedesktop and WiX templates
platforms/macos/dmg/ # disk image window: layout, dmgbuild settings, background art
archive/icons/macos-v1/
source/icon.vectorcraft # earlier editable work, retained
# redundant historical exports are retired
Editing and regeneration
UI artwork identifies the drawing masters and their consumers. Read the mandatory UI style guide before editing an icon. Edit SVG geometry and its command/UI assignments together; inspect both themes and small sizes. Temporary media and generated reports belong in ignored target/. Palettes and model presets are also editable Rust data.
The current macOS master is icons/app/macos/source/SolidCraft.icon/, including
its linked SVG layers and appearance settings. The earlier VectorCraft document
is preserved in the archive. No other native design projects were available for
the current UI set or preview card. Keep any future .vectorcraft, .ai or other
native work and linked inputs under that resource's source/work/, with an
attribution row; retain the editable document alongside its exports.
Regenerate all exports of the shared Windows/Linux/FreeBSD mark together:
cargo xtask app-icons
For macOS, use Xcode with Icon Composer support:
mkdir -p target/resources/macos-icon
xcrun actool assets/icons/app/macos/source/SolidCraft.icon \
--compile target/resources/macos-icon --platform macosx \
--minimum-deployment-target 11.0 --app-icon SolidCraft \
--output-partial-info-plist target/resources/macos-icon/icon-info.plist \
--output-format human-readable-text
cp target/resources/macos-icon/Assets.car assets/icons/app/macos/exports/Assets.car
cp target/resources/macos-icon/SolidCraft.icns assets/icons/app/macos/exports/icon.icns
Review and commit source changes and required exports together. Temporary renders,
tool caches and package staging belong under ignored target/ or dist/.
Normal builds use the committed exports and require no design applications.
The CLI still supports arbitrary PNG/ICO exports with solidcraft-cli icon.
Platform bindings
| Platform | Resources and output paths |
|---|---|
| macOS | Composer master and paired exports; bundle installs Assets.car and SolidCraft.icns |
| Windows executable | solidcraft-executable.ico: original DIB/mask representations at 16/24/32/48/64/128/256 px |
| Windows installer | solidcraft.ico: PNG representations at 16/20/24/32/40/48/64/128/256 px; SOLIDCRAFT_ICONS override retained |
| Linux, Nix, deb/rpm, tar, Flatpak, Snap | Copy canonical hicolor images; icon name stays io.tangencylabs.solidcraft |
| AppImage | Uses the Linux 256 px image and .DirIcon alias |
| FreeBSD | Shares Linux hicolor images and freedesktop metadata |
| Web | HTML/Trunk and manifest.webmanifest stay in apps/solidcraft-web/; copies Japanese font/licence to fonts/, uses the collected CSS, and copies the Linux 32/256/512 px images to icons/ for the favicon and installed app |
| Docs and link previews | xtask book copies the shared card to the existing /solidcraft/og.png public path |
Code and provenance
Resources remain compiled by their owning layer through existing APIs:
ui-egui::icons::paint_icon and Tokens at L5, model presets in L2 doc, and sketch
fonts at L1. State, projection, interaction, commands and GPU bindings stay in
their current modules. Embedded data uses CARGO_MANIFEST_DIR; application code
needs no runtime resource registry or repository lookup.
cargo xtask assets requires an exact attribution row for every collected file
except Markdown documentation, and continues checking file assets elsewhere in
the repository. This includes native work, Rust masters, catalogs, shaders and
platform templates. Packaging selects explicit current files and fails when
required inputs are absent. Archived artwork has no production consumers.
Dependency-owned egui fonts and vendored renderer shaders stay with their
libraries; their licences remain in THIRD-PARTY-LICENSES.txt and ATTRIBUTION.md.
System fonts, optional packs, user fonts/canvases/decals/materials and native OS
controls retain external ownership. Root licence/notice texts stay canonical.