diff --git a/resources/lang/en/passwords.php b/resources/lang/en/passwords.php index e73b56d..b076092 100644 --- a/resources/lang/en/passwords.php +++ b/resources/lang/en/passwords.php @@ -13,10 +13,10 @@ return [ | */ - 'password' => 'Passwords must be at least six characters and match the confirmation.', - 'user' => "We can't find a user with that e-mail address.", - 'token' => 'This password reset token is invalid.', - 'sent' => 'We have e-mailed your password reset link!', - 'reset' => 'Your password has been reset!', - + 'password' => 'Passwords must be at least six characters and match the confirmation.', + 'user' => "We can't find a user with that e-mail address.", + 'token' => 'This password reset token is invalid.', + 'sent' => 'We have e-mailed your password reset link!', + 'reset' => 'Your password has been reset!', + 'back_to_login' => 'Back to Login', ]; diff --git a/resources/lang/id/passwords.php b/resources/lang/id/passwords.php index 6659543..08826eb 100644 --- a/resources/lang/id/passwords.php +++ b/resources/lang/id/passwords.php @@ -13,9 +13,10 @@ return [ | */ - 'password' => 'Password harus minimal enam karakter dan cocok dengan konfirmasi.', - 'user' => 'Kami tidak dapat menemukan pengguna dengan email tersebut.', - 'token' => 'Token Reset Password tidak sah.', - 'sent' => 'Kami sudah mengirim email yang berisi tautan untuk mereset Password Anda!', - 'reset' => 'Password Anda sudah direset!', + 'password' => 'Password harus minimal enam karakter dan cocok dengan konfirmasi.', + 'user' => 'Kami tidak dapat menemukan pengguna dengan email tersebut.', + 'token' => 'Token Reset Password tidak sah.', + 'sent' => 'Kami sudah mengirim email yang berisi tautan untuk mereset Password Anda!', + 'reset' => 'Password Anda sudah direset!', + 'back_to_login' => 'Kembali ke Login', ]; diff --git a/resources/views/auth/partials/_notifications.blade.php b/resources/views/auth/partials/_notifications.blade.php deleted file mode 100644 index 6b772f4..0000000 --- a/resources/views/auth/partials/_notifications.blade.php +++ /dev/null @@ -1,15 +0,0 @@ -@if (session('status')) -
{{ trans('auth.reset_password_instruction') }} :
+{{ __('auth.reset_password_hint') }} :
{!! FormField::email('email') !!} - {!! FormField::password('password', ['label' => trans('auth.new_password')]) !!} - {!! FormField::password('password_confirmation', ['label' => trans('auth.new_password_confirmation')]) !!} + {!! FormField::password('password', ['label' => __('auth.new_password')]) !!} + {!! FormField::password('password_confirmation', ['label' => __('auth.new_password_confirmation')]) !!} {!! Form::hidden('token', $token) !!}