Commit Graph
54 Commits
Author SHA1 Message Date
Martin BallandClaude Opus 5.5 c52ee4b87f Draft lists: keep a Draft listed until its current wording is accepted
A Reviewer's acceptance counts only for the wording they accepted: if
main rewords the row after the export, export marks it fuzzy again and
import leaves it on its list. The checker rejects an app Draft for a
shared string's override, which Weblate never offers. A leading BOM no
longer stops a row leaving its list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 15:05:11 +00:00
Martin BallandClaude Opus 5.5 6be2e7a6cd Draft lists: checker and Weblate converter (ADR 0007)
drafts/<locale>/<catalog>.tsv lists a catalog's Drafts as context and
source text. The checker fails an entry whose catalog row is missing or
that is listed twice. The Weblate converter exports listed rows fuzzy
("Needs editing"); when a Reviewer accepts one, import takes it off its
list (unless its row also changed on main) and the sync PR says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 14:23:35 +00:00
Morion Tutoriales 3cb11a36a5 Add TextureCraft catalogs migrated from its Rust translation tables (#243)
* Add TextureCraft catalogs and verified Rust-table migration tool

* Document TextureCraft migration helpers and tests
2026-11-11 19:15:35 +01:00
Martin BallandClaude Opus 5.5 3c42e286d4 docs: ADR 0006, a maintainer merges the Weblate sync PR (no auto-merge yet)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:45:50 +00:00
Martin BallandClaude Opus 5.5 e03c054007 docs: ADR 0006 review fixes (signup agreement, import conflicts, runbook, count)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:43:08 +00:00
Martin BallandClaude Opus 5.5 8c1658b0cb docs: ADR 0006, translation Suggestions in self-hosted Weblate
Contributors without git suggest and vote on translations in a
self-hosted Weblate; a per-locale Reviewer accepts. TSV stays canonical
on main: a converter exports PO to a `weblate` mirror branch and imports
accepted text back as an auto-merged PR. Adds Suggestion, Vote and
Reviewer to the glossary.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:22:04 +00:00
Martin BallandClaude Opus 5.5 6336671813 CP7: craft-proof pinned at craft-libs main's merge of #497 (47c9f625, with #496); 75 packs load and pass their checks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 01:40:58 +00:00
Martin BallandClaude Opus 5.5 4137150ce9 CP7: craft-proof pinned at craft-libs#497's head 5eb17109 (its CodeRabbit fixes); 75 packs load and pass their checks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 23:03:29 +00:00
Martin BallandClaude Opus 5.5 f975bdf5cf CP7: th stays hidden — craft-proof splits words only at spaces and punctuation, so a Thai sentence would be checked as one word (#116 review); 75 published, 2 hidden
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 22:57:22 +00:00
Martin BallandClaude Opus 5.5 166756e87b CP7: unhide th (publishing approved by Martin Ball); 76 published, 1 hidden (mn)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-02 10:35:05 +00:00
Martin BallandClaude Opus 5.5 17a04e4a08 CP7: re-pin craft-proof at craft-libs 9b6ef119 (#497 head, CP7.8)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-02 06:00:43 +00:00
Martin BallandClaude Opus 5.5 56011524aa CP7: re-pin craft-proof at craft-libs c6c5386c (#497 head, CP7.7)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-02 05:06:33 +00:00
Martin BallandClaude Opus 5.5 bb342f79d2 CP7: re-pin craft-proof at craft-libs d0c341c8 (#497 head, CP7.6)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-02 04:26:10 +00:00
Martin BallandClaude Opus 5.5 c6ade16ec0 CP7: re-pin craft-proof at craft-libs 188c3154 (#497 head, CP7.5 fixes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-02 04:03:45 +00:00
Martin BallandClaude Opus 5.5 088ba7bbaa CP7: re-pin craft-proof at craft-libs b8efc5ad (#497 head); hide mn (suggestions take 200-580 ms over 12,066 affix rules); 75 published, 2 hidden
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-02 03:23:40 +00:00
Martin BallandClaude Opus 5.5 d260e3e8b7 CP7: re-pin craft-proof at storytold/craft-libs 3eaa2767 (#497 rebased on #495 with review fixes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-02 02:13:11 +00:00
Martin BallandClaude Opus 5.5 12450033dd CP7: unhide da, de, de-at, de-ch, eo, et, fa, hr, hu, mn, nb, nl, nn, sv, sv-fi; fix de/et/nb/nn check words; 76 published, 1 hidden
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-02 01:27:55 +00:00
Martin Ball 4504e28893 Merge pull request #115 from storytold/docs/scowl-review-fixes
docs: SCOWL review fixes (CP2.1 follow-up)
2026-11-01 23:52:09 +01:00
Martin BallandClaude Opus 5.5 785f2934f4 CP3: re-pin craft-proof at storytold/craft-libs 8f16fe5a (restacked #485 head on #483 6e45fda)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-01 22:46:11 +00:00
Martin BallandClaude Opus 5.5 10c3bff5aa docs: SCOWL review fixes (CP2.1, #109)
- ADR 0005 lists the committed Englishes (en-US, en-GB, en-CA, en-AU)
  and drops the 'until the SCOWL files land' sentence; Moby stays as
  the hyphenation list. Spec matches (local).
- LICENCE-<source>.txt is the name, in ADR 0004 and the spec, as the
  files and craft-proof CP2.2 already use.
- ATTRIBUTION SCOWL rows: LicenseRef-SCOWL and BSD-3-Clause ids, and
  Benjamin Titze's notice on every SCOWL dictionary and README row.
- language-data/README: WordCraft carry-over wording, Moby row and
  the SCOWL interim line say craft-proof reads SCOWL from CP2.2.
- en-variants: encyclopedia moved into the 'both everywhere' block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZYaSPSpH54kk7rnxD
2026-11-01 22:19:19 +00:00
Martin BallandClaude Opus 5.5 c0d22e4c0d CP3: re-pin craft-proof at storytold/craft-libs bdd434bc (restacked #485 stack top); no longer waits on the craft-libs merges
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-01 22:13:06 +00:00
Martin BallandClaude Opus 5.5 fc9f49f806 CP3: unhide gl (loads and passes at craft-proof 1a10977); counts 61 published, 16 hidden
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-01 22:09:35 +00:00
Martin BallandClaude Opus 5.5 af9134adbe CP3: unhide ar, be, ca, ca-valencia, cy, el, fr, he, hy, id, is, ka, lv, mk, sk, sr, sr-latn, tr, af, ko; craft-proof pinned at 1a10977 (TODO: storytold merge commit)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-01 22:09:24 +00:00
Martin BallandClaude Opus 5.5 14a44068d5 CP3: review — workflow hardening
- Release name checked with bash [[ =~ ]] (whole string), so a newline in the dispatch input
  can't pass a line-by-line grep.
- concurrency group per release name (scheduled verifies share one), cancel-in-progress false.
- A manual release must run on refs/heads/main and refuses an existing language-packs-<n> tag
  (gh release create ignores --target for an existing tag).
- docs: runs never overlap; a failed upload leaves a draft to delete before a rerun.
actionlint (with shellcheck 0.11.0) clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-01 18:28:11 +00:00
Martin BallandClaude Opus 5.5 6cbd588073 CP3: review — ADR 0004 licence table signed off (Martin Ball, 2026-11-01); sign-off switch retired
- ADR 0004: signed off by Martin Ball (GitHub benandez), craft-i18n maintainer, 2026-11-01 (still
  not legal advice); the manifest holds packs; Excluded entries are recorded and never published.
- tests/language_data.rs: GATED (LGPL/MPL/LPPL/GPL/CC-BY-SA until sign-off) becomes DOWNLOAD_ONLY
  (GPL family, CC-BY-SA): committed files are embedded, so MPL/LPPL may be committed unmodified.
  Regression test: MPL and LPPL rows pass.
- README, ATTRIBUTION and ROADMAP say so; ATTRIBUTION credits language-data/licences/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-01 18:19:32 +00:00
Martin BallandClaude Opus 5.5 acb0baf9f3 CP3: review — full licence texts per pack, URL parsed by segment, safe licence names, non-empty check words, --only unknown is an error, source in index.json
- language-data/licences/<SPDX id>.txt (spdx/license-list-data 31846481) go into each archive as
  LICENCES/<id>.txt; the checker requires a full text for every data licence id (SPDX: the
  standard text; LicenseRef: a licence entry naming it) and a licence entry per locale.
- A class stricter than the licence needs requires a `note`; CC-BY-NC-SA-4.0 is allow-listed as
  Excluded.
- Pinned URLs are parsed as <owner>/<repo>/<commit>/<path> (no substring match).
- Licence file names are [A-Za-z0-9._-], not leading '.'; check words must be non-empty.
- `build --only xx` fails for a locale not in the manifest.
- index.json and pack.toml gain an optional `source`/`upstream` (upstream folder at its commit).
Regression tests for each in tests/packs.rs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-01 18:17:40 +00:00
Martin BallandClaude Opus 5.5 6451529401 CP3.1–CP3.3: Language pack manifest, checks and release workflow
- CP3.1: docs/language-data-format.md (the pack contract); language-data/manifest.toml seeded from
  the 2026-10-31 licence audit: 80 locales, 357 pinned files (LibreOffice/dictionaries 4f1df64b,
  tex-hyphen 5684c0f5, wooorm 8cfea406, sk/cy/mn/ug upstreams), sha256 and size from the
  downloaded files, SPDX licence and Licence class per file. bg, uk, ta, hr, pt-PT Download-only
  (weak evidence); eu, ug Excluded.
- CP3.2: craft-i18n-tests `packs` module. Offline on every run: licence allow-list and class
  per SPDX expression, pinned URLs, sha/size shape, no duplicate (locale, kind), aff+dic pairs,
  licence text present, check words per locale, Excluded never published. With
  CRAFT_I18N_FETCH=1: every file matches its pin, and every published pack loads through
  craft-proof's affix engine (dev-dependency, benandez/craft-libs 961162a) and gets its
  language-data/checks/<locale>.toml words right. 37 locales hidden with the engine gap as reason.
- CP3.3: `language-packs` bin (check, fetch, build: deterministic <locale>.tar.zst + index.json,
  --base-url for a local test server) and .github/workflows/language-packs.yml (weekly verify;
  tag language-packs-* or manual run publishes release assets).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-01 17:54:26 +00:00
Martin BallandClaude Opus 5.5 b6ea5734ca CP1.1: language-data review fixes
- Hyphenation patterns renamed to <locale>/hyphenation.pat (ADR 0005's
  fixed name), contents unchanged.
- Checker reads the Licence and class: fails empty or gated licences
  (LGPL/MPL/LPPL/GPL/CC-BY-SA), any class but Embeddable, dotfiles
  without a row, duplicate rows, a missing language-data/; fixture
  tests for each failure.
- ADR 0004 names the WordCraft carry-over as the exception and says the
  SPDX allow-lists and LICENSE files come with the manifest; ADR 0005
  and README mark Moby and the ATTRIBUTION table as interim.
- integration.md: English falls back to system Hunspell; build.rs
  embeds the files it names. ATTRIBUTION ru row backticks fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZYaSPSpH54kk7rnxD
2026-11-01 16:13:12 +00:00
Martin Ball c74af75b7e Merge pull request #104 from storytold/feat/cp1-language-data
CP1.1: language-data/ with WordCraft's proofing and hyphenation data
2026-11-01 14:09:51 +01:00
Martin BallandClaude Opus 5.5 7f270932ea docs: ADR 0005 embeds en-US and en-GB only, as the spec
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 10:51:42 +00:00
Martin BallandClaude Opus 5.5 059ce744b0 docs: rewrap ADR 0004
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 10:47:23 +00:00
Martin BallandClaude Opus 5.5 2bac170f46 docs: rewrap ADR 0004
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 10:46:59 +00:00
Martin BallandClaude Opus 5.5 47f4989b2a docs: rewrap ADR 0004
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 10:46:47 +00:00
Martin BallandClaude Opus 5.5 5becefb46c docs: ADRs 0004/0005 review fixes
One rule for contradictory licences (Download-only, Excluded only for
NC/ND); sign-off gate covers LGPL, MPL, LPPL and GPL; README licence
carve-out for language-data/; Consequences and Depends on sections;
ADR 0002 amended; SCOWL as LicenseRef; suite word list placement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 10:46:28 +00:00
Martin BallandClaude Opus 5.5 f84aaa56ad CP1.1: integration doc: craft-proof embeds language-data/ from CRAFT_I18N_DIR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-01 10:09:06 +00:00
Martin BallandClaude Opus 5.5 9b5534c1e5 docs: ADRs 0004 and 0005 accepted
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-01 09:53:26 +00:00
Martin BallandClaude Opus 5.5 149aaf2abc docs: ADRs 0004 and 0005 for Language data, glossary terms and roadmap stage 4
ADR 0004 sets the Licence classes (Embeddable, Download-only, Excluded) for
third-party spelling dictionaries and hyphenation patterns. ADR 0005 puts
Language data here and proofing code in craft-libs (craft-proof), with
English embedded and other languages as downloadable Language packs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
2026-11-01 09:52:33 +00:00
Martin Ball 9930db7af5 Merge pull request #98 from storytold/docs/adr-0003-corrections
docs(adr): ADR 0003 amendment — corrections to shared rows
2026-10-31 23:31:37 +01:00
Martin BallandClaude Opus 5.5 25d71bd95d feat(tools): rekey.py moves translations to an app's corrected English
When an app fixes its English source text without changing the meaning, every
locale's row for the old text is renamed in <app>.tsv, or copied there from
common.tsv (the shared row stays, ADR 0003). A renamed row identical to the
shared row for the new text is dropped. Refuses a change of placeholders or
trailing ellipsis, which would need new translations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:06:50 +00:00
Martin BallandClaude Opus 5.5 e3eb1b6caa docs(adr): amend ADR 0003 to allow corrections to shared rows
A shared row that is wrong in every app that uses it (wrong meaning, misspelling,
broken grammar, English left untranslated, wrong script) is now corrected in place
instead of overridden in each app. Preferences stay overrides; shared rows are
never deleted. Adds "Correction" to the glossary and updates the AGENTS.md rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 21:10:27 +00:00
Martin Ball 29ff0219f1 Merge pull request #9 from storytold/docs/adr-0003-msg
docs(adr): 0003 amended, @msg rows are never promoted
2026-10-23 21:07:07 +01:00
aiongg dafea3404a docs: missing translations never block; drop the complete-language gate and pin-bump catch-up 2026-10-23 18:31:53 +00:00
Martin Ball 554df2c4d8 Merge pull request #14 from storytold/feat/checker-t2
feat(checker): @msg template, redundant regional row, language name checks (T2)
2026-10-22 09:18:08 +01:00
Martin BallandClaude Sonnet 5.5 d2abbd0623 feat(checker): @msg template, redundant regional row and language name checks
- @msg: reject a template that can never match (unclosed {, adjacent
  placeholders: craft-launcher/vectorcraft loaders) or has no literal text
  (vectorcraft).
- Regional locale row identical to its base's resolved translation is an
  error, only where craft-libs falls back region to base.
- Every locale needs an @id language.name row.
- Remove 21 dead vectorcraft @msg rows ('Packaged {n} file(s) in
  {folder}{note}') that no app engine can match.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B5qjdPbdcyPMikAqXxAAdW
2026-10-22 01:08:14 +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
Martin BallandClaude Opus 5.5 81e02c29c0 docs: pin vocabulary, Windows paths in build.rs
GLOSSARY: pin, complete language, catch-up (app wiring spec).
integration.md: write embedded paths with {:?} and don't canonicalize,
so Windows builds work (Skylar's rev 3 review).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 21:59:13 +01:00
Martin BallandClaude Opus 5.5 f26257ffc9 docs(adr): 0003 amended, @msg rows are never promoted
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-18 23:27:36 +01:00
Martin Ball 475eeedfd7 Merge main into feat/migrate-tsv-apps 2026-10-18 19:45:39 +01:00
Martin BallandClaude Opus 5.5 4e4c6e9c28 docs(integration): the app passes its offered language codes
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-18 19:12:28 +01:00
Martin BallandClaude Opus 5.5 8c902bbe2b docs: FilmCraft per-catalog credits; ADR 0003 records gains
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-18 10:54:18 +01:00