1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-02-20 21:17:02 +00:00

no log: fix Chinese language translation conversion dict

This commit is contained in:
morpheus65535 2022-03-22 14:35:57 -04:00
parent 012dc1cee9
commit 5033c46e5e

View file

@ -448,8 +448,8 @@ def translate_subtitles_file(video_path, source_srt_file, to_lang, forced, hi):
language_code_convert_dict = {
'he': 'iw',
'zt': 'zh-cn',
'zh': 'zh-tw',
'zt': 'zh-CN',
'zh': 'zh-TW',
}
to_lang = alpha3_from_alpha2(to_lang)