Merge pull request #1710 from pavel-mironchik/bulk_modal

Leverage translation strings in the bulk actions modal.
This commit is contained in:
Cüneyt Şentürk 2021-01-01 15:18:16 +03:00 committed by GitHub
commit 987a85a9a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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