view po/update-potfiles.sh @ 2802:50657768a6f1

don't pass non-alphanumerics to preprocessor
author Andrew O. Shadoura <bugzilla@tut.by>
date Sat, 12 Jul 2008 02:58:39 +0300
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