stk-code_catmod/data/po/update_pot.sh
auria 3c3d25cb86 improved .pot generator script
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 18:39:48 +00:00

16 lines
464 B
Bash
Executable File

# run this script from the root directory to re-generate the .pot file
#
# ./data/po/update_pot.sh
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 "---------------------------"