mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
New script `scripts/i18n/check-ui-keys-coverage.mjs` compares every `src/i18n/messages/<locale>.json` against `en.json` and reports per-locale coverage: missing keys, __MISSING__ placeholder counts, and real translated coverage percentage. Modes: - default: fail with exit 1 if any locale falls below `--threshold` (default 80%) - `--report`: print the same table but always exit 0 (informational) - `--json`: machine-readable output for CI dashboards Wired into `i18n:check-ui-coverage` npm script (added in the previous commit). FASE 8 will decide whether to make this a pre-push gate. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>