Skip to content

Commit

Permalink
Fix remaining TLK translate bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Nov 8, 2023
1 parent afb343d commit 0fe53e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/k_batchpatcher/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def handle_restype_and_patch(
log_output_with_separator(f"Translating TLK text at {file_path!s}", above=True)
translated_text = pytranslator.translate(text, from_lang=from_lang)
log_output(f"Translated {text} --> {translated_text}")
new_entries[strref].text = text
new_entries[strref].text = translated_text
tlk.entries = new_entries
write_tlk(tlk, file_path)
if ext in gff_types:
Expand Down

0 comments on commit 0fe53e1

Please sign in to comment.