view po/regen_potfiles.sh @ 1779:f64e346a3d9c

Move "Add Keyword" menu item at top of Keywords bar contextual menu. Suggested by Lars T¸«£uber.
author zas_
date Thu, 10 Dec 2009 17:48:43 +0000
parents 351dd18c7db0
children
line wrap: on
line source

#!/bin/sh

#generate a patch to update POTFILES.in
#Use like this: ./regen_potfiles.sh | patch -p0
TMP=POTFILES.in.$$
((find ../src/ -type f -name '*.c' ; find ../ -type f -name '*.desktop.in') | while read f; do
	(echo $f | sed 's#^../##')
done) | sort > $TMP
diff -u POTFILES.in $TMP
rm -f $TMP