From 9e9c37c1e8e555cc6f5bdb404d063cbc0c772eba Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 20 Jun 2024 14:09:11 +0100 Subject: [PATCH 1/2] Fixed weird linebreaks Signed-off-by: snipe --- resources/lang/en-US/account/general.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/lang/en-US/account/general.php b/resources/lang/en-US/account/general.php index 1fc28f3409..1a9e2c03b8 100644 --- a/resources/lang/en-US/account/general.php +++ b/resources/lang/en-US/account/general.php @@ -2,12 +2,10 @@ return array( 'personal_api_keys' => 'Personal API Keys', - 'api_key_warning' => 'When generating an API token, be sure to copy it down immediately as they - will not be visible to you again.', + 'api_key_warning' => 'When generating an API token, be sure to copy it down immediately as they will not be visible to you again.', 'api_base_url' => 'Your API base url is located at:', 'api_base_url_endpoint' => '/<endpoint>', 'api_token_expiration_time' => 'API tokens are set to expire in:', - 'api_reference' => 'Please check the API reference to - find specific API endpoints and additional API documentation.', + 'api_reference' => 'Please check the API reference to find specific API endpoints and additional API documentation.', 'profile_updated' => 'Account successfully updated', ); From 8f8a5c639b5c9fbdf4c263aba341d943e172ae07 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 20 Jun 2024 14:09:25 +0100 Subject: [PATCH 2/2] Updated profile translation string path Signed-off-by: snipe --- app/Http/Controllers/ProfileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index 0b1bce76af..41d0bbb5aa 100755 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -67,7 +67,7 @@ class ProfileController extends Controller if ($user->save()) { - return redirect()->route('profile')->with('success', trans('account.general.profile_updated')); + return redirect()->route('profile')->with('success', trans('account/general.profile_updated')); } return redirect()->back()->withInput()->withErrors($user->getErrors());