Commit Graph
5 Commits
Author SHA1 Message Date
tareq 1c05aa72d9 Fix Windows UTF-8 handling in catalog tool tests
The sync/rekey helpers already write UTF-8 catalogs; the tests used the
platform default encoding, so headers with "…" / Français failed under
cp1252. Report paths with forward slashes and run the tool suite in CI.
2026-11-04 08:36:53 +01:00
Logan Jennings d507d92acb fix(tools): a region of a script variant falls back to the script variant 2026-10-24 12:36:51 -05:00
Logan Jennings 82d2912831 fix(tools): sync_app does not fall back from a script variant to its base language 2026-10-24 11:56:37 -05:00
Martin BallandClaude Opus 5.5 911f53f7a8 fix(sync_app): skip @msg templates that can never match
Mirrors the checker's check_template (#14): an unclosed {, two
placeholders in a row, or no literal text. Without it a VectorCraft
sync re-adds the dead 'Packaged {n} file(s) in {folder}{note}' row.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B5qjdPbdcyPMikAqXxAAdW
2026-10-22 01:10:27 +01:00
Martin BallandClaude Opus 5.5 80b2520e45 feat(tools): sync_app.py, app catalogs into locales/ by the migration rules
T3 of the app-wiring plan. Applies what an app changed between the last
synced SHA and --ref (merge-base three-way, so a stale branch never reverts
main), writes only to locales/<l>/<app>.tsv, never common.tsv. --check runs
the round trip. Stdlib only; tests in tools/test_sync_app.py.

docs/integration.md: the two-PR flow, cutover and catch-up before a pin
bump; clone URL now storytold/craft-i18n.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 00:41:08 +01:00