Repository navigation
Check the translation template in CI and refresh it - #522
Conversation
A new CI job extracts the translatable strings with cakephp-i18n-lint and fails when the committed POT file differs, then lints the catalogs. It runs once, on the highest PHP version. The template had drifted from the code: 20 string(s) were missing and 2 were stale. It is regenerated here.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to The translation catalog and configured checks appear aligned, with no concrete merge-blocking issue established. The change is ready for normal CI execution. Pre-merge checks |
|
Adds a CI job that fails when the POT file in
resources/locales/no longer matches the translation calls in the code, and lints the catalogs.The template had drifted from the code: 20 string(s) were missing and 2 were stale. It is regenerated here.
The check uses dereuromark/cakephp-i18n-lint, which wraps CakePHP's own
i18n extractso it runs without an application. The job runs once, on PHP 8.5.New Composer scripts:
composer i18n-checkfails on drift and prints the command that fixes itcomposer i18n-extractrewrites the templatecomposer i18n-lintvalidates POT and PO filesSummary by CodeRabbit
Localization
Chores