mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 15:49:10 +08:00
81d8eb8afe
* ConfigProvider support locale * update docs * update category * clean up * moving locale * update check script * update related code * add test case * demo link * update doc * hide one rule of md with eslint * update error link
59 lines
1.2 KiB
TypeScript
59 lines
1.2 KiB
TypeScript
import Pagination from 'rc-pagination/lib/locale/es_ES';
|
|
import DatePicker from '../date-picker/locale/es_ES';
|
|
import TimePicker from '../time-picker/locale/es_ES';
|
|
import Calendar from '../calendar/locale/es_ES';
|
|
|
|
export default {
|
|
locale: 'es',
|
|
Pagination,
|
|
DatePicker,
|
|
TimePicker,
|
|
Calendar,
|
|
global: {
|
|
placeholder: 'Seleccione',
|
|
},
|
|
Table: {
|
|
filterTitle: 'Filtrar menú',
|
|
filterConfirm: 'Aceptar',
|
|
filterReset: 'Reiniciar',
|
|
selectAll: 'Seleccionar todo',
|
|
selectInvert: 'Invertir selección',
|
|
sortTitle: 'Ordenar',
|
|
},
|
|
Modal: {
|
|
okText: 'Aceptar',
|
|
cancelText: 'Cancelar',
|
|
justOkText: 'Aceptar',
|
|
},
|
|
Popconfirm: {
|
|
okText: 'Aceptar',
|
|
cancelText: 'Cancelar',
|
|
},
|
|
Transfer: {
|
|
searchPlaceholder: 'Buscar aquí',
|
|
itemUnit: 'elemento',
|
|
itemsUnit: 'elementos',
|
|
},
|
|
Upload: {
|
|
uploading: 'Subiendo...',
|
|
removeFile: 'Eliminar archivo',
|
|
uploadError: 'Error al subir el archivo',
|
|
previewFile: 'Vista previa',
|
|
},
|
|
Empty: {
|
|
description: 'No hay datos',
|
|
},
|
|
Icon: {
|
|
icon: 'ícono',
|
|
},
|
|
Text: {
|
|
edit: 'editar',
|
|
copy: 'copiar',
|
|
copied: 'copiado',
|
|
expand: 'expandir',
|
|
},
|
|
PageHeader: {
|
|
back: 'volver',
|
|
},
|
|
};
|