Skip to content

Commit

Permalink
feat(locale): add Brazilian Portuguese language (#2825)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelbelo authored Dec 3, 2024
1 parent 68a10f0 commit b7ff7d8
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export { default as ja } from './ja'
export { default as ko } from './ko'
export { default as nl } from './nl'
export { default as pl } from './pl'
export { default as pt_br } from './pt_br'
export { default as ru } from './ru'
export { default as sk } from './sk'
export { default as tr } from './tr'
Expand Down
53 changes: 53 additions & 0 deletions src/runtime/locale/pt_br.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import { defineLocale } from '../composables/defineLocale'

export default defineLocale({
name: 'Português (Brasil)',
code: 'pt-BR',
messages: {
inputMenu: {
noMatch: 'Nenhum dado correspondente',
noData: 'Nenhum dado',
create: 'Criar "{label}"'
},
calendar: {
prevYear: 'Ano anterior',
nextYear: 'Próximo ano',
prevMonth: 'Mês anterior',
nextMonth: 'Próximo mês'
},
inputNumber: {
increment: 'Incrementar',
decrement: 'Decrementar'
},
commandPalette: {
noMatch: 'Nenhum dado correspondente',
noData: 'Nenhum dado',
close: 'Fechar'
},
selectMenu: {
noMatch: 'Nenhum dado correspondente',
noData: 'Nenhum dado',
create: 'Criar "{label}"'
},
toast: {
close: 'Fechar'
},
carousel: {
prev: 'Anterior',
next: 'Próximo',
goto: 'Ir para a slide {slide}'
},
modal: {
close: 'Fechar'
},
slideover: {
close: 'Fechar'
},
alert: {
close: 'Fechar'
},
table: {
noData: 'Nenhum dado'
}
}
})

0 comments on commit b7ff7d8

Please sign in to comment.