added Ukrainian to i18n ()

This commit is contained in:
Serhii Stets 2024-02-08 18:47:12 +02:00 committed by GitHub
parent 51818efc38
commit e186811c9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 67 additions and 0 deletions
quartz/i18n

View file

@ -6,6 +6,7 @@ import de from "./locales/de-DE"
import nl from "./locales/nl-NL"
import ro from "./locales/ro-RO"
import es from "./locales/es-ES"
import uk from "./locales/uk-UA"
export const TRANSLATIONS = {
"en-US": en,
@ -15,6 +16,7 @@ export const TRANSLATIONS = {
"nl-NL": nl,
"ro-RO": ro,
"es-ES": es,
"uk-UA": uk,
} as const
export const i18n = (locale: ValidLocale): Translation => TRANSLATIONS[locale ?? "en-US"]