mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
72a7ba618f
* chore: update rc-table * add basic table style * checked all logic * checkbox support disabled * selection style * selection support radio * add selections support * selection extra style * select all locale * sorter logic * add more desc * init Filter hooks * init filter hooks * update style * filter style * filter style * fix filter * sort control * ajax it * add expandedable css * expandable view style * fixed style * border style * empty style * fix pagination style * add fixed demo * un-comment * clean up * fix filter check logic * fix overflow & ellipsis conflict * fix tes * adjust scroll shadow * fix border fixed style * add part of test case * add filter test part * more test case * issue related test * filter test * adjust pagination logic * fix pagination test case * all selection test case * table sorter test case * table basic test * fix test case * update faq * update expandable doc * add v4 doc * add summary docs * more demo * fix selection * update snapshot * update test case * fix ff styling * update rc-table * update snapshot * update snapshot * fix lint * fix style lint * fix style * update snapshot * update desc * fix missing icon
64 lines
1.3 KiB
TypeScript
64 lines
1.3 KiB
TypeScript
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,
|
|
// locales for all comoponents
|
|
global: {
|
|
placeholder: '请选择',
|
|
},
|
|
Table: {
|
|
filterTitle: '筛选',
|
|
filterConfirm: '确定',
|
|
filterReset: '重置',
|
|
selectAll: '全选当页',
|
|
selectInvert: '反选当页',
|
|
selectionAll: '全选所有',
|
|
sortTitle: '排序',
|
|
expand: '展开行',
|
|
collapse: '关闭行',
|
|
},
|
|
Modal: {
|
|
okText: '确定',
|
|
cancelText: '取消',
|
|
justOkText: '知道了',
|
|
},
|
|
Popconfirm: {
|
|
cancelText: '取消',
|
|
okText: '确定',
|
|
},
|
|
Transfer: {
|
|
searchPlaceholder: '请输入搜索内容',
|
|
itemUnit: '项',
|
|
itemsUnit: '项',
|
|
},
|
|
Upload: {
|
|
uploading: '文件上传中',
|
|
removeFile: '删除文件',
|
|
uploadError: '上传错误',
|
|
previewFile: '预览文件',
|
|
downloadFile: '下载文件',
|
|
},
|
|
Empty: {
|
|
description: '暂无数据',
|
|
},
|
|
Icon: {
|
|
icon: '图标',
|
|
},
|
|
Text: {
|
|
edit: '编辑',
|
|
copy: '复制',
|
|
copied: '复制成功',
|
|
expand: '展开',
|
|
},
|
|
PageHeader: {
|
|
back: '返回',
|
|
},
|
|
};
|