view po/regen_potfiles.sh @ 2861:727f2f8edf74

Info sidebar: Preserve state of Show Hidden flags In the Info Sidebar, preserve the state of the Show Hidden flags for the Exif and File Info panes
author Colin Clark <colin.clark@cclark.uk>
date Thu, 08 Nov 2018 12:26:09 +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