improved .pot generator script

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2008-05-09 18:39:48 +00:00
parent 4deda4e3ee
commit 3c3d25cb86

View File

@ -2,4 +2,15 @@
#
# ./data/po/update_pot.sh
xgettext -d supertuxkart -s --keyword=_ -p ./data/po -o supertuxkart.pot ./src/*.cpp ./src/*/*.cpp
CPP_FILE_LIST=`find ./src -name '*.cpp' -print`
echo "--------------------"
echo " Files :"
echo "--------------------"
echo $CPP_FILE_LIST
echo "---------------------------"
echo " Generating .pot file..."
xgettext -d supertuxkart -s --keyword=_ -p ./data/po -o supertuxkart.pot ./src/*.cpp ./src/*/*.cpp
echo " Done"
echo "---------------------------"