fix(lang): translate language names & change zh-Hant language code to zh-TW (#793)

This commit is contained in:
TheCatLady
2021-01-31 04:51:33 -05:00
committed by GitHub
parent 20289b5960
commit 3c5ae360fd
3 changed files with 47 additions and 47 deletions

View File

@@ -1,20 +1,20 @@
import React, { ReactNode } from 'react';
export type AvailableLocales =
| 'de'
| 'en'
| 'es'
| 'it'
| 'ja'
| 'fr'
| 'nb-NO'
| 'de'
| 'ru'
| 'nl'
| 'es'
| 'it'
| 'pt-BR'
| 'pt-PT'
| 'ru'
| 'sr'
| 'sv'
| 'zh-Hant';
| 'zh-TW';
interface LanguageContextProps {
locale: AvailableLocales;