Uhhh idk
This commit is contained in:
@ -27,6 +27,9 @@ def parse(lines,cont):
|
||||
else:
|
||||
temp_cont.append(line)
|
||||
|
||||
# We reached the end of the file, dump any dialogue block we had left.
|
||||
cont.append(temp_cont)
|
||||
|
||||
|
||||
for file in listdir(f"files_old"):
|
||||
|
||||
@ -52,7 +55,7 @@ for file in listdir(f"files_old"):
|
||||
for num1,block in enumerate(dialogue_blocks_old):
|
||||
for num2,line in enumerate(block):
|
||||
if num2 == 0:
|
||||
out_lines.append(dialogue_blocks_new[num1][0])
|
||||
out_lines.append(dialogue_blocks_new[num1][num2])
|
||||
else:
|
||||
out_lines.append(line)
|
||||
|
||||
@ -69,7 +72,7 @@ for file in listdir(f"files_old"):
|
||||
Translation blocks follow this structure
|
||||
|
||||
#comment
|
||||
translate lang id:
|
||||
translate lang label_id:
|
||||
#comment
|
||||
"Dialogue"
|
||||
|
||||
|
Reference in New Issue
Block a user