mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-15 19:32:20 +03:00
Review fix round 1 for the add-locale orchestrator: - ui: after sync-ui-keys returns, re-count the `__MISSING__:` leaves left in src/i18n/messages/<code>.json; leftovers are logged and pushed into the failure list so the run exits 1 like the cli / site loops (a committed marker turns the i18n-ui-coverage CI shard red). Dry-run prints the planned check. - docs: the core-set log line names the three thinnest peer mirrors with their file counts, and `--files=<csv>` overrides the core set (rejected together with --docs=all, and when an entry has no English source). - prettier: files under --site-dir and anything outside the repo root are excluded explicitly, so the site repo is never formatted with this config even when the checkout lives inside the repo (e.g. _mono_repo/). - guard: for a locale not yet in config/i18n.json, `readme` selected without `config` fails before any write — in dry-run too, since its edits are computed in-process and nothing else would flag the inconsistency. - `--aliases` passed for an already-configured locale is warned about and ignored, like --english/--native/--flag.