annotate po/update-potfiles.sh @ 2091:612d25be0fbd

added notice to POTFILES.in about update-potfiles.sh
author mf0102 <0102@gmx.at>
date Thu, 18 Oct 2007 15:22:17 +0200
parents bee9eaedefa5
children be52c86750d7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1525
bee9eaedefa5 - made the MP3 FileWriter output plugin less braindead
mf0102 <0102@gmx.at>
parents:
diff changeset
1 #!/bin/bash
bee9eaedefa5 - made the MP3 FileWriter output plugin less braindead
mf0102 <0102@gmx.at>
parents:
diff changeset
2 rm POTFILES*
2091
612d25be0fbd added notice to POTFILES.in about update-potfiles.sh
mf0102 <0102@gmx.at>
parents: 1525
diff changeset
3 echo "# Please don't update this file manually - use ./update-potfiles.sh instead!" > POTFILES.in
1525
bee9eaedefa5 - made the MP3 FileWriter output plugin less braindead
mf0102 <0102@gmx.at>
parents:
diff changeset
4 cd ..
2091
612d25be0fbd added notice to POTFILES.in about update-potfiles.sh
mf0102 <0102@gmx.at>
parents: 1525
diff changeset
5 find src/ \( -name "*.c*" -o -name "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in