view po/update-potfiles.sh @ 4818:078e37740696

Fix up: WARNING **: Could not load desktop file /usr/share/applications/audacious.desktop: No such file or directory - Session management may not work now.
author Tony Vroon <chainsaw@gentoo.org>
date Fri, 16 Jan 2009 23:44:42 +0000
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