diff options
| author | Omar Roth <omarroth@protonmail.com> | 2019-07-04 23:11:04 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2019-07-04 23:11:04 -0500 |
| commit | 857c57dabaa6b378475d38a16a9e081efc49b131 (patch) | |
| tree | beb58225a9356081e3a2da5b8e59d084b34d22eb | |
| parent | 5515da3c2d09544d0f693abf7c75895366a7a8a8 (diff) | |
| download | invidious-857c57dabaa6b378475d38a16a9e081efc49b131.tar.gz invidious-857c57dabaa6b378475d38a16a9e081efc49b131.tar.bz2 invidious-857c57dabaa6b378475d38a16a9e081efc49b131.zip | |
Add support for Chinese translation
| -rw-r--r-- | locales/zh-CN.json | 1 | ||||
| -rw-r--r-- | src/invidious.cr | 1 |
2 files changed, 2 insertions, 0 deletions
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 |
