couple translation strings

This commit is contained in:
slong753 2023-06-28 10:17:28 -05:00
parent e8988bf51e
commit 8b8e7cb5ee
2 changed files with 3 additions and 2 deletions

View file

@ -10,7 +10,8 @@ return [
'bulk_update' => 'Bulk Update Assets', 'bulk_update' => 'Bulk Update Assets',
'bulk_update_help' => 'This form allows you to update multiple assets at once. Only fill in the fields you need to change. Any fields left blank will remain unchanged. ', 'bulk_update_help' => 'This form allows you to update multiple assets at once. Only fill in the fields you need to change. Any fields left blank will remain unchanged. ',
'bulk_update_warn' => 'You are about to edit the properties of a single asset.|You are about to edit the properties of :asset_count assets.', 'bulk_update_warn' => 'You are about to edit the properties of a single asset.|You are about to edit the properties of :asset_count assets.',
'bulk_update_with_custom_field' => 'made up of :asset_model_count models.', 'bulk_update_with_custom_field' => 'Note the assets are :asset_model_count different types of models.',
'bulk_update_model_prefix' => 'On Models:',
'checkedout_to' => 'Checked Out To', 'checkedout_to' => 'Checked Out To',
'checkout_date' => 'Checkout Date', 'checkout_date' => 'Checkout Date',
'checkin_date' => 'Checkin Date', 'checkin_date' => 'Checkin Date',

View file

@ -80,7 +80,7 @@
@endif @endif
<p>On Models: <p>{{ trans('admin/hardware/form.bulk_update_model_prefix') }}
@foreach($field->assetModels() as $assetModel) @foreach($field->assetModels() as $assetModel)
@if(in_array($assetModel->name, $modelNames)) @if(in_array($assetModel->name, $modelNames))
{{$assetModel->name}}{{($loop->last) ? '' : ', '}} {{$assetModel->name}}{{($loop->last) ? '' : ', '}}