From 29749c73f37b63502226d1d0ece0ffc33c3b919a Mon Sep 17 00:00:00 2001 From: raykholo Date: Wed, 28 Oct 2026 19:51:47 -0400 Subject: [PATCH] Report missing translations for complete catalogs before review (#8542) (#8543) * claim: #8542 * CI: report missing translations for complete catalogs before review (#8542) `cargo xtask i18n --check` already reads the pending locale files and fails when a complete catalog lacks an English message, but no workflow ran it, so the gap surfaced only in the full test run after approved-for-ci. It now runs in Format and repository checks, and CONTRIBUTING names the complete catalogs. --- .github/workflows/ci.yml | 3 +++ CONTRIBUTING.md | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b37f313c..1dd5ad9d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -364,6 +364,9 @@ jobs: cargo test -p xtask ui_containers --locked - name: Sorted lists run: cargo xtask lists + # New UI text must reach every complete catalog; report it here, before review (#8542). + - name: Translations in the complete catalogs + run: cargo xtask i18n --check - name: Agent router and skills cite real files run: | cargo xtask skills diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0027e664a..37389efd2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -300,7 +300,9 @@ and a fresh CI run: - **Design format**: one file per change, never an edit to a shared number (above). - **New UI strings and attribution rows**: one new file per change, `assets/locales/pending/.json` and `attribution/pending/.md`, instead of editing the catalogs or the ATTRIBUTION.md table; - `cargo xtask fold-pending` folds them on `main` (see the README in each folder). + `cargo xtask fold-pending` folds them on `main` (see the README in each folder). A new English + message also needs every catalog delivered complete (`COMPLETE` in `crates/ui-egui/src/i18n.rs`: + today ar, he, ja, vi, and zh) in the same pending file; `cargo xtask i18n --check` reports any gap. ## Sending a change