feat(i18n): add Croatian to selectable languages
This commit is contained in:
parent
3925536a7c
commit
fb1f461e51
@ -22,6 +22,7 @@ export const SUPPORTED_LOCALES = {
|
|||||||
'ar-SA': 'اَلْعَرَبِيَّةُ',
|
'ar-SA': 'اَلْعَرَبِيَّةُ',
|
||||||
'sl-SI': 'Slovenščina',
|
'sl-SI': 'Slovenščina',
|
||||||
'pt-BR': 'Português Brasileiro',
|
'pt-BR': 'Português Brasileiro',
|
||||||
|
'hr-HR': 'Hrvatski',
|
||||||
// IMPORTANT: Also add new languages to useDayjsLanguageSync
|
// IMPORTANT: Also add new languages to useDayjsLanguageSync
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@ export const DAYJS_LOCALE_MAPPING = {
|
|||||||
'ar-SA': 'ar-sa',
|
'ar-SA': 'ar-sa',
|
||||||
'sl-SI': 'sl',
|
'sl-SI': 'sl',
|
||||||
'pt-BR': 'pt',
|
'pt-BR': 'pt',
|
||||||
|
'hr-HR': 'hr',
|
||||||
} as Record<SupportedLocale, ISOLanguage>
|
} as Record<SupportedLocale, ISOLanguage>
|
||||||
|
|
||||||
export const DAYJS_LANGUAGE_IMPORTS = {
|
export const DAYJS_LANGUAGE_IMPORTS = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user