update locale

update locale
This commit is contained in:
梁灏 2017-01-12 10:21:47 +08:00
parent d5d4d8e3e9
commit 012cbf285f
9 changed files with 126 additions and 22 deletions

View file

@ -24,6 +24,7 @@
import Icon from '../icon';
import iButton from '../button/button.vue';
import { getScrollBarSize } from '../../utils/assist';
import { t } from '../../locale';
const prefixCls = 'ivu-modal';
@ -51,11 +52,15 @@
},
okText: {
type: String,
default: '确定'
default () {
return t('i.modal.okText');
}
},
cancelText: {
type: String,
default: '取消'
default () {
return t('i.modal.cancelText');
}
},
loading: {
type: Boolean,