mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 03:11:25 +00:00
use zh-TW for language code, instead of zh_Hant. (#725)
Browser never returns zh_Hant. Chinese language code is usually categorized according to geographical region. (zh-CN, zh-HK, zh-TW)
This commit is contained in:
parent
c2c98ac638
commit
4117d04196
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ export const languages = [
|
||||||
{ resource: sv, code: "sv", name: "Svenska" },
|
{ resource: sv, code: "sv", name: "Svenska" },
|
||||||
{ resource: vi, code: "vi", name: "Tiếng Việt" },
|
{ resource: vi, code: "vi", name: "Tiếng Việt" },
|
||||||
{ resource: zh, code: "zh", name: "中文 (简体)" },
|
{ resource: zh, code: "zh", name: "中文 (简体)" },
|
||||||
{ resource: zh_Hant, code: "zh_Hant", name: "中文 (繁體)" },
|
{ resource: zh_Hant, code: "zh-TW", name: "中文 (繁體)" },
|
||||||
];
|
];
|
||||||
|
|
||||||
const resources: Resource = {};
|
const resources: Resource = {};
|
||||||
|
|
Loading…
Reference in a new issue