feat(i18n): add Croatian to selectable languages
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
kolaente 2024-05-25 10:03:08 +02:00
parent 3925536a7c
commit fb1f461e51
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ export const SUPPORTED_LOCALES = {
'ar-SA': 'اَلْعَرَبِيَّةُ',
'sl-SI': 'Slovenščina',
'pt-BR': 'Português Brasileiro',
'hr-HR': 'Hrvatski',
// IMPORTANT: Also add new languages to useDayjsLanguageSync
} as const

View File

@ -23,6 +23,7 @@ export const DAYJS_LOCALE_MAPPING = {
'ar-SA': 'ar-sa',
'sl-SI': 'sl',
'pt-BR': 'pt',
'hr-HR': 'hr',
} as Record<SupportedLocale, ISOLanguage>
export const DAYJS_LANGUAGE_IMPORTS = {