Update 1-get-text.py

This commit is contained in:
RVC-Boss 2024-01-16 22:25:15 +08:00 committed by GitHub
parent f6ea7ee1f5
commit 0e2467ace4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,15 @@ if(os.path.exists(txt_path)==False):
lines=f.read().strip("\n").split("\n") lines=f.read().strip("\n").split("\n")
language_v1_to_language_v2={ language_v1_to_language_v2={
"ZH":"zh" "ZH":"zh",
"zh":"zh",
"JP":"ja",
"jp":"ja",
"JA":"ja",
"ja":"ja",
"EN":"en",
"en":"en",
"En":"en",
} }
for line in lines[int(i_part)::int(all_parts)]: for line in lines[int(i_part)::int(all_parts)]:
try: try: