From bb7b655fd26a47a6833e497b5e2ab8d5783f2faf Mon Sep 17 00:00:00 2001 From: akemidx Date: Tue, 21 Mar 2023 16:02:34 -0400 Subject: [PATCH] translating screen reader lines --- resources/lang/en/admin/hardware/general.php | 3 ++- resources/views/hardware/view.blade.php | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/lang/en/admin/hardware/general.php b/resources/lang/en/admin/hardware/general.php index 7aa0db7f3..3d1e43c2d 100644 --- a/resources/lang/en/admin/hardware/general.php +++ b/resources/lang/en/admin/hardware/general.php @@ -42,5 +42,6 @@ return [ 'error_messages' => 'Error messages:', 'success_messages' => 'Success messages:', 'alert_details' => 'Please see below for details.', - 'custom_export' => 'Custom Export' + 'custom_export' => 'Custom Export', + 'mfg_warranty_lookup' => ':manufacturer Warranty Status Lookup', ]; diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 37c495ef8..e5fc43b61 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -598,15 +598,15 @@ @if ($asset->serial && $asset->model->manufacturer) @if ((strtolower($asset->model->manufacturer->name) == "apple") || (str_starts_with(str_replace(' ','',strtolower($asset->model->manufacturer->name)),"appleinc"))) - + @elseif ((strtolower($asset->model->manufacturer->name) == "dell") || (str_starts_with(str_replace(' ','',strtolower($asset->model->manufacturer->name)),"dellinc"))) - Dell Warranty Status Lookup + {{ trans('hardware/general.mfg_warranty_lookup') }} @elseif ((strtolower($asset->model->manufacturer->name) == "lenovo") || (str_starts_with(str_replace(' ','',strtolower($asset->model->manufacturer->name)),"lenovoinc"))) - Lenovo Warranty Status Lookup + {{ trans('hardware/general.mfg_warranty_lookup') }} @endif @endif