From 77338eaabdf870d92539a2f5895cfbbd9b60bbce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Tue, 1 Nov 2022 15:41:53 +0300 Subject: [PATCH] Document empty page text issue.. --- app/Abstracts/View/Components/Documents/Index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Abstracts/View/Components/Documents/Index.php b/app/Abstracts/View/Components/Documents/Index.php index 4a224c2ef..7671ca2f5 100644 --- a/app/Abstracts/View/Components/Documents/Index.php +++ b/app/Abstracts/View/Components/Documents/Index.php @@ -369,8 +369,8 @@ abstract class Index extends Component $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))]), ]; }