view po/update-potfiles.sh @ 4789:0b44f32ea243

It is idiotic to exclude that printf out of the #ifdefs if it uses variables defined only inside the #ifdef... Fixed.
author Jonathan Schleifer <js-audacious@webkeks.org>
date Thu, 02 Oct 2008 23:20:04 +0200
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