From 857c57dabaa6b378475d38a16a9e081efc49b131 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 4 Jul 2019 23:11:04 -0500 Subject: [PATCH] Add support for Chinese translation --- locales/zh-CN.json | 1 + src/invidious.cr | 1 + 2 files changed, 2 insertions(+) diff --git a/locales/zh-CN.json b/locales/zh-CN.json index 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.cr index 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