From 8cbff0179c4a570f29fbee9811c59aaab51eff20 Mon Sep 17 00:00:00 2001 From: slong753 Date: Mon, 26 Jun 2023 16:35:53 -0500 Subject: [PATCH] translation strings --- resources/lang/en/admin/hardware/form.php | 1 + resources/lang/en/general.php | 1 + resources/views/hardware/bulk.blade.php | 2 +- resources/views/notifications.blade.php | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/lang/en/admin/hardware/form.php b/resources/lang/en/admin/hardware/form.php index 6bcb884bab..8159732d08 100644 --- a/resources/lang/en/admin/hardware/form.php +++ b/resources/lang/en/admin/hardware/form.php @@ -10,6 +10,7 @@ return [ '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_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.', 'checkedout_to' => 'Checked Out To', 'checkout_date' => 'Checkout Date', 'checkin_date' => 'Checkin Date', diff --git a/resources/lang/en/general.php b/resources/lang/en/general.php index 28f9fd82ba..7bd13d100a 100644 --- a/resources/lang/en/general.php +++ b/resources/lang/en/general.php @@ -364,6 +364,7 @@ return [ 'licenses_count' => 'Licenses Count', 'notification_error' => 'Error:', 'notification_error_hint' => 'Please check the form below for errors', + 'notification_bulk_error_hint' => 'The following fields had validation errors and were not edited:', 'notification_success' => 'Success:', 'notification_warning' => 'Warning:', 'notification_info' => 'Info:', diff --git a/resources/views/hardware/bulk.blade.php b/resources/views/hardware/bulk.blade.php index 963d6debfe..667126ec99 100755 --- a/resources/views/hardware/bulk.blade.php +++ b/resources/views/hardware/bulk.blade.php @@ -22,7 +22,7 @@
{{ trans_choice('admin/hardware/form.bulk_update_warn', count($assets), ['asset_count' => count($assets)]) }} @if (count($models) > 0) - made up of {{count($models)}} models + {{ trans_choice('admin/hardware/form.bulk_update_with_custom_field', count($models), ['asset_model_count' => count($models)]) }} @endif
diff --git a/resources/views/notifications.blade.php b/resources/views/notifications.blade.php index b0630f8583..69cecc284c 100755 --- a/resources/views/notifications.blade.php +++ b/resources/views/notifications.blade.php @@ -121,7 +121,7 @@ {{ trans('general.notification_error') }} - The following fields had validation errors and were not edited: + trans('general.notification_bulk_error_hint') @foreach($messages as $message)
{{ $message }} @endforeach