annotate po/update-potfiles.sh @ 3781:e0da46ca4c0b

added notice to POTFILES.in about update-potfiles.sh, ran update-po
author mf0102 <0102@gmx.at>
date Thu, 18 Oct 2007 14:51:10 +0200
parents 934fd1281269
children e94e641bf664
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 ..
3781
e0da46ca4c0b added notice to POTFILES.in about update-potfiles.sh, ran update-po
mf0102 <0102@gmx.at>
parents: 3380
diff changeset
5 find src/ \( -name "*.c*" -o -name "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in