feat: added Ukrainian translations (#10536)

This pull request adds support for the Ukraine language in the MedusaJS Admin Dashboard.
Full translation, and json schema tests passed successfully
This commit is contained in:
Avia-Code
2024-12-10 22:17:00 +00:00
committed by GitHub
parent 376b9e85bc
commit 777582ac43
3 changed files with 2847 additions and 1 deletions
@@ -1,4 +1,4 @@
import { de, enUS, es, fr, it, ja, pl, ptBR, th, tr } from "date-fns/locale" import { de, enUS, es, fr, it, ja, pl, ptBR, th, tr, uk } from "date-fns/locale"
import { Language } from "./types" import { Language } from "./types"
export const languages: Language[] = [ export const languages: Language[] = [
@@ -62,4 +62,10 @@ export const languages: Language[] = [
ltr: true, ltr: true,
date_locale: th, date_locale: th,
}, },
{
code: "uk",
display_name: "Українська",
ltr: true,
date_locale: uk,
},
] ]
@@ -8,6 +8,7 @@ import pl from "./pl.json"
import ptBR from "./ptBR.json" import ptBR from "./ptBR.json"
import th from "./th.json" import th from "./th.json"
import tr from "./tr.json" import tr from "./tr.json"
import uk from "./uk.json"
export default { export default {
de: { de: {
@@ -40,4 +41,7 @@ export default {
tr: { tr: {
translation: tr, translation: tr,
}, },
uk: {
translation: uk,
},
} }
File diff suppressed because it is too large Load Diff