feat: add ptBR (Brazilian Portuguese) in translations (#10188)
**Changelog** - Add translation in Portuguese (Brazil) - Updates test suites that validate translations (*.json) and corresponding $schema.json. Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
This commit is contained in:
5
.changeset/chilled-nails-cheat.md
Normal file
5
.changeset/chilled-nails-cheat.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/dashboard": patch
|
||||
---
|
||||
|
||||
feat(dashboard): Add ptBR i18n
|
||||
@@ -1,4 +1,4 @@
|
||||
import { de, enUS, es, pl, tr } from "date-fns/locale"
|
||||
import { de, enUS, es, pl, ptBR, tr } from "date-fns/locale"
|
||||
import { Language } from "./types"
|
||||
|
||||
export const languages: Language[] = [
|
||||
@@ -26,6 +26,12 @@ export const languages: Language[] = [
|
||||
ltr: true,
|
||||
date_locale: pl,
|
||||
},
|
||||
{
|
||||
code: "ptBR",
|
||||
display_name: "Português (Brasil)",
|
||||
ltr: true,
|
||||
date_locale: ptBR,
|
||||
},
|
||||
{
|
||||
code: "tr",
|
||||
display_name: "Türkçe",
|
||||
|
||||
@@ -2,6 +2,7 @@ import de from "./de.json"
|
||||
import en from "./en.json"
|
||||
import es from "./es.json"
|
||||
import pl from "./pl.json"
|
||||
import ptBR from "./ptBR.json"
|
||||
import tr from "./tr.json"
|
||||
|
||||
export default {
|
||||
@@ -17,6 +18,9 @@ export default {
|
||||
pl: {
|
||||
translation: pl,
|
||||
},
|
||||
ptBR: {
|
||||
translation: ptBR,
|
||||
},
|
||||
tr: {
|
||||
translation: tr,
|
||||
},
|
||||
|
||||
2769
packages/admin/dashboard/src/i18n/translations/ptBR.json
Normal file
2769
packages/admin/dashboard/src/i18n/translations/ptBR.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user