Skip to content

Commit

Permalink
fix: vue wp list table package updated, transaltion support for list …
Browse files Browse the repository at this point in the history
…tables
  • Loading branch information
kapilpaul committed Dec 10, 2020
1 parent d1ec3cb commit da97ea2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"vue-notification": "^1.3.20",
"vue-router": "^3.4.7",
"vue-sweetalert2": "^1.6.4",
"vue-wp-list-table": "^1.2.0"
"vue-wp-list-table": "^1.3.0"
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining": "^7.12.1",
Expand Down
10 changes: 5 additions & 5 deletions src/admin/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ new Vue({
methods: {
listTableTexts() {
return {
loading: this.__('Loading', 'dokan-lite'),
select_bulk_action: this.__('Select bulk action', 'dokan-lite'),
bulk_actions: this.__('Bulk Actions', 'dokan-lite'),
items: this.__('items', 'dokan-lite'),
apply: this.__('Apply', 'dokan-lite'),
loading: this.__( 'Loading', 'dokan-lite' ),
select_bulk_action: this.__( 'Select bulk action', 'dokan-lite' ),
bulk_actions: this.__( 'Bulk Actions', 'dokan-lite' ),
items: this.__( 'items', 'dokan-lite' ),
apply: this.__( 'Apply', 'dokan-lite' ),
}
}
},
Expand Down
1 change: 1 addition & 0 deletions src/admin/pages/Withdraw.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
:total-items="totalItems"
:per-page="perPage"
:current-page="currentPage"
:text="$root.listTableTexts()"
@pagination="goToPage"
@action:click="onActionClick"
@bulk:click="onBulkAction"
Expand Down

0 comments on commit da97ea2

Please sign in to comment.