view po/update-potfiles.sh @ 4628:8399067f9b1a

Remove few pointless string copies.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 11 Jun 2008 17:28:03 +0300
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