view po/update-potfiles.sh @ 2928:c5b7f1d13183

short explanation why exactly using "/" as mountpoint is not a good idea
author Andrew O. Shadoura <bugzilla@tut.by>
date Wed, 20 Aug 2008 03:02:09 +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