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

This commit is contained in:
morpheus65535 2023-06-07 21:04:58 -04:00
parent 07f601f407
commit b9b97e980e
1 changed files with 2 additions and 2 deletions

View File

@ -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)