Fixed #10890 - use translation strings in user asset printout

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-05-06 01:30:58 -07:00
parent 1ac626a43a
commit c0e9393092
2 changed files with 17 additions and 16 deletions

View file

@ -229,6 +229,7 @@
'show_current' => 'Show Current',
'sign_in' => 'Sign in',
'signature' => 'Signature',
'signed_off_by' => 'Signed Off By',
'skin' => 'Skin',
'slack_msg_note' => 'A slack message will be sent',
'slack_test_msg' => 'Oh hai! Looks like your Slack integration with Snipe-IT is working!',

View file

@ -64,11 +64,11 @@
<thead>
<tr>
<th style="width: 20px;"></th>
<th style="width: 20%;">Asset Tag</th>
<th style="width: 20%;">Name</th>
<th style="width: 10%;">Category</th>
<th style="width: 20%;">Model</th>
<th style="width: 20%;">Serial</th>
<th style="width: 20%;">{{ trans('admin/hardware/table.asset_tag') }}</th>
<th style="width: 20%;">{{ trans('general.name') }}</th>
<th style="width: 10%;">{{ trans('general.category') }}</th>
<th style="width: 20%;">{{ trans('admin/hardware/form.model') }}</th>
<th style="width: 20%;">{{ trans('admin/hardware/form.serial') }}</th>
<th style="width: 10%;">Checked Out</th>
<th data-formatter="imageFormatter" style="width: 20%;">{{ trans('general.signature') }}</th>
</tr>
@ -131,9 +131,9 @@
<thead>
<tr>
<th style="width: 20px;"></th>
<th style="width: 40%;">Name</th>
<th style="width: 50%;">Serial/Product Key</th>
<th style="width: 10%;">Checked Out</th>
<th style="width: 40%;">{{ trans('general.name') }}</th>
<th style="width: 50%;">{{ trans('admin/licenses/form.license_key') }}</th>
<th style="width: 10%;">{{ trans('admin/hardware/table.checkout_date') }}</th>
</tr>
</thead>
@php
@ -173,9 +173,9 @@
<thead>
<tr>
<th style="width: 20px;"></th>
<th style="width: 40%;">Name</th>
<th style="width: 50%;">Category</th>
<th style="width: 10%;">Checked Out</th>
<th style="width: 40%;">{{ trans('general.name') }}</th>
<th style="width: 50%;">{{ trans('general.category') }}</th>
<th style="width: 10%;">{{ trans('admin/hardware/table.checkout_date') }}</th>
</tr>
</thead>
@php
@ -209,9 +209,9 @@
<thead>
<tr>
<th style="width: 20px;"></th>
<th style="width: 40%;">Name</th>
<th style="width: 50%;">Category</th>
<th style="width: 10%;">Checked Out</th>
<th style="width: 40%;">{{ trans('general.name') }}</th>
<th style="width: 50%;">{{ trans('general.category') }}</th>
<th style="width: 10%;">{{ trans('admin/hardware/table.checkout_date') }}</th>
</tr>
</thead>
@php
@ -247,10 +247,10 @@
<br>
<table>
<tr>
<td>Signed Off By:</td>
<td>{{ trans('general.signed_off_by') }}:</td>
<td>________________________________________________________</td>
<td></td>
<td>Date:</td>
<td>{{ trans('general.date') }}:</td>
<td>________________________________________________________</td>
</tr>
</table>