view po/update-potfiles.sh @ 4844:aed7b7a97932

Functions were declared that are only used in specific situations. Move a code block up a bit and #ifdef appropriately.
author Tony Vroon <chainsaw@gentoo.org>
date Mon, 13 Apr 2009 00:19:52 +0100
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