Skip to content

Commit

Permalink
Add Romanian translation
Browse files Browse the repository at this point in the history
  • Loading branch information
python27tt committed Jan 9, 2025
1 parent 6778235 commit 8cc7ca8
Show file tree
Hide file tree
Showing 3 changed files with 2,861 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, uk } from "date-fns/locale"
import { de, enUS, es, fr, it, ja, pl, ptBR, th, tr, uk, ro } from "date-fns/locale"
import { Language } from "./types"

export const languages: Language[] = [
Expand Down Expand Up @@ -68,4 +68,10 @@ export const languages: Language[] = [
ltr: true,
date_locale: uk,
},
{
code: "ro",
display_name: "Română",
ltr: true,
date_locale: ro,
},
]
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 @@ -9,6 +9,7 @@ import ptBR from "./ptBR.json"
import th from "./th.json"
import tr from "./tr.json"
import uk from "./uk.json"
import ro from "./ro.json"

export default {
de: {
Expand Down Expand Up @@ -44,4 +45,7 @@ export default {
uk: {
translation: uk,
},
ro: {
translation: ro,
},
}
Loading

0 comments on commit 8cc7ca8

Please sign in to comment.