mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 23:35:38 +08:00
81435e2798
* Add pt_PT Locale * Adding pt_PT Locale (fix comma) * Adding pt_PT Locale to docs * Add pt_PT locale to tests * Update imports for rc-pagination and rc-calendar * Add pt_PT Locale * Adding pt_PT Locale (fix comma) * Adding pt_PT Locale to docs * Add pt_PT locale to tests * Update imports for rc-pagination and rc-calendar * Add pt_PT to tests
48 lines
1.0 KiB
TypeScript
48 lines
1.0 KiB
TypeScript
import moment from 'moment';
|
|
moment.locale('pt');
|
|
|
|
import Pagination from 'rc-pagination/lib/locale/pt_PT';
|
|
import DatePicker from '../date-picker/locale/pt_PT';
|
|
import TimePicker from '../time-picker/locale/pt_PT';
|
|
import Calendar from '../calendar/locale/pt_PT';
|
|
|
|
export default {
|
|
locale: 'pt',
|
|
Pagination,
|
|
DatePicker,
|
|
TimePicker,
|
|
Calendar,
|
|
Table: {
|
|
filterTitle: 'Filtro',
|
|
filterConfirm: 'Aplicar',
|
|
filterReset: 'Reiniciar',
|
|
emptyText: 'Sem resultados',
|
|
selectAll: 'Selecionar página atual',
|
|
selectInvert: 'Inverter seleção',
|
|
},
|
|
Modal: {
|
|
okText: 'OK',
|
|
cancelText: 'Cancelar',
|
|
justOkText: 'OK',
|
|
},
|
|
Popconfirm: {
|
|
okText: 'OK',
|
|
cancelText: 'Cancelar',
|
|
},
|
|
Transfer: {
|
|
notFoundContent: 'Sem resultados',
|
|
searchPlaceholder: 'Procurar...',
|
|
itemUnit: 'item',
|
|
itemsUnit: 'itens',
|
|
},
|
|
Select: {
|
|
notFoundContent: 'Sem resultados',
|
|
},
|
|
Upload: {
|
|
uploading: 'A carregar...',
|
|
removeFile: 'Remover',
|
|
uploadError: 'Erro ao carregar',
|
|
previewFile: 'Pré-visualizar',
|
|
},
|
|
};
|