-
Notifications
You must be signed in to change notification settings - Fork 0
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
152 add pre commit check for translations #217
152 add pre commit check for translations #217
Conversation
abcd559
to
8d19de7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
54ec86e
to
9844857
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
2d74b4c
to
6258d4c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
Description
Script to check if the translate update and compile are executed. Intended use is a pre-commit hook; it will check if staged .po files are up to date, if not it will show a message "Translations are not up to date." and the pre commit hook will fail. Note that the script runs the translate update and compile commands, so the script is idempotent. Running the pre commit hook twice on staged .po files will make the pre-commit hook pass.
Out of scope:
Resolves #152
Checklist
Please check all the boxes that apply to this pull request using "x":