mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
dba3ea8721
Most of the locale strings in the default locale are capitalized. This changeset makes `Text` and `PageHeader` locale strings consistent with others. Also, "Copied" implies successfully so changing "copy success" to "Copied" should be sufficient IMHO.
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: 'Copied',
|
|
expand: 'Expand',
|
|
},
|
|
PageHeader: {
|
|
back: 'Back',
|
|
},
|
|
};
|