mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 14:29:33 +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
62 lines
1.2 KiB
TypeScript
62 lines
1.2 KiB
TypeScript
import Pagination from 'rc-pagination/lib/locale/en_US';
|
|
import DatePicker from '../date-picker/locale/en_US';
|
|
import TimePicker from '../time-picker/locale/en_US';
|
|
import Calendar from '../calendar/locale/en_US';
|
|
|
|
export default {
|
|
locale: 'en',
|
|
Pagination,
|
|
DatePicker,
|
|
TimePicker,
|
|
Calendar,
|
|
global: {
|
|
placeholder: 'Please select',
|
|
},
|
|
Table: {
|
|
filterTitle: 'Filter menu',
|
|
filterConfirm: 'OK',
|
|
filterReset: 'Reset',
|
|
selectAll: 'Select current page',
|
|
selectInvert: 'Invert current page',
|
|
sortTitle: 'Sort',
|
|
expand: 'Expand row',
|
|
collapse: 'Collapse row',
|
|
},
|
|
Modal: {
|
|
okText: 'OK',
|
|
cancelText: 'Cancel',
|
|
justOkText: 'OK',
|
|
},
|
|
Popconfirm: {
|
|
okText: 'OK',
|
|
cancelText: 'Cancel',
|
|
},
|
|
Transfer: {
|
|
titles: ['', ''],
|
|
searchPlaceholder: 'Search here',
|
|
itemUnit: 'item',
|
|
itemsUnit: 'items',
|
|
},
|
|
Upload: {
|
|
uploading: 'Uploading...',
|
|
removeFile: 'Remove file',
|
|
uploadError: 'Upload error',
|
|
previewFile: 'Preview file',
|
|
},
|
|
Empty: {
|
|
description: 'No Data',
|
|
},
|
|
Icon: {
|
|
icon: 'icon',
|
|
},
|
|
Text: {
|
|
edit: 'edit',
|
|
copy: 'copy',
|
|
copied: 'copy success',
|
|
expand: 'expand',
|
|
},
|
|
PageHeader: {
|
|
back: 'back',
|
|
},
|
|
};
|