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) {
|
||||
return (
|
||||
<span class="el-pagination__jump">
|
||||
前往
|
||||
{ $t('el.pagination.goto') }
|
||||
<input
|
||||
class="el-pagination__editor"
|
||||
type="number"
|
||||
|
@ -195,7 +195,7 @@ export default {
|
|||
on-focus={ this.handleFocus }
|
||||
style={{ width: '30px' }}
|
||||
number/>
|
||||
页
|
||||
{ $t('el.pagination.pageClassifier') }
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
@ -204,7 +204,7 @@ export default {
|
|||
Total: {
|
||||
render(h) {
|
||||
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'
|
||||
},
|
||||
pagination: {
|
||||
pagesize: '/page'
|
||||
goto: 'Go to',
|
||||
pagesize: '/page',
|
||||
total: 'Total {total}',
|
||||
pageClassifier: ''
|
||||
},
|
||||
messagebox: {
|
||||
confirm: 'OK',
|
||||
|
|
|
@ -57,7 +57,10 @@ export default {
|
|||
placeholder: '请选择'
|
||||
},
|
||||
pagination: {
|
||||
pagesize: '条/页'
|
||||
goto: '前往',
|
||||
pagesize: '条/页',
|
||||
total: '共 {total} 条',
|
||||
pageClassifier: '页'
|
||||
},
|
||||
messagebox: {
|
||||
confirm: '确定',
|
||||
|
|
Loading…
Reference in New Issue