Skip to content

Commit

Permalink
Fixed translation not display issue on listing page
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanhao Li authored and ifox committed Mar 2, 2020
1 parent 267c667 commit d9c70aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/js/components/dashboard/activityFeed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
return {
navFilters: [
{
name: 'All activity',
name: this.$trans('dashboard.all-activity', 'All activity'),
slug: 'all'
},
{
name: 'My activity',
name: this.$trans('dashboard.all-activity', 'My activity'),
slug: 'mine'
}
],
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Controllers/Admin/ModuleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ protected function getIndexTableColumns($items)
if ($this->moduleHas('translations')) {
array_push($tableColumns, [
'name' => 'languages',
'label' => __('twill::listing.languages'),
'label' => __('twill::lang.listing.languages'),
'visible' => $visibleColumns ? in_array('languages', $visibleColumns) : true,
'optional' => true,
'sortable' => false,
Expand Down

0 comments on commit d9c70aa

Please sign in to comment.