Install translation to correct directories
This commit is contained in:
parent
352f2a297f
commit
c1f81ca284
2 changed files with 12 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
#
|
||||
|
||||
from buildsite import *
|
||||
import os
|
||||
|
||||
# *** COMMON NAMES AND PATHS ***
|
||||
CommonName = "data_shard"
|
||||
|
@ -39,8 +40,12 @@ CommonPath = "common/" + CommonName
|
|||
CopyDirectSourceDirectories = [ ]
|
||||
CopyDirectSourceDirectories += [ DataShardDirectory ]
|
||||
CopyDirectSourceDirectories += [ LeveldesignDataShardDirectory ]
|
||||
CopyDirectSourceDirectories += [ TranslationDirectory + "/translated" ]
|
||||
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 ***
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#
|
||||
|
||||
from buildsite import *
|
||||
import os
|
||||
|
||||
# *** COMMON NAMES AND PATHS ***
|
||||
CommonName = "gamedev"
|
||||
|
@ -39,6 +40,11 @@ CommonPath = "common/" + CommonName
|
|||
CopyDirectSourceDirectories = [ ]
|
||||
CopyDirectSourceDirectories += [ GamedevDirectory ]
|
||||
CopyDirectSourceFiles = [ ]
|
||||
translationFileList = os.listdir(TranslationDirectory + "/translated")
|
||||
for fileName in translationFileList:
|
||||
if fileName != ".svn" and fileName != ".." and fileName != "." and fileName != "*.*":
|
||||
if fileName.endswith(".uxt") or (fileName.endswith(".txt") and (fileName.startswith("skill_") or fileName.startswith("item_") or fileName.startswith("creature_") or fileName.startswith("sbrick_") or fileName.startswith("sphrase_") or fileName.startswith("place_") or fileName.startswith("faction_") or fileName.startswith("title_") or fileName.startswith("outpost_"))):
|
||||
CopyDirectSourceFiles += [ TranslationDirectory + "/translated/" + fileName ]
|
||||
|
||||
|
||||
# *** SOURCE DIRECTORIES IN LEVELDESIGN ***
|
||||
|
|
Loading…
Reference in a new issue