Mercurial > audlegacy
view po/update-potfiles.sh @ 4566:e94e641bf664
Only scan "*.{c,cxx,cc}" instead of "*.c*" when updating POTFILES.in.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 21 May 2008 05:45:28 +0300 |
parents | e0da46ca4c0b |
children |
line wrap: on
line source
#!/bin/bash rm POTFILES* echo "# Please don't update this file manually - use ./update-potfiles.sh instead!" > POTFILES.in cd .. find src/ \( -name "*.c" -o -name "*.cxx" -o -name "*.cc" -o -name "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in