mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-17 12:22:34 +03:00
fix(i18n): retranslate the verbatim-English leaves in all 65 catalogs; ratio gate now blocking (#13782)
PR-4 of the locale-expansion plan. 215,363 strings retranslated across the 65 catalogs with the new `sync-ui-keys --retranslate-identical`; the share of leaves still identical to English drops from a mean of 18.3 % to 1.8 % (Spanish 56 → 2.1). No `__MISSING__` marker or missing key is left; zh glossary normalised; pinned product/flag names kept English and allowlisted. Baseline tightened and the CI step `i18n real-translation ratio` is blocking from here on. ⚠️ base-red inherited: #12732
This commit is contained in:
committed by
GitHub
parent
8f55d85d22
commit
cde49c9372
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -511,9 +511,11 @@ jobs:
|
||||
- run: node scripts/i18n/check-ui-keys-coverage.mjs --threshold=65
|
||||
# Real-translation ratchet: a leaf copied verbatim from en.json passes key
|
||||
# parity above but is still English to the user (es shipped 55% English).
|
||||
# Advisory in PR-0; flipped to blocking once the backlog is retranslated (PR-4).
|
||||
- name: i18n real-translation ratio (advisory)
|
||||
run: node scripts/i18n/check-translation-ratio.mjs --warn
|
||||
# Blocking since PR-4 retranslated the verbatim-English backlog: the share of
|
||||
# untranslated leaves per locale may only fall (ratchet baseline in
|
||||
# config/quality/i18n-translation-baseline.json; `npm run i18n:check-ratio:update`).
|
||||
- name: i18n real-translation ratio
|
||||
run: node scripts/i18n/check-translation-ratio.mjs
|
||||
# #8463: a rewritten English value used to leave its 39 translations behind
|
||||
# silently (googleOAuthWarning shipped wrong copy in 39 locales for months).
|
||||
# Key parity above cannot see it — a stale translation counts as covered.
|
||||
|
||||
Reference in New Issue
Block a user