view po/update-potfiles.sh @ 4028:bb709f82068b

- Close dup()-ed file if ID3 file handling fails
author Ralf Ertzinger <ralf@skytale.net>
date Wed, 28 Nov 2007 16:49:24 +0100
parents e0da46ca4c0b
children e94e641bf664
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 "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in