mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-23 14:17:46 -04:00
Fixed Chinese translation issue (zh and zt inverted). #2166
This commit is contained in:
parent
07f601f407
commit
b9b97e980e
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue