annotate po/update-potfiles.sh @ 4846:cfd056b82dce

Spell Ernest Adrogu¸«±'s name correctly (bug #26)
author John Lindgren <john.lindgren@tds.net>
date Sun, 12 Apr 2009 19:40:25 -0400
parents e94e641bf664
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