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

48 lines
1.0 KiB
TypeScript
Raw Normal View History

import Pagination from 'rc-pagination/lib/locale/zh_CN';
import DatePicker from '../date-picker/locale/zh_CN';
import TimePicker from '../time-picker/locale/zh_CN';
import Calendar from '../calendar/locale/zh_CN';
export default {
locale: 'zh-cn',
Pagination,
DatePicker,
TimePicker,
Calendar,
2018-12-13 22:03:12 +08:00
// locales for all comoponents
global: {
placeholder: '请选择',
},
Table: {
filterTitle: '筛选',
filterConfirm: '确定',
filterReset: '重置',
selectAll: '全选当页',
selectInvert: '反选当页',
2018-09-17 17:57:01 +08:00
sortTitle: '排序',
},
Modal: {
okText: '确定',
cancelText: '取消',
justOkText: '知道了',
},
Popconfirm: {
cancelText: '取消',
okText: '确定',
},
Transfer: {
2017-12-07 11:28:53 +08:00
searchPlaceholder: '请输入搜索内容',
itemUnit: '项',
itemsUnit: '项',
},
Upload: {
uploading: '文件上传中',
removeFile: '删除文件',
uploadError: '上传错误',
previewFile: '预览文件',
},
2018-12-26 16:01:00 +08:00
Empty: {
description: '暂无数据',
},
};