Commit 19d7e72f authored by 杨奕's avatar 杨奕 Committed by FuryBean

Pagination: add missing i18n config (#701)

parent 8a72f1b4
...@@ -184,7 +184,7 @@ export default { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -57,7 +57,10 @@ export default {
placeholder: '请选择' placeholder: '请选择'
}, },
pagination: { pagination: {
pagesize: '条/页' goto: '前往',
pagesize: '条/页',
total: '共 {total} 条',
pageClassifier: ''
}, },
messagebox: { messagebox: {
confirm: '确定', confirm: '确定',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment