search string boolen translations..
This commit is contained in:
parent
d9047f2d45
commit
738031a853
@ -168,11 +168,11 @@ class SearchString extends Component
|
|||||||
$values = [
|
$values = [
|
||||||
[
|
[
|
||||||
'key' => 0,
|
'key' => 0,
|
||||||
'value' => trans('general.no'),
|
'value' => empty($options['translations']) ? trans('general.no') : trans($options['translations'][0]),
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'key' => 1,
|
'key' => 1,
|
||||||
'value' => trans('general.yes'),
|
'value' => empty($options['translations']) ? trans('general.yes') : trans($options['translations'][1]),
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
} else if ($search = request()->get('search', false)) {
|
} else if ($search = request()->get('search', false)) {
|
||||||
|
@ -251,7 +251,13 @@ return [
|
|||||||
'enabled' => ['boolean' => true],
|
'enabled' => ['boolean' => true],
|
||||||
'precision',
|
'precision',
|
||||||
'symbol',
|
'symbol',
|
||||||
'symbol_first' => ['boolean' => true],
|
'symbol_first' => [
|
||||||
|
'boolean' => true,
|
||||||
|
'translations' => [
|
||||||
|
0 => 'currencies.symbol.after',
|
||||||
|
1 => 'currencies.symbol.before',
|
||||||
|
]
|
||||||
|
],
|
||||||
'decimal_mark',
|
'decimal_mark',
|
||||||
'thousands_separator',
|
'thousands_separator',
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user