mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: set up locales
This commit is contained in:
1 parent
3bbc083b2a
commit
60ab845326
7 files changed
+28
-14
No files matched your search
@@ -46,4 +46,5 @@ export * from './votes';
|
||||
export * from './createDefaultProvisions';
|
||||
export * from './metaSortTank';
|
||||
export * from './romanize';
|
||||
export * from './supportedLocales';
|
||||
export * from './youtubers';
|
||||
@@ -0,0 +1,10 @@
|
||||
export const SUPPORTED_LOCALES = ['en', 'es', 'hr', 'ru', 'uk', 'cn'];
|
||||
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',
|
||||
};
|
||||
Reference in new issue
Block a user