view po/update-potfiles.sh @ 3049:9ec8a613a1d6

More OSS4 plugin changes
author Michal Lipski <tallica@o2.pl>
date Sat, 18 Apr 2009 13:59:58 +0200
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