diff options
author | Dessalines <happydooby@gmail.com> | 2019-08-10 10:38:40 -0700 |
---|---|---|
committer | Dessalines <happydooby@gmail.com> | 2019-08-10 10:38:40 -0700 |
commit | 784830b939ff922ac1cce6a6e10b537f220811bc (patch) | |
tree | 2e19494ad720a6a0df9398d2aaaaf5759876dbd4 /ui/src/i18next.ts | |
parent | 30f5f97f2fd9703c5a197bd08842de01fe7eb93b (diff) | |
parent | 2db0680355d81eb223f5530e9650c39676bbed98 (diff) |
Merge branch 'i18n-zh' of https://github.com/tqcenglish/lemmy into tqcenglish-i18n-zh
Diffstat (limited to 'ui/src/i18next.ts')
-rw-r--r-- | ui/src/i18next.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/i18next.ts b/ui/src/i18next.ts index 3b2ad604..0c02abf2 100644 --- a/ui/src/i18next.ts +++ b/ui/src/i18next.ts @@ -2,12 +2,14 @@ import * as i18n from 'i18next'; import { getLanguage } from './utils'; import { en } from './translations/en'; import { de } from './translations/de'; +import { zh } from './translations/zh'; // https://github.com/nimbusec-oss/inferno-i18next/blob/master/tests/T.test.js#L66 // TODO don't forget to add moment locales for new languages. const resources = { en: en, de: de, + zh: zh, } function format(value: any, format: any, lng: any) { |