Bugfix : track names were no more extracted in the string catalog

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-01-10 23:04:27 +00:00
parent fd0d0048c7
commit 27b2ba3f26

View File

@ -3,8 +3,7 @@
# ./data/po/update_pot.sh
CPP_FILE_LIST="`find ./src -name '*.cpp' -print` `find ./src -name '*.hpp' -print`"
LISP_FILE_LIST="`find ./data -name '*.track' -print` `find ./data -name '*.challenge' -print` `find ./data -name '*.grandprix' -print`"
#XML_FILE_LIST=`find ./data -name '*.xml' -print`
XML_FILE_LIST="`find ./data -name 'track.xml' -print` `find ./data -name '*.challenge' -print` `find ./data -name '*.grandprix' -print`"
OTHER_XML_FILES=`find ./data -name '*.stkgui' -print && find ./data -name '*.challenge' -print && find ./data -name '*.grandprix' -print && find ./data -name 'kart.xml' -print`
echo "--------------------"
@ -15,7 +14,7 @@ echo $CPP_FILE_LIST
echo "--------------------"
echo " XML Files :"
echo "--------------------"
echo $LISP_FILE_LIST
echo $XML_FILE_LIST
echo $OTHER_XML_FILES
# XML Files
@ -30,7 +29,7 @@ echo " Generating .pot file..."
xgettext -d supertuxkart -s --keyword=_ --add-comments="I18N:" -p ./data/po -o supertuxkart.pot $CPP_FILE_LIST --package-name=supertuxkart
# Lisp files
xgettext -j -L lisp -d supertuxkart -s --keyword=_ --add-comments="I18N:" -p ./data/po -o supertuxkart.pot $LISP_FILE_LIST --package-name=supertuxkart
xgettext -j -L lisp -d supertuxkart -s --keyword=_ --add-comments="I18N:" -p ./data/po -o supertuxkart.pot $XML_FILE_LIST --package-name=supertuxkart
# XML Files
xgettext -j -d supertuxkart -s --keyword=_ --add-comments="I18N:" -p ./data/po -o supertuxkart.pot ./data/po/gui_strings.h --package-name=supertuxkart