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