Skip to content

Commit

Permalink
feat: added Ukrainian translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladyslav Surkov authored and Vladyslav Surkov committed Dec 10, 2024
1 parent e41ab50 commit 9385307
Show file tree
Hide file tree
Showing 3 changed files with 2,847 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/admin/dashboard/src/i18n/languages.ts
Original file line number Diff line number Diff line change
@@ -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"

export const languages: Language[] = [
Expand Down Expand Up @@ -62,4 +62,10 @@ export const languages: Language[] = [
ltr: true,
date_locale: th,
},
{
code: "uk",
display_name: "Українська",
ltr: true,
date_locale: uk,
},
]
4 changes: 4 additions & 0 deletions packages/admin/dashboard/src/i18n/translations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import pl from "./pl.json"
import ptBR from "./ptBR.json"
import th from "./th.json"
import tr from "./tr.json"
import uk from "./uk.json"

export default {
de: {
Expand Down Expand Up @@ -40,4 +41,7 @@ export default {
tr: {
translation: tr,
},
uk: {
translation: uk,
},
}
Loading

0 comments on commit 9385307

Please sign in to comment.