view po/update-potfiles.sh @ 4852:c4698861e8fb

Fix .M files being recognized as playlists. Pointed out by Chainsaw.
author William Pitcock <nenolod@atheme.org>
date Tue, 14 Apr 2009 15:16:54 -0500
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