mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: simplification
This commit is contained in:
1 parent
3f595d0d8a
commit
599b81934e
4 files changed
+66
-15
No files matched your search
@@ -1,11 +1,13 @@
|
||||
export const SUPPORTED_LOCALES = ['en', 'es', 'hr', 'ru', 'uk', 'cn'];
|
||||
export const SUPPORTED_LOCALES = [
|
||||
'en',
|
||||
'es',
|
||||
'hr',
|
||||
'pt',
|
||||
'ru',
|
||||
'uk',
|
||||
'zh',
|
||||
] as const;
|
||||
|
||||
export const DEFAULT_LOCALE = SUPPORTED_LOCALES[0];
|
||||
export const LOCALE_FILES: Record<(typeof SUPPORTED_LOCALES)[number], string> =
|
||||
{
|
||||
en: 'en-US',
|
||||
es: 'es-ES',
|
||||
hr: 'hr',
|
||||
ru: 'ru',
|
||||
uk: 'uk',
|
||||
cn: 'zh-CN',
|
||||
};
|
||||
|
||||
export type SupportedLocale = (typeof SUPPORTED_LOCALES)[number];
|
||||
Reference in new issue
Block a user