Adds translation strings to theinventory report sent to users

This commit is contained in:
Ivan Nieto Vivanco 2023-02-07 18:29:19 -06:00
parent 4b2d35e05d
commit 49b6a1cc53
3 changed files with 4 additions and 2 deletions

View file

@ -44,7 +44,7 @@ class CurrentInventory extends Notification
'accessories' => $this->user->accessories,
'licenses' => $this->user->licenses,
])
->subject('Inventory Report');
->subject(trans('mail.inventory_report'));
return $message;
}

View file

@ -43,6 +43,7 @@ return [
'login_first_admin' => 'Login to your new Snipe-IT installation using the credentials below:',
'login' => 'Login:',
'Low_Inventory_Report' => 'Low Inventory Report',
'inventory_report' => 'Inventory Report',
'min_QTY' => 'Min QTY',
'name' => 'Name',
'new_item_checked' => 'A new item has been checked out under your name, details are below.',
@ -79,4 +80,5 @@ return [
'Expected_Checkin_Notification' => 'Reminder: :name checkin deadline approaching',
'Expected_Checkin_Date' => 'An asset checked out to you is due to be checked back in on :date',
'your_assets' => 'View Your Assets',
'rights_reserved' => 'All rights reserved.',
];

View file

@ -204,7 +204,7 @@ $style = [
<p style="{{ $style['paragraph-sub'] }}">
&copy; {{ date('Y') }}
<a style="{{ $style['anchor'] }}" href="{{ url('/') }}" target="_blank">{{ $snipeSettings->site_name }}</a>.
All rights reserved.
{{ trans('mail.rights_reserved') }}
</p>
@if ($snipeSettings->privacy_policy_link!='')