summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2022-03-22 14:35:57 -0400
committermorpheus65535 <[email protected]>2022-03-22 14:35:57 -0400
commit5033c46e5e02800f39ec5bda6f3f975eb2a65932 (patch)
tree8cd4ecba7977dda82f8b88c16470df20a98ade4d
parent012dc1cee977e4fb0b72a955736476f748c8314b (diff)
downloadbazarr-5033c46e5e02800f39ec5bda6f3f975eb2a65932.tar.gz
bazarr-5033c46e5e02800f39ec5bda6f3f975eb2a65932.zip
no log: fix Chinese language translation conversion dict
-rw-r--r--bazarr/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bazarr/utils.py b/bazarr/utils.py
index 96aadfe89..a8aa6ab5d 100644
--- a/bazarr/utils.py
+++ b/bazarr/utils.py
@@ -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)