Don't copy translations to data_shard

This commit is contained in:
kaetemi 2014-02-14 00:40:20 +01:00
parent de4aff6d9c
commit 8ec64c98c8

View file

@ -39,11 +39,6 @@ CopyDirectSourceDirectories = [ ]
CopyDirectSourceDirectories += [ DataShardDirectory ] CopyDirectSourceDirectories += [ DataShardDirectory ]
CopyDirectSourceDirectories += [ LeveldesignDataShardDirectory ] CopyDirectSourceDirectories += [ LeveldesignDataShardDirectory ]
CopyDirectSourceFiles = [ ] CopyDirectSourceFiles = [ ]
translationFileList = os.listdir(TranslationDirectory + "/translated")
for fileName in translationFileList:
if fileName != ".svn" and fileName != ".." and fileName != "." and fileName != "*.*":
if fileName.endswith(".txt"):
CopyDirectSourceFiles += [ TranslationDirectory + "/translated/" + fileName ]
# *** SOURCE DIRECTORIES IN LEVELDESIGN *** # *** SOURCE DIRECTORIES IN LEVELDESIGN ***