Leverage translation strings in the bulk actions modal.

This commit is contained in:
Pavel Mironchik 2021-01-01 17:35:01 +06:00
parent c1b152a7aa
commit 61d224536c

View File

@ -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']) }}"