mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
adds translation to checkout notification
This commit is contained in:
parent
869d195b35
commit
46d6783fc5
|
@ -107,7 +107,7 @@ class CheckoutAssetNotification extends Notification
|
|||
}
|
||||
|
||||
return (new SlackMessage)
|
||||
->content(':arrow_up: :computer: Asset Checked Out')
|
||||
->content(':arrow_up: :computer: '.trans('mail.Asset_Checkout_Notification'))
|
||||
->from($botname)
|
||||
->attachment(function ($attachment) use ($item, $note, $admin, $fields) {
|
||||
$attachment->title(htmlspecialchars_decode($item->present()->name), $item->present()->viewUrl())
|
||||
|
|
|
@ -75,6 +75,7 @@ return [
|
|||
'your_credentials' => 'Your Snipe-IT credentials',
|
||||
'Accessory_Checkin_Notification' => 'Accessory checked in',
|
||||
'Asset_Checkin_Notification' => 'Asset checked in',
|
||||
'Asset_Checkout_Notification' => 'Asset checked out',
|
||||
'License_Checkin_Notification' => 'License checked in',
|
||||
'Expected_Checkin_Report' => 'Expected asset checkin report',
|
||||
'Expected_Checkin_Notification' => 'Reminder: :name checkin deadline approaching',
|
||||
|
|
Loading…
Reference in a new issue