From 71146b56b14bb2677037128fed598d8755ed5062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Mon, 11 Jan 2021 23:56:18 +0300 Subject: [PATCH] search string typo --- app/View/Components/SearchString.php | 4 ++-- config/search-string.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/View/Components/SearchString.php b/app/View/Components/SearchString.php index b002132c2..839abf7f5 100644 --- a/app/View/Components/SearchString.php +++ b/app/View/Components/SearchString.php @@ -168,11 +168,11 @@ class SearchString extends Component $values = [ [ 'key' => 0, - 'value' => empty($options['translations']) ? trans('general.no') : trans($options['translations'][0]), + 'value' => empty($options['translation']) ? trans('general.no') : trans($options['translation'][0]), ], [ 'key' => 1, - 'value' => empty($options['translations']) ? trans('general.yes') : trans($options['translations'][1]), + 'value' => empty($options['translation']) ? trans('general.yes') : trans($options['translation'][1]), ], ]; } else if ($search = request()->get('search', false)) { diff --git a/config/search-string.php b/config/search-string.php index 406ab9a67..004ae8fd4 100644 --- a/config/search-string.php +++ b/config/search-string.php @@ -253,7 +253,7 @@ return [ 'symbol', 'symbol_first' => [ 'boolean' => true, - 'translations' => [ + 'translation' => [ 0 => 'currencies.symbol.after', 1 => 'currencies.symbol.before', ]