Leverage translation strings in the bulk actions modal.
This commit is contained in:
parent
c1b152a7aa
commit
61d224536c
@ -46,7 +46,7 @@
|
|||||||
<option
|
<option
|
||||||
value="{{ $key }}"
|
value="{{ $key }}"
|
||||||
@if(!empty($action['message']))
|
@if(!empty($action['message']))
|
||||||
data-message="{{ trans_choice($action['message'], 2, ['type' => $text]) }}"
|
data-message="{{ trans_choice($action['message'], 2, ['type' => strtolower(trans_choice($text, 2))]) }}"
|
||||||
@endif
|
@endif
|
||||||
@if(isset($action['path']) && !empty($action['path']))
|
@if(isset($action['path']) && !empty($action['path']))
|
||||||
data-path="{{ route('bulk-actions.action', $action['path']) }}"
|
data-path="{{ route('bulk-actions.action', $action['path']) }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user