Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions src/js/locales/pt-BR.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
const name = 'pt-BR';

const localization = {
today: 'Hoje',
clear: 'Limpar seleção',
close: 'Eliminar seleção',
selectMonth: 'Selecionar mês',
previousMonth: 'Mês anterior',
nextMonth: 'Próximo mês',
selectYear: 'Selecionar ano',
previousYear: 'Ano anterior',
nextYear: 'Próximo ano',
selectDecade: 'Selecionar década',
previousDecade: 'Década anterior',
nextDecade: 'Próxima década',
previousCentury: 'Século anterior',
nextCentury: 'Próximo Século',
pickHour: 'Selecionar hora',
incrementHour: 'Aumentar hora',
decrementHour: 'Diminuir hora',
pickMinute: 'Selecionar minuto',
incrementMinute: 'Aumentar minuto',
decrementMinute: 'Diminuir minuto',
pickSecond: 'Selecionar segundo',
incrementSecond: 'Aumentar segundo',
decrementSecond: 'Diminuir segundo',
toggleMeridiem: 'Alterar AM/PM',
selectTime: 'Selecionar hora',
selectDate: 'Selecionar data',
dayViewHeaderFormat: { month: 'long', year: '2-digit' },
startOfTheWeek: 1,
locale: 'pt-BR',
dateFormats: {
LT: 'H:mm',
LTS: 'H:mm:ss',
L: 'dd/MM/yyyy',
LL: 'd [de] MMMM [de] yyyy',
LLL: 'd [de] MMMM [de] yyyy H:mm',
LLLL: 'dddd, d [de] MMMM [de] yyyy H:mm',
},
ordinal: (n) => `${n}º`,
format: 'L LT',
};

export { localization, name };