Mercurial > audlegacy-plugins
comparison po/update-potfiles.sh @ 2597:be52c86750d7
Only scan "*.{c,cxx,cc}" instead of "*.c*" when updating POTFILES.in.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 21 May 2008 05:43:54 +0300 |
parents | 612d25be0fbd |
children |
comparison
equal
deleted
inserted
replaced
2596:50d5897994ff | 2597:be52c86750d7 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 rm POTFILES* | 2 rm POTFILES* |
3 echo "# Please don't update this file manually - use ./update-potfiles.sh instead!" > POTFILES.in | 3 echo "# Please don't update this file manually - use ./update-potfiles.sh instead!" > POTFILES.in |
4 cd .. | 4 cd .. |
5 find src/ \( -name "*.c*" -o -name "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in | 5 find src/ \( -name "*.c" -o -name "*.cxx" -o -name "*.cc" -o -name "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in |