view po/update-potfiles.sh @ 4093:1198b6911ca4

Close file handles when no codec can be found for them. (Bugzilla #15).
author Jussi Judin <jjudin+audacious@iki.fi>
date Wed, 19 Dec 2007 00:35:24 -0600
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