A free open source IT asset/license management system
Add translations
Marcus Moore3290d7f4017a
diff --git a/app/Mail/CheckoutAcceptanceResponseMail.php b/app/Mail/CheckoutAcceptanceResponseMail.phpindex b568d87765..a5d6991b20 100644--- a/app/Mail/CheckoutAcceptanceResponseMail.php+++ b/app/Mail/CheckoutAcceptanceResponseMail.php@@ -34,10 +34,9 @@ class CheckoutAcceptanceResponseMail extends Mailable*/public function envelope(): Envelope{- // @todo: translate$subject = $this->wasAccepted- ? 'A checkout you initiated was accepted'- : 'A checkout you initiated was declined';+ ? trans('mail.initiated_accepted')+ : trans('mail.initiated_declined');return new Envelope(subject: $subject,@@ -63,10 +62,9 @@ class CheckoutAcceptanceResponseMail extends Mailableprivate function introduction(): string{- // @todo: translatereturn $this->wasAccepted- ? 'The following was accepted'- : 'The following was declined';+ ? trans('mail.following_accepted')+ : trans('mail.following_declined');}/**diff --git a/resources/lang/en-US/admin/categories/general.php b/resources/lang/en-US/admin/categories/general.phpindex a468bf3e08..4d036996ac 100644--- a/resources/lang/en-US/admin/categories/general.php+++ b/resources/lang/en-US/admin/categories/general.php@@ -4,6 +4,7 @@ return array('asset_categories' => 'Asset Categories','category_name' => 'Category Name','checkin_email' => 'Send email to user on checkin/checkout.',+ 'email_to_initiator' => 'Send email to you when user accepts or declines checkout.','checkin_email_notification' => 'This user will be sent an email on checkin/checkout.','clone' => 'Clone Category','create' => 'Create Category',diff --git a/resources/lang/en-US/mail.php b/resources/lang/en-US/mail.phpindex 797f735a2b..65b544b343 100644--- a/resources/lang/en-US/mail.php+++ b/resources/lang/en-US/mail.php@@ -52,9 +52,13 @@ return ['days' => 'Days','expecting_checkin_date' => 'Expected Checkin Date','expires' => 'Expires',+ 'following_accepted' => 'The following was accepted',+ 'following_declined' => 'The following was declined','hello' => 'Hello','hi' => 'Hi','i_have_read' => 'I have read and agree to the terms of use, and have received this item.',+ 'initiated_accepted' => 'A checkout you initiated was accepted',+ 'initiated_declined' => 'A checkout you initiated was declined','inventory_report' => 'Inventory Report','item' => 'Item','item_checked_reminder' => 'This is a reminder that you currently have :count items checked out to you that you have not accepted or declined. Please click the link below to confirm your decision.',diff --git a/resources/views/livewire/category-edit-form.blade.php b/resources/views/livewire/category-edit-form.blade.phpindex 1e7661055c..aee6fe63ed 100644--- a/resources/views/livewire/category-edit-form.blade.php+++ b/resources/views/livewire/category-edit-form.blade.php@@ -74,8 +74,7 @@value="1"wire:model="alertOnResponse"/>- {{-- @todo: translate--}}- Send email to you when user accepts or declines checkout.+ {{ trans('admin/categories/general.email_to_initiator') }}</label></div></div>