-
-
Save SebCorbin/d196a96b1b5f30f3c3947c3d35fe420b to your computer and use it in GitHub Desktop.
Revisions
-
SebCorbin revised this gist
Mar 2, 2017 . 3 changed files with 4 additions and 23 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ # 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 charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,3 @@ # ~/.config/git/attributes *.pot diff=msgcat *.po diff=msgcat 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 charactersOriginal file line number Diff line number Diff line change @@ -1,23 +0,0 @@ -
alikins created this gist
Oct 7, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ *.pot diff=msgcat *.po diff=msgcat 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ # from http://stackoverflow.com/questions/2006351/gettext-po-files-under-version-control/11291001#11291001 # more verbose than my minimal version [diff "msgcat"] textconv = msgcat --no-location --no-wrap --sort-output # these diff defs use po_diff/pot_diff from https://github.com/alikins/gitconfig # change the 'diff' in .gitattributes to diff=po or diff=pot to use # convert po files to a less noisy # # variant for display in git log -p etc # # note that textconv does not affect # # git-format-patch output [diff "po"] textconv = po_diff cachetextconv = true [diff "pot"] textconv = pot_diff # the line's it was picking for the "funcname" # context were kind of terrible for this case, so # just match a blank line so it's empty xfuncname = ^$ cachetextconv = true