ant-design-vue/components/date-picker/locale/pt_PT.js

48 lines
1.3 KiB
JavaScript
Raw Normal View History

2019-01-12 03:33:27 +00:00
import CalendarLocale from '../../vc-calendar/src/locale/pt_PT';
import TimePickerLocale from '../../time-picker/locale/pt_PT';
2018-03-14 14:00:43 +00:00
// Merge into a locale object
const locale = {
lang: {
...CalendarLocale,
placeholder: 'Data',
2019-01-12 03:33:27 +00:00
rangePlaceholder: ['Data inicial', 'Data final'],
2018-03-14 14:00:43 +00:00
today: 'Hoje',
now: 'Agora',
backToToday: 'Hoje',
ok: 'Ok',
clear: 'Limpar',
month: 'Mês',
year: 'Ano',
timeSelect: 'Hora',
dateSelect: 'Selecionar data',
monthSelect: 'Selecionar mês',
yearSelect: 'Selecionar ano',
decadeSelect: 'Selecionar década',
yearFormat: 'YYYY',
dateFormat: 'D/M/YYYY',
dayFormat: 'D',
dateTimeFormat: 'D/M/YYYY HH:mm:ss',
monthFormat: 'MMMM',
monthBeforeYear: false,
previousMonth: 'Mês anterior (PageUp)',
nextMonth: 'Mês seguinte (PageDown)',
previousYear: 'Ano anterior (Control + left)',
nextYear: 'Ano seguinte (Control + right)',
previousDecade: 'Última década',
nextDecade: 'Próxima década',
previousCentury: 'Último século',
2018-04-21 04:51:56 +00:00
nextCentury: 'Próximo século',
2018-03-14 14:00:43 +00:00
},
timePickerLocale: {
...TimePickerLocale,
2018-04-21 04:51:56 +00:00
placeholder: 'Hora',
},
2019-01-12 03:33:27 +00:00
};
2018-03-14 14:00:43 +00:00
// All settings at:
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/lo
// cale/example.json
2019-01-12 03:33:27 +00:00
export default locale;