A free open source IT asset/license management system
translating screen reader lines
akemidxbb7b655fd26a
diff --git a/resources/lang/en/admin/hardware/general.php b/resources/lang/en/admin/hardware/general.phpindex 7aa0db7f34..3d1e43c2df 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.phpindex 37c495ef85..e5fc43b613 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")))<a href="https://checkcoverage.apple.com/us/{{ \App\Models\Setting::getSettings()->locale }}/?sn={{ $asset->serial }}" target="_blank">- <i class="fa-brands fa-apple" aria-hidden="true"><span class="sr-only">Applecare Status Lookup</span></i>+ <i class="fa-brands fa-apple" aria-hidden="true"><span class="sr-only">{{ trans('hardware/general.mfg_warranty_lookup') }}</span></i></a>@elseif ((strtolower($asset->model->manufacturer->name) == "dell") || (str_starts_with(str_replace(' ','',strtolower($asset->model->manufacturer->name)),"dellinc")))<a href="https://www.dell.com/support/home/en-us?app=warranty" target="_blank">- <img src="/img/demo/manufacturers/dellicon.png" style="width:25px;height:25px;"><span class="sr-only">Dell Warranty Status Lookup</span></i>+ <img src="/img/demo/manufacturers/dellicon.png" style="width:25px;height:25px;"><span class="sr-only">{{ trans('hardware/general.mfg_warranty_lookup') }}</span></i></a>@elseif ((strtolower($asset->model->manufacturer->name) == "lenovo") || (str_starts_with(str_replace(' ','',strtolower($asset->model->manufacturer->name)),"lenovoinc")))<a href="https://pcsupport.lenovo.com/us/en/warrantylookup#/" target="_blank">- <img src="/img/demo/manufacturers/lenovoicon.png" style="width:25px;height:25px;"><span class="sr-only">Lenovo Warranty Status Lookup</span></i>+ <img src="/img/demo/manufacturers/lenovoicon.png" style="width:25px;height:25px;"><span class="sr-only">{{ trans('hardware/general.mfg_warranty_lookup') }}</span></i></a>@endif@endif