diff --git a/webapp/src/constants.ts b/webapp/src/constants.ts index f750d5e81..e5e1f4cea 100644 --- a/webapp/src/constants.ts +++ b/webapp/src/constants.ts @@ -111,12 +111,12 @@ class Constants { displayName: 'Pусский', }, { - code: 'zh-cn', - name: 'chinese', + code: 'zh-tw', + name: 'traditional-chinese', displayName: '中文 (繁體)', }, { - code: 'zh-tw', + code: 'zh-cn', name: 'simplified-chinese', displayName: '中文 (简体)', }, diff --git a/webapp/src/i18n.tsx b/webapp/src/i18n.tsx index 6768916eb..5779c9d49 100644 --- a/webapp/src/i18n.tsx +++ b/webapp/src/i18n.tsx @@ -54,11 +54,9 @@ export function getMessages(lang: string): {[key: string]: string} { case 'tr': return messages_tr case 'zh-cn': - return messages_zhHant - case 'zh-tx': return messages_zhHans case 'zh-tw': - return messages_zhHans + return messages_zhHant } return messages_en }