From 5ca155ba4211c181e026a36c94f2de221b6bc281 Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Thu, 3 Sep 2020 02:08:14 +0100 Subject: [PATCH] Add more missing translation strings --- resources/lang/en/messages.php | 4 +++- .../views/dashboard/user/profile/displayprofile.blade.php | 8 ++++---- .../views/dashboard/user/profile/useraccount.blade.php | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/resources/lang/en/messages.php b/resources/lang/en/messages.php index efa4886..d91a347 100644 --- a/resources/lang/en/messages.php +++ b/resources/lang/en/messages.php @@ -78,7 +78,8 @@ return [ 'schedule_action' => 'Schedule an Appointment', 'platform' => 'Platform', 'notepad' => 'Shared Notepad', // Context: The shared notepad that appears when votes are needed, - 'appointment_info' => 'Appointment Information' + 'appointment_info' => 'Appointment Information', + 'ip_info' => 'IP Address Information for' ], @@ -472,6 +473,7 @@ return [ '2fa_password_confirm_exp' => 'To prevent unauthorized changes, a password is always required for sensitive operations.', '2fa_disable_consent' => '"I understand the possible consequences of disabling two factor authentication"', '2fa_remove' => 'Remove 2FA', + '2fa_remove_extended' => 'Remove Two-Factor Authentication', 'security_lgotherdev' => 'For your security, you\'ll need to re-enter your password before logging out other devices. If you believe your account has been compromised, please change your password instead, as that will automatically log out anyone else who might using your account, and prevent them from signing back in.', 'password_reenter' => 'Re-enter your password', diff --git a/resources/views/dashboard/user/profile/displayprofile.blade.php b/resources/views/dashboard/user/profile/displayprofile.blade.php index be1b3d0..a882abb 100644 --- a/resources/views/dashboard/user/profile/displayprofile.blade.php +++ b/resources/views/dashboard/user/profile/displayprofile.blade.php @@ -36,7 +36,7 @@ @if (Auth::user()->hasRole('admin')) - +

{{__('messages.profile.ban_confirm')}}

@@ -74,7 +74,7 @@
@if (!Auth::user()->is($profile->user) && $profile->user->isStaffMember()) - +

{{__('messages.profile.terminate_notice')}}

@@ -99,7 +99,7 @@ @endif - +

{{__('messages.profile.delete_acc_warn')}}

@@ -122,7 +122,7 @@
- +

{{__('messages.profile.search_result')}}

diff --git a/resources/views/dashboard/user/profile/useraccount.blade.php b/resources/views/dashboard/user/profile/useraccount.blade.php index 407fe3a..e223a96 100644 --- a/resources/views/dashboard/user/profile/useraccount.blade.php +++ b/resources/views/dashboard/user/profile/useraccount.blade.php @@ -23,7 +23,7 @@ @if (!Auth::user()->has2FA()) - +

{{__('messages.profile.2fa_welcome')}}

@@ -75,7 +75,7 @@ @if (Auth::user()->has2FA()) - +

{{__('messages.application_m.modal_confirm')}} {{__('messages.profile.2fa_remove_consequence')}}