view po/update-potfiles.sh @ 2530:7386fea4c673

Updated pkg.m4 from Debian testing and added some shell portability fixes myself.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 21 Apr 2008 03:48:17 +0300
parents 612d25be0fbd
children be52c86750d7
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