This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
# Lang to JSON | |
def lang2json(src: str, dst: str, translated: bool): | |
with open(src, "r") as src_file, open(dst, "w") as dst_file: | |
lines = src_file.read().splitlines() | |
items = [] | |
last_i = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TOML 0 secs โโโโโโโโโโโโโโโโโโโโโ 100.0% |