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', ]