mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-09 18:05:09 +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
|
@ -63,7 +63,7 @@ export const languages = [
|
|||
{ resource: sv, code: "sv", name: "Svenska" },
|
||||
{ resource: vi, code: "vi", name: "Tiếng Việt" },
|
||||
{ resource: zh, code: "zh", name: "中文 (简体)" },
|
||||
{ resource: zh_Hant, code: "zh_Hant", name: "中文 (繁體)" },
|
||||
{ resource: zh_Hant, code: "zh-TW", name: "中文 (繁體)" },
|
||||
];
|
||||
|
||||
const resources: Resource = {};
|
||||
|
|
Loading…
Reference in a new issue