add local
parent
4b2f56a7a9
commit
b41263b247
|
@ -205,7 +205,9 @@ export default {
|
|||
<LocaleReceiver
|
||||
componentName='Calendar'
|
||||
defaultLocale={enUS}
|
||||
children={this.renderCalendar}
|
||||
scopedSlots={
|
||||
{ default: this.renderCalendar }
|
||||
}
|
||||
/>
|
||||
)
|
||||
},
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
import Pagination from '../vc-pagination/locale/en_US'
|
||||
// import DatePicker from '../date-picker/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'
|
||||
import Calendar from '../calendar/locale/en_US'
|
||||
|
||||
export default {
|
||||
locale: 'en',
|
||||
Pagination,
|
||||
// DatePicker,
|
||||
DatePicker,
|
||||
TimePicker,
|
||||
// Calendar,
|
||||
Calendar,
|
||||
Table: {
|
||||
filterTitle: 'Filter menu',
|
||||
filterConfirm: 'OK',
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
import Pagination from '../vc-pagination/locale/zh_CN'
|
||||
// import DatePicker from '../date-picker/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'
|
||||
import Calendar from '../calendar/locale/zh_CN'
|
||||
|
||||
export default {
|
||||
locale: 'zh-cn',
|
||||
Pagination,
|
||||
// DatePicker,
|
||||
DatePicker,
|
||||
TimePicker,
|
||||
// Calendar,
|
||||
Calendar,
|
||||
Table: {
|
||||
filterTitle: '筛选',
|
||||
filterConfirm: '确定',
|
||||
|
|
Loading…
Reference in New Issue