mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Adds translation strings to theinventory report sent to users
This commit is contained in:
parent
4b2d35e05d
commit
49b6a1cc53
|
@ -44,7 +44,7 @@ class CurrentInventory extends Notification
|
||||||
'accessories' => $this->user->accessories,
|
'accessories' => $this->user->accessories,
|
||||||
'licenses' => $this->user->licenses,
|
'licenses' => $this->user->licenses,
|
||||||
])
|
])
|
||||||
->subject('Inventory Report');
|
->subject(trans('mail.inventory_report'));
|
||||||
|
|
||||||
return $message;
|
return $message;
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,7 @@ return [
|
||||||
'login_first_admin' => 'Login to your new Snipe-IT installation using the credentials below:',
|
'login_first_admin' => 'Login to your new Snipe-IT installation using the credentials below:',
|
||||||
'login' => 'Login:',
|
'login' => 'Login:',
|
||||||
'Low_Inventory_Report' => 'Low Inventory Report',
|
'Low_Inventory_Report' => 'Low Inventory Report',
|
||||||
|
'inventory_report' => 'Inventory Report',
|
||||||
'min_QTY' => 'Min QTY',
|
'min_QTY' => 'Min QTY',
|
||||||
'name' => 'Name',
|
'name' => 'Name',
|
||||||
'new_item_checked' => 'A new item has been checked out under your name, details are below.',
|
'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_Notification' => 'Reminder: :name checkin deadline approaching',
|
||||||
'Expected_Checkin_Date' => 'An asset checked out to you is due to be checked back in on :date',
|
'Expected_Checkin_Date' => 'An asset checked out to you is due to be checked back in on :date',
|
||||||
'your_assets' => 'View Your Assets',
|
'your_assets' => 'View Your Assets',
|
||||||
|
'rights_reserved' => 'All rights reserved.',
|
||||||
];
|
];
|
||||||
|
|
|
@ -204,7 +204,7 @@ $style = [
|
||||||
<p style="{{ $style['paragraph-sub'] }}">
|
<p style="{{ $style['paragraph-sub'] }}">
|
||||||
© {{ date('Y') }}
|
© {{ date('Y') }}
|
||||||
<a style="{{ $style['anchor'] }}" href="{{ url('/') }}" target="_blank">{{ $snipeSettings->site_name }}</a>.
|
<a style="{{ $style['anchor'] }}" href="{{ url('/') }}" target="_blank">{{ $snipeSettings->site_name }}</a>.
|
||||||
All rights reserved.
|
{{ trans('mail.rights_reserved') }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@if ($snipeSettings->privacy_policy_link!='')
|
@if ($snipeSettings->privacy_policy_link!='')
|
||||||
|
|
Loading…
Reference in a new issue