Fixed Chinese translation issue (zh and zt inverted). #2166

pull/2131/head
morpheus65535 2 years ago
parent 07f601f407
commit b9b97e980e

@ -18,8 +18,8 @@ def translate_subtitles_file(video_path, source_srt_file, from_lang, to_lang, fo
sonarr_episode_id, radarr_id):
language_code_convert_dict = {
'he': 'iw',
'zt': 'zh-CN',
'zh': 'zh-TW',
'zh': 'zh-CN',
'zt': 'zh-TW',
}
to_lang = alpha3_from_alpha2(to_lang)

Loading…
Cancel
Save