feat: add Polish language support (#9770)
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
This commit is contained in:
1 parent
a151865d0a
commit
5c22c57cb8
4 files changed
+2771
-1
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/dashboard": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
feat(dashboard): Add Polish translation of admin dashboard
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { enUS } from "date-fns/locale"
|
import { enUS, pl } from "date-fns/locale"
|
||||||
import { Language } from "./types"
|
import { Language } from "./types"
|
||||||
|
|
||||||
export const languages: Language[] = [
|
export const languages: Language[] = [
|
||||||
@@ -8,4 +8,10 @@ export const languages: Language[] = [
|
|||||||
ltr: true,
|
ltr: true,
|
||||||
date_locale: enUS,
|
date_locale: enUS,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
code: "pl",
|
||||||
|
display_name: "Polish",
|
||||||
|
ltr: true,
|
||||||
|
date_locale: pl,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
@@ -1,6 +1,10 @@
|
|||||||
import en from "./en.json"
|
import en from "./en.json"
|
||||||
|
import pl from "./pl.json"
|
||||||
export default {
|
export default {
|
||||||
en: {
|
en: {
|
||||||
translation: en,
|
translation: en,
|
||||||
},
|
},
|
||||||
|
pl: {
|
||||||
|
translation: pl,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user