Mercurial > audlegacy
annotate po/update-potfiles.sh @ 4662:8a783f826316
Added some debugging / startup messages (visible via 'audacious -N') to make
it easier to see where things go wrong, if they do.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 27 Jun 2008 17:58:45 +0300 |
parents | e94e641bf664 |
children |
rev | line source |
---|---|
3380 | 1 #!/bin/bash |
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 | 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 |