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