A free open source IT asset/license management system
adds translation to checkout notification
Godfrey M46d6783fc5d4
diff --git a/app/Notifications/CheckoutAssetNotification.php b/app/Notifications/CheckoutAssetNotification.phpindex 303fc08f18..6119c5824b 100644--- a/app/Notifications/CheckoutAssetNotification.php+++ b/app/Notifications/CheckoutAssetNotification.php@@ -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())diff --git a/resources/lang/en/mail.php b/resources/lang/en/mail.phpindex 6bf36b4ebf..7dd8d6181c 100644--- a/resources/lang/en/mail.php+++ b/resources/lang/en/mail.php@@ -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',