added Ukrainian to i18n (#829)

This commit is contained in:
Serhii Stets
2024-02-08 18:47:12 +02:00
committed by GitHub
parent 51818efc38
commit e186811c9c
2 changed files with 67 additions and 0 deletions

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"]