view po/regen_potfiles.sh @ 1737:fad7d30676c3

Editors: disable Delete button if a .desktop file is not writeable and disable Edit button when no entry is selected.
author zas_
date Fri, 04 Dec 2009 20:40:02 +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.$$