1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-20 18:08:11 +09:00

feat: add zh-Hant (#120)

This commit is contained in:
2020-07-31 11:32:54 +09:00
committed by GitHub
parent 815e29dddf
commit e1b2e6f41f
6 changed files with 214 additions and 139 deletions

View File

@@ -5,7 +5,7 @@ import XHR from 'i18next-xhr-backend';
import LanguageDetector from 'i18next-browser-languagedetector';
import { initReactI18next } from 'react-i18next';
const TRANSLATION_VERSION = '1.19';
const TRANSLATION_VERSION = '2';
i18n
.use(Backend)
@@ -20,6 +20,7 @@ i18n
en: TRANSLATION_VERSION,
ja: TRANSLATION_VERSION,
'zh-Hans': TRANSLATION_VERSION,
'zh-Hant': TRANSLATION_VERSION,
},
},
],