ant-design/components/locale-provider/en_US.tsx

48 lines
1.0 KiB
TypeScript
Raw Normal View History

import moment from 'moment';
moment.locale('en');
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,
2016-03-03 17:43:38 +08:00
Table: {
2017-06-20 21:36:20 +08:00
filterTitle: 'Filter menu',
2016-03-03 17:43:38 +08:00
filterConfirm: 'OK',
filterReset: 'Reset',
2017-06-20 21:36:20 +08:00
emptyText: 'No data',
selectAll: 'Select current page',
selectInvert: 'Invert current page',
2016-03-03 17:43:38 +08:00
},
Modal: {
okText: 'OK',
cancelText: 'Cancel',
justOkText: 'OK',
2016-03-03 17:43:38 +08:00
},
Popconfirm: {
okText: 'OK',
cancelText: 'Cancel',
},
Transfer: {
notFoundContent: 'Not Found',
searchPlaceholder: 'Search here',
itemUnit: 'item',
itemsUnit: 'items',
},
Select: {
notFoundContent: 'Not Found',
},
2017-02-28 18:43:22 +08:00
Upload: {
uploading: 'Uploading...',
removeFile: 'Remove file',
uploadError: 'Upload error',
previewFile: 'Preview file',
},
2016-03-03 16:28:02 +08:00
};