added Ukrainian to i18n (#829)

This commit is contained in:
Serhii Stets authored and GitHub committed 2024-02-08 08:47:12 -08:00
1 parent 51818efc38
commit e186811c9c
2 files changed
+67

No files matched your search

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