Skip to content

Commit

Permalink
Document empty page text issue..
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Nov 1, 2022
1 parent d45dba9 commit 77338ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Abstracts/View/Components/Documents/Index.php
Expand Up @@ -369,8 +369,8 @@ protected function getEmptyPageButtons($type, $emptyPageButtons)
$buttons[] = [
'permission' => $this->permissionCreate,
'url' => route($this->importRoute, $this->importRouteParameters),
'text' => trans('import.title', ['type' => trans_choice($this->textPage ?? 'general.' . $prefix, 1)]),
'description' => trans('general.empty.actions.import', ['type' => strtolower(trans_choice($this->textPage ?? 'general.' . $prefix, 1))]),
'text' => trans('import.title', ['type' => trans_choice($this->textPage ?? 'general.' . $prefix, 2)]),
'description' => trans('general.empty.actions.import', ['type' => strtolower(trans_choice($this->textPage ?? 'general.' . $prefix, 2))]),
];
}

Expand Down

0 comments on commit 77338ea

Please sign in to comment.