Exclude internal tracks from translation

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2012-10-27 22:34:06 +00:00
parent 7b2faff802
commit 65ad0b182c
2 changed files with 230 additions and 230 deletions

@ -28,6 +28,7 @@ def traverse(file, node, isChallenge, isGP, isKart, isTrack, level=0):
f.write( line.encode( "utf-8" ) )
if isChallenge or isGP or isKart or isTrack:
if isTrack and e.hasAttribute("internal") and e.getAttribute("internal") == "Y": continue
if e.hasAttribute("name") and len(e.getAttribute("name")) > 0:
#print "Label=", e.getAttribute("name"), " Comment=", comment
line = ""

File diff suppressed because it is too large Load Diff