Add more missing translation strings

This commit is contained in:
Miguel Nogueira 2020-09-03 02:08:14 +01:00
parent 7c7c20d5b2
commit 5ca155ba42
3 changed files with 9 additions and 7 deletions

View File

@ -78,7 +78,8 @@ return [
'schedule_action' => 'Schedule an Appointment', 'schedule_action' => 'Schedule an Appointment',
'platform' => 'Platform', 'platform' => 'Platform',
'notepad' => 'Shared Notepad', // Context: The shared notepad that appears when votes are needed, '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_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_disable_consent' => '"I understand the possible consequences of disabling two factor authentication"',
'2fa_remove' => 'Remove 2FA', '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.', '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', 'password_reenter' => 'Re-enter your password',

View File

@ -36,7 +36,7 @@
@if (Auth::user()->hasRole('admin')) @if (Auth::user()->hasRole('admin'))
<x-modal id="banAccountModal" modal-label="banAccount" modal-title="Please confirm" include-close-button="true"> <x-modal id="banAccountModal" modal-label="banAccount" modal-title="{{__('messages.reusable.confirm')}}" include-close-button="true">
<p>{{__('messages.profile.ban_confirm')}}</p> <p>{{__('messages.profile.ban_confirm')}}</p>
@ -74,7 +74,7 @@
</x-modal> </x-modal>
@if (!Auth::user()->is($profile->user) && $profile->user->isStaffMember()) @if (!Auth::user()->is($profile->user) && $profile->user->isStaffMember())
<x-modal id="terminateUser" modal-label="terminateUser" modal-title="Please confirm" include-close-button="true"> <x-modal id="terminateUser" modal-label="terminateUser" modal-title="{{__('messages.reusable.confirm')}}" include-close-button="true">
<p><i class="fa fa-exclamation-triangle"></i> <b>{{__('messages.profile.terminate_notice')}}</b></p> <p><i class="fa fa-exclamation-triangle"></i> <b>{{__('messages.profile.terminate_notice')}}</b></p>
<p> <p>
@ -99,7 +99,7 @@
</x-modal> </x-modal>
@endif @endif
<x-modal id="deleteAccount" modal-label="deleteAccount" modal-title="Please confirm" include-close-button="true"> <x-modal id="deleteAccount" modal-label="deleteAccount" modal-title="{{__('messages.reusable.confirm')}}" include-close-button="true">
<p><i class="fa fa-exclamation-triangle"></i><b> {{__('messages.profile.delete_acc_warn')}}</b></p> <p><i class="fa fa-exclamation-triangle"></i><b> {{__('messages.profile.delete_acc_warn')}}</b></p>
@ -122,7 +122,7 @@
</x-slot> </x-slot>
</x-modal> </x-modal>
<x-modal id="ipInfo" modal-label="ipInfo" modal-title="IP Address Information for {{$ipInfo->ip ?? 'Unknown'}}" include-close-button="true"> <x-modal id="ipInfo" modal-label="ipInfo" modal-title="{{__('messages.reusable.ip_info')}} {{$ipInfo->ip ?? 'Unknown'}}" include-close-button="true">
<h4 class="text-center">{{__('messages.profile.search_result')}}</h3> <h4 class="text-center">{{__('messages.profile.search_result')}}</h3>

View File

@ -23,7 +23,7 @@
@if (!Auth::user()->has2FA()) @if (!Auth::user()->has2FA())
<x-modal id="twoFactorAuthModal" modal-label="2faLabel" modal-title="Two-factor Authentication" include-close-button="true"> <x-modal id="twoFactorAuthModal" modal-label="2faLabel" modal-title="{{__('messages.2fa_txt')}}" include-close-button="true">
<h3><i class="fas fa-user-shield"></i> {{__('messages.profile.2fa_welcome')}}</h3> <h3><i class="fas fa-user-shield"></i> {{__('messages.profile.2fa_welcome')}}</h3>
@ -75,7 +75,7 @@
@if (Auth::user()->has2FA()) @if (Auth::user()->has2FA())
<x-modal id="remove2FA" modal-label="remove2FALabel" modal-title="Remove Two-Factor Authentication" include-close-button="true"> <x-modal id="remove2FA" modal-label="remove2FALabel" modal-title="{{__('messages.profile.2fa_remove_extended')}}" include-close-button="true">
<p><i class="fas fa-exclamation-triangle"></i> <b>{{__('messages.application_m.modal_confirm')}}</b> {{__('messages.profile.2fa_remove_consequence')}}</p> <p><i class="fas fa-exclamation-triangle"></i> <b>{{__('messages.application_m.modal_confirm')}}</b> {{__('messages.profile.2fa_remove_consequence')}}</p>