ant-design-vue/components/locale-provider/zh_CN.js

51 lines
1.1 KiB
JavaScript
Raw Normal View History

2019-01-12 03:33:27 +00:00
import Pagination from '../vc-pagination/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';
2018-02-27 04:17:53 +00:00
export default {
locale: 'zh-cn',
2018-03-09 02:19:00 +00:00
Pagination,
2018-03-15 13:52:58 +00:00
DatePicker,
2018-03-09 02:19:00 +00:00
TimePicker,
2018-03-15 13:52:58 +00:00
Calendar,
// locales for all comoponents
global: {
placeholder: '请选择',
},
2018-02-27 04:17:53 +00:00
Table: {
filterTitle: '筛选',
filterConfirm: '确定',
filterReset: '重置',
selectAll: '全选当页',
selectInvert: '反选当页',
2018-12-09 04:07:12 +00:00
sortTitle: '排序',
2018-02-27 04:17:53 +00:00
},
Modal: {
okText: '确定',
cancelText: '取消',
justOkText: '知道了',
},
Popconfirm: {
cancelText: '取消',
okText: '确定',
},
Transfer: {
searchPlaceholder: '请输入搜索内容',
itemUnit: '项',
itemsUnit: '项',
},
Upload: {
uploading: '文件上传中',
removeFile: '删除文件',
uploadError: '上传错误',
previewFile: '预览文件',
},
Empty: {
description: '暂无数据',
},
Icon: {
icon: '图标',
},
2019-01-12 03:33:27 +00:00
};