changeset 2597:be52c86750d7

Only scan "*.{c,cxx,cc}" instead of "*.c*" when updating POTFILES.in.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 21 May 2008 05:43:54 +0300
parents 50d5897994ff
children 63894a1e6b14
files po/update-potfiles.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/po/update-potfiles.sh	Wed May 21 04:41:03 2008 +0300
+++ b/po/update-potfiles.sh	Wed May 21 05:43:54 2008 +0300
@@ -2,4 +2,4 @@
 rm POTFILES*
 echo "# Please don't update this file manually - use ./update-potfiles.sh instead!" > POTFILES.in
 cd ..
-find src/ \( -name "*.c*" -o -name "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in
+find src/ \( -name "*.c" -o -name "*.cxx" -o -name "*.cc" -o -name "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in