diff options
| author | Haishan <[email protected]> | 2020-12-06 20:12:16 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2020-12-06 21:09:18 +0800 |
| commit | b0b0edab16c99ce9cef0bbb4cd10e05a3cb3ffd7 (patch) | |
| tree | f7b487afda73e507f7130b8057782d406ef71665 /src/misc | |
| parent | d2b01d80fb8dae8e3400bb09038d3afbcbd55495 (diff) | |
build: upgrade deps
Diffstat (limited to 'src/misc')
| -rw-r--r-- | src/misc/i18n.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/misc/i18n.ts b/src/misc/i18n.ts index 023c5d7..6155732 100644 --- a/src/misc/i18n.ts +++ b/src/misc/i18n.ts @@ -32,6 +32,7 @@ i18next switch (url) { case '/__zh/translation.json': + case '/__zh-CN/translation.json': p = allLocales.zh; break; case '/__en/translation.json': @@ -47,7 +48,7 @@ i18next } }, }, - supportedLngs: ['en', 'zh'], + supportedLngs: ['en', 'zh-CN'], fallbackLng: 'en', interpolation: { escapeValue: false, |
