feat: add Polish language support (#9770)
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { enUS } from "date-fns/locale"
|
||||
import { enUS, pl } from "date-fns/locale"
|
||||
import { Language } from "./types"
|
||||
|
||||
export const languages: Language[] = [
|
||||
@@ -8,4 +8,10 @@ export const languages: Language[] = [
|
||||
ltr: true,
|
||||
date_locale: enUS,
|
||||
},
|
||||
{
|
||||
code: "pl",
|
||||
display_name: "Polish",
|
||||
ltr: true,
|
||||
date_locale: pl,
|
||||
},
|
||||
]
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
import en from "./en.json"
|
||||
import pl from "./pl.json"
|
||||
export default {
|
||||
en: {
|
||||
translation: en,
|
||||
},
|
||||
pl: {
|
||||
translation: pl,
|
||||
},
|
||||
}
|
||||
|
||||
2755
packages/admin/dashboard/src/i18n/translations/pl.json
Normal file
2755
packages/admin/dashboard/src/i18n/translations/pl.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user