-
-
Save SebCorbin/d196a96b1b5f30f3c3947c3d35fe420b to your computer and use it in GitHub Desktop.
po/pot file attributes for textconf and diff (ie, make git diff on gettext files less useless)
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
# From http://stackoverflow.com/questions/2006351/gettext-po-files-under-version-control/11291001#11291001 | |
[diff "msgcat"] | |
textconv = msgcat --no-location --no-wrap --sort-output |
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
# ~/.config/git/attributes | |
*.pot diff=msgcat | |
*.po diff=msgcat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment