annotate po/update-potfiles.sh @ 4566:e94e641bf664

Only scan "*.{c,cxx,cc}" instead of "*.c*" when updating POTFILES.in.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 21 May 2008 05:45:28 +0300
parents e0da46ca4c0b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3380
934fd1281269 added update-potfiles.sh script
mf0102 <0102@gmx.at>
parents:
diff changeset
1 #!/bin/bash
934fd1281269 added update-potfiles.sh script
mf0102 <0102@gmx.at>
parents:
diff changeset
2 rm POTFILES*
3781
e0da46ca4c0b added notice to POTFILES.in about update-potfiles.sh, ran update-po
mf0102 <0102@gmx.at>
parents: 3380
diff changeset
3 echo "# Please don't update this file manually - use ./update-potfiles.sh instead!" > POTFILES.in
3380
934fd1281269 added update-potfiles.sh script
mf0102 <0102@gmx.at>
parents:
diff changeset
4 cd ..
4566
e94e641bf664 Only scan "*.{c,cxx,cc}" instead of "*.c*" when updating POTFILES.in.
Matti Hamalainen <ccr@tnsp.org>
parents: 3781
diff changeset
5 find src/ \( -name "*.c" -o -name "*.cxx" -o -name "*.cc" -o -name "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in