Mercurial > audlegacy
view po/update-potfiles.sh @ 4830:901cd268f0ca
Do NOT save the config if we are crashing. This is a *hideously* bad idea.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 01 Mar 2009 23:17:11 -0600 |
parents | e94e641bf664 |
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