view po/regen_potfiles.sh @ 2873:6a16ed6742be

Bug fix: View in new window from files pane When View in New Window was called from a right-click in the files pane, the image was not shown at the correct size
author Colin Clark <colin.clark@cclark.uk>
date Tue, 11 Dec 2018 11:46:00 +0000
parents f451d676a829
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