feat(lang): add Simplified Chinese display language (#2032)

This commit is contained in:
TheCatLady
2021-09-04 01:12:41 -04:00
committed by GitHub
parent fe89fd5f12
commit 590ea7e404
2 changed files with 7 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ export type AvailableLocale =
| 'ru'
| 'sr'
| 'sv'
| 'zh-CN'
| 'zh-TW';
type AvailableLanguageObject = Record<
@@ -93,6 +94,10 @@ export const availableLanguages: AvailableLanguageObject = {
code: 'zh-TW',
display: '‪繁體中文‬',
},
'zh-CN': {
code: 'zh-CN',
display: '‪简体中文‬',
},
};
export interface LanguageContextProps {