andreahlert opened a new pull request, #62983:
URL: https://github.com/apache/airflow/pull/62983
Improve the behaviour of `breeze ui check-translation-completeness` so it
matches how keys are actually used at runtime and so coverage reflects real
translations.
**Required keys:** A key is required in a locale only if it exists in
English or if its base key in English uses `{{count}}` (then the locale’s
plural forms for that base are required). Plural forms for keys that never use
`count` in EN are no longer required and are reported as unused instead of
"extra."
**Coverage:** Coverage is based only on keys that are translated (required
keys that exist and are not `TODO: translate...`). TODOs are reported in a
separate column and no longer count as translated.
**Unused:** Any key present in the locale but not in the required set is
reported as "Unused" (and can be removed with `--remove-unused`). The previous
"extra" vs "unused" distinction is removed; the flag `--remove-extra` is
renamed to `--remove-unused`.
**Table columns (order):** Missing, Coverage, TODOs, Unused. Optional
columns (Required base EN, Required plural, Total required, Translated) are
available for detail.
closes: #62982
---
##### Was generative AI tooling used to co-author this PR?
- [ ] Yes (please specify the tool below)
---
* Read the **[Pull Request
Guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)**
for more information.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]