mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-03 23:32:23 +00:00
added Ukrainian to i18n (#829)
This commit is contained in:
parent
51818efc38
commit
e186811c9c
2 changed files with 67 additions and 0 deletions
quartz/i18n
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue