From 224d0b2fd2cc1dc1b454053cd1ef0e70242aae91 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 12 Jan 2022 22:21:00 -0800 Subject: [PATCH] Small language file additions Signed-off-by: snipe --- app/Http/Controllers/ViewAssetsController.php | 2 +- resources/lang/en/admin/hardware/message.php | 2 +- resources/lang/en/general.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/ViewAssetsController.php b/app/Http/Controllers/ViewAssetsController.php index 451a3a9120..edb93eb403 100755 --- a/app/Http/Controllers/ViewAssetsController.php +++ b/app/Http/Controllers/ViewAssetsController.php @@ -165,7 +165,7 @@ class ViewAssetsController extends Controller $settings->notify(new RequestAssetCancelation($data)); return redirect()->route('requestable-assets') - ->with('success')->with('success', trans('admin/hardware/message.requests.canceled')); + ->with('success')->with('success', trans('admin/hardware/message.requests.cancel')); } $logaction->logaction('requested'); diff --git a/resources/lang/en/admin/hardware/message.php b/resources/lang/en/admin/hardware/message.php index 4679543416..8c8e323a73 100644 --- a/resources/lang/en/admin/hardware/message.php +++ b/resources/lang/en/admin/hardware/message.php @@ -5,7 +5,7 @@ return [ 'undeployable' => 'Warning: This asset has been marked as currently undeployable. If this status has changed, please update the asset status.', 'does_not_exist' => 'Asset does not exist.', - 'does_not_exist_or_not_requestable' => 'Nice try. That asset does not exist or is not requestable.', + 'does_not_exist_or_not_requestable' => 'That asset does not exist or is not requestable.', 'assoc_users' => 'This asset is currently checked out to a user and cannot be deleted. Please check the asset in first, and then try deleting again. ', 'create' => [ diff --git a/resources/lang/en/general.php b/resources/lang/en/general.php index c07a635c5c..2e358c77f9 100644 --- a/resources/lang/en/general.php +++ b/resources/lang/en/general.php @@ -97,6 +97,7 @@ 'email_domain' => 'Email Domain', 'email_format' => 'Email Format', 'email_domain_help' => 'This is used to generate email addresses when importing', + 'error' => 'Error', 'filastname_format' => 'First Initial Last Name (jsmith@example.com)', 'firstname_lastname_format' => 'First Name Last Name (jane.smith@example.com)', 'firstname_lastname_underscore_format' => 'First Name Last Name (jane_smith@example.com)',