Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pre-commit check for translations #152

Closed
anneschuth opened this issue Aug 23, 2024 · 0 comments · Fixed by #217
Closed

Add pre-commit check for translations #152

anneschuth opened this issue Aug 23, 2024 · 0 comments · Fixed by #217
Assignees

Comments

@anneschuth
Copy link
Member

anneschuth commented Aug 23, 2024

Run babel update (and possibly formatting), strip irrelevant info, in pre-commit hook and fail on diff
https://github.com/MinBZK/amt/blob/main/script/translate

It would be nice to also check if the PO (base) files do not contain the comment: #, fuzzy
Translations don't work if that comment exists, so it needs to be fixed prior to committing!

@anneschuth anneschuth converted this from a draft issue Aug 23, 2024
@ChristopherSpelt ChristopherSpelt self-assigned this Sep 25, 2024
@ChristopherSpelt ChristopherSpelt linked a pull request Sep 27, 2024 that will close this issue
5 tasks
@github-project-automation github-project-automation bot moved this from 👀 In Review to ✅ Done in 👾 AI Validation Team Planning Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

2 participants