Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lyaschuchenko authored Jun 8, 2024
1 parent c6187cc commit a1f1755
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/locales/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import nl from './nl.json'
import pl from './pl.json'
import ru from './ru.json'
import tr from './tr.json'
import uk from './uk.json'
import zh_hans from './zh-Hans.json'
import zh_hant from './zh-Hant.json'

Expand All @@ -28,6 +29,7 @@ export enum Locales {
PL = 'pl',
RU = 'ru',
TR = 'tr',
UA = 'uk',
ZH_HANS = 'zh-Hans',
ZH_HANT = 'zh-Hant'
}
Expand All @@ -45,6 +47,7 @@ export const LOCALES: LocaleDef[] = [
{ title: 'polski', value: Locales.PL },
{ title: 'Русский', value: Locales.RU },
{ title: 'Türkçe', value: Locales.TR },
{ title: 'Українська', value: Locales.UA },
{ title: '简体中文', value: Locales.ZH_HANS },
{ title: '繁體中文', value: Locales.ZH_HANT }
]
Expand All @@ -62,6 +65,7 @@ export const messages: Record<Locales, any> = {
[Locales.PL]: pl,
[Locales.RU]: ru,
[Locales.TR]: tr,
[Locales.UA]: ua,
[Locales.ZH_HANS]: zh_hans,
[Locales.ZH_HANT]: zh_hant
}
Expand Down

0 comments on commit a1f1755

Please sign in to comment.