-
Notifications
You must be signed in to change notification settings - Fork 686
/
Copy pathindex.ts
26 lines (23 loc) · 955 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import type { LocaleTranslations } from './config.js'
import deLocale from './de/translation.json' with { type: 'json' }
import enLocale from './en/translation.json' with { type: 'json' }
import esLocale from './es/translation.json' with { type: 'json' }
import itLocale from './it/translation.json' with { type: 'json' }
import jaLocale from './ja/translation.json' with { type: 'json' }
import plLocale from './pl/translation.json' with { type: 'json' }
import ptBrLocale from './pt-BR/translation.json' with { type: 'json' }
import uaLocale from './ua/translation.json' with { type: 'json' }
import zhCNLocale from './zh-CN/translation.json' with { type: 'json' }
export * from './config.js'
export * from './default-config.js'
export const locales: Record<string, LocaleTranslations> = {
de: deLocale,
en: enLocale,
es: esLocale,
it: itLocale,
ja: jaLocale,
pl: plLocale,
'pt-BR': ptBrLocale,
ua: uaLocale,
'zh-CN': zhCNLocale,
}