Last active
December 17, 2015 00:59
-
-
Save martinsam/5525185 to your computer and use it in GitHub Desktop.
pre-commit - Check po
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if check_po /home/sam/opquast/pdn/locale/fr/LC_MESSAGES/django.po | grep 'FUZZY'; then | |
| echo "\033[44m----------------------------------------------------\033[0m" | |
| echo "\033[31m FUZZY présent dans locale/fr/LC_MESSAGES/django.po\033[0m" | |
| exit 1 | |
| else | |
| echo -n "\033[32m" | |
| check_po /home/sam/opquast/pdn/locale/fr/LC_MESSAGES/django.po | |
| echo -n "\033[0m" | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install https://github.com/martinsam/check_po |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment