added tons of features

This commit is contained in:
2025-02-05 08:01:14 +02:00
parent 4ae0d8c545
commit 8138da6b1d
195 changed files with 12619 additions and 415 deletions

14
i18n-config.ts Normal file
View File

@@ -0,0 +1,14 @@
export const i18nLocalesCodes: [string, string] = ['uk', 'ru'] as const
export const i18nLocales = [
{code: 'uk', name: 'Українська', nameUkr: 'Українська', icon: 'УКР'},
{code: 'ru', name: 'русский', nameUkr: 'російська', icon: 'РУС'}
] as const
export const i18nDefaultLocale = 'uk'
export const i18n = {
locales: i18nLocales,
defaultLocale: i18nDefaultLocale
}
export type I18nConfig = typeof i18n
export type Locale = I18nConfig['locales'][number]