Skip to content

Commit

Permalink
feat(locale): add Portuguese language (#2855)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopheCVB authored Dec 7, 2024
1 parent ed44d9d commit 8b5d412
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 } from './pt'
export { default as pt_br } from './pt_br'
export { default as ru } from './ru'
export { default as sk } from './sk'
Expand Down
53 changes: 53 additions & 0 deletions src/runtime/locale/pt.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',
code: 'pt',
messages: {
inputMenu: {
noMatch: 'Nenhum dado correspondente',
noData: 'Sem dados',
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: 'Sem dados',
close: 'Fechar'
},
selectMenu: {
noMatch: 'Nenhum dado correspondente',
noData: 'Sem dados',
create: 'Criar "{label}"'
},
toast: {
close: 'Fechar'
},
carousel: {
prev: 'Anterior',
next: 'Próximo',
goto: 'Ir ao diapositivo {slide}'
},
modal: {
close: 'Fechar'
},
slideover: {
close: 'Fechar'
},
alert: {
close: 'Fechar'
},
table: {
noData: 'Sem dados'
}
}
})

0 comments on commit 8b5d412

Please sign in to comment.