view po/update-potfiles.sh @ 3092:1e39f795348c

gio: make sure we return the number of bytes we pulled off the getc() stack. (This makes wavpack happy, but not libid3tag.)
author William Pitcock <nenolod@atheme.org>
date Thu, 30 Apr 2009 07:02:04 -0500
parents be52c86750d7
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