view po/regen_potfiles.sh @ 1742:368a7e7cc695

Fix bug 2917164. g_utf8_collate_key_for_filename() don't give sort order one may expect. Using g_utf8_collate_key() make things closer to many other programs output (ie. ls and gqview). Thanks to Michael pointing this out.
author zas_
date Sat, 19 Dec 2009 12:53:20 +0000
parents 4581d3f03d22
children
line wrap: on
line source

#!/bin/sh

#generate a patch to update POTFILES.in
#Use like this: ./regen_potfiles.sh | patch -p0
(cd .. ; grep -l 'N\?_[[:space:]]*(.*)' ./src/*.c) > POTFILES.in.$$
diff -u POTFILES.in POTFILES.in.$$
rm -f POTFILES.in.$$