Invidious is an alternative front-end to YouTube
Add support for Chinese translation
Omar Roth857c57dabaa6
diff --git a/locales/zh-CN.json b/locales/zh-CN.jsonindex 34fe411d..caa565f9 100644--- a/locales/zh-CN.json+++ b/locales/zh-CN.json@@ -310,6 +310,7 @@"%A %B %-d, %Y": "%Y年%-m月%-d日 %a","(edited)": "(已编辑)","YouTube comment permalink": "YouTube 评论永久链接",+ "permalink": "","`x` marked it with a ❤": "`x` 为此加 ❤","Audio mode": "音频模式","Video mode": "视频模式",diff --git a/src/invidious.cr b/src/invidious.crindex 4c190249..4817b287 100644--- a/src/invidious.cr+++ b/src/invidious.cr@@ -85,6 +85,7 @@ LOCALES = {"pl" => load_locale("pl"),"ru" => load_locale("ru"),"uk" => load_locale("uk"),+ "zh-CN" => load_locale("zh-CN"),}config = CONFIG