mirror of https://github.com/ElemeFE/element
Pagination: add missing i18n config (#701)
parent
8a72f1b45e
commit
19d7e72f3a
|
@ -184,7 +184,7 @@ export default {
|
||||||
render(h) {
|
render(h) {
|
||||||
return (
|
return (
|
||||||
<span class="el-pagination__jump">
|
<span class="el-pagination__jump">
|
||||||
前往
|
{ $t('el.pagination.goto') }
|
||||||
<input
|
<input
|
||||||
class="el-pagination__editor"
|
class="el-pagination__editor"
|
||||||
type="number"
|
type="number"
|
||||||
|
@ -195,7 +195,7 @@ export default {
|
||||||
on-focus={ this.handleFocus }
|
on-focus={ this.handleFocus }
|
||||||
style={{ width: '30px' }}
|
style={{ width: '30px' }}
|
||||||
number/>
|
number/>
|
||||||
页
|
{ $t('el.pagination.pageClassifier') }
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -204,7 +204,7 @@ export default {
|
||||||
Total: {
|
Total: {
|
||||||
render(h) {
|
render(h) {
|
||||||
return (
|
return (
|
||||||
<span class="el-pagination__total">共 { this.$parent.total } 条</span>
|
<span class="el-pagination__total">{ $t('el.pagination.total', { total: this.$parent.total }) }</span>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -57,7 +57,10 @@ export default {
|
||||||
placeholder: 'Select'
|
placeholder: 'Select'
|
||||||
},
|
},
|
||||||
pagination: {
|
pagination: {
|
||||||
pagesize: '/page'
|
goto: 'Go to',
|
||||||
|
pagesize: '/page',
|
||||||
|
total: 'Total {total}',
|
||||||
|
pageClassifier: ''
|
||||||
},
|
},
|
||||||
messagebox: {
|
messagebox: {
|
||||||
confirm: 'OK',
|
confirm: 'OK',
|
||||||
|
|
|
@ -57,7 +57,10 @@ export default {
|
||||||
placeholder: '请选择'
|
placeholder: '请选择'
|
||||||
},
|
},
|
||||||
pagination: {
|
pagination: {
|
||||||
pagesize: '条/页'
|
goto: '前往',
|
||||||
|
pagesize: '条/页',
|
||||||
|
total: '共 {total} 条',
|
||||||
|
pageClassifier: '页'
|
||||||
},
|
},
|
||||||
messagebox: {
|
messagebox: {
|
||||||
confirm: '确定',
|
confirm: '确定',
|
||||||
|
|
Loading…
Reference in New Issue