From 48439b140b698372c0cdd2fd8587dc27cc4d15f8 Mon Sep 17 00:00:00 2001 From: Jeff Greco Date: Mon, 24 Jan 2022 10:58:57 -0500 Subject: [PATCH] Improvements to en translations --- resources/lang/en/default.php | 21 +++++++++++++++++++ .../views/filament/pages/my-profile.blade.php | 12 +++++------ resources/views/login.blade.php | 2 +- resources/views/reset-password.blade.php | 2 +- resources/views/verify.blade.php | 2 +- 5 files changed, 30 insertions(+), 9 deletions(-) diff --git a/resources/lang/en/default.php b/resources/lang/en/default.php index ed59b59..1cecaad 100644 --- a/resources/lang/en/default.php +++ b/resources/lang/en/default.php @@ -1,6 +1,9 @@ [ + "forgot_password_link" => "Forgot password?", + ], "registration" => [ "title" => "Register", "heading" => "Create a new account", @@ -14,6 +17,7 @@ "submit" => [ "label" => "Send reset email", ], + "notification_success" => "Check your inbox for instructions!", ], "verification" => [ "title" => "Verify email", @@ -21,5 +25,22 @@ "submit" => [ "label" => "Sign out", ], + "notification_success" => "Check your inbox for instructions!", + ], + "profile" => [ + "personal_info" => [ + "heading" => "Personal Information", + "subheading" => "Manage your personal information.", + "submit" => [ + "label" => "Update", + ], + ], + "password" => [ + "heading" => "Password", + "subheading" => "Must be 8 characters.", + "submit" => [ + "label" => "Update", + ], + ], ], ]; diff --git a/resources/views/filament/pages/my-profile.blade.php b/resources/views/filament/pages/my-profile.blade.php index 7a7e045..0602386 100644 --- a/resources/views/filament/pages/my-profile.blade.php +++ b/resources/views/filament/pages/my-profile.blade.php @@ -3,11 +3,11 @@ - Personal Information + {{ __('filament-breezy::default.profile.personal_info.heading') }} - Update your personal information here. + {{ __('filament-breezy::default.profile.personal_info.subheading') }}
@@ -18,7 +18,7 @@
- Update + {{ __('filament-breezy::default.profile.personal_info.submit.label') }}
@@ -32,11 +32,11 @@ - Password + {{ __('filament-breezy::default.profile.password.heading') }} - Minimum password length: 8 characters + {{ __('filament-breezy::default.profile.password.subheading') }} @@ -47,7 +47,7 @@
- Update + {{ __('filament-breezy::default.profile.password.submit.label') }}
diff --git a/resources/views/login.blade.php b/resources/views/login.blade.php index 36dd8cf..0ca3653 100644 --- a/resources/views/login.blade.php +++ b/resources/views/login.blade.php @@ -22,6 +22,6 @@ diff --git a/resources/views/reset-password.blade.php b/resources/views/reset-password.blade.php index f5a7f48..3cafcb9 100644 --- a/resources/views/reset-password.blade.php +++ b/resources/views/reset-password.blade.php @@ -19,6 +19,6 @@ {{ __('filament-breezy::default.reset_password.submit.label') }} @else - Check your inbox for instructions! + {{ __('filament-breezy::default.reset_password.notification_success') }} @endunless diff --git a/resources/views/verify.blade.php b/resources/views/verify.blade.php index 7ef2226..28b8edc 100644 --- a/resources/views/verify.blade.php +++ b/resources/views/verify.blade.php @@ -12,7 +12,7 @@ @unless($hasBeenSent) If you did not receive the email, click here to request another one. @else - Check your inbox for instructions! + {{ __('filament-breezy::default.verification.notification_success') }} @endunless