feat(LRL App): init V0

This commit is contained in:
2025-10-22 17:09:48 +02:00
parent d3303fee95
commit 0924da3cda
475 changed files with 44862 additions and 7 deletions

View File

@@ -0,0 +1,71 @@
<?php
return [
'label' => 'Turn off',
'modal' => [
'heading' => 'Disable authenticator app',
'description' => 'Are you sure you want to stop using the authenticator app? Disabling this will remove an extra layer of security from your account.',
'form' => [
'code' => [
'label' => 'Enter the 6-digit code from the authenticator app',
'validation_attribute' => 'code',
'actions' => [
'use_recovery_code' => [
'label' => 'Use a recovery code instead',
],
],
'messages' => [
'invalid' => 'The code you entered is invalid.',
],
],
'recovery_code' => [
'label' => 'Or, enter a recovery code',
'validation_attribute' => 'recovery code',
'messages' => [
'invalid' => 'The recovery code you entered is invalid.',
],
],
],
'actions' => [
'submit' => [
'label' => 'Disable authenticator app',
],
],
],
'notifications' => [
'disabled' => [
'title' => 'Authenticator app has been disabled',
],
],
];

View File

@@ -0,0 +1,77 @@
<?php
return [
'label' => 'Regenerate recovery codes',
'modal' => [
'heading' => 'Regenerate authenticator app recovery codes',
'description' => 'If you lose your recovery codes, you can regenerate them here. Your old recovery codes will be invalidated immediately.',
'form' => [
'code' => [
'label' => 'Enter the 6-digit code from the authenticator app',
'validation_attribute' => 'code',
'messages' => [
'invalid' => 'The code you entered is invalid.',
],
],
'password' => [
'label' => 'Or, enter your current password',
'validation_attribute' => 'password',
],
],
'actions' => [
'submit' => [
'label' => 'Regenerate recovery codes',
],
],
],
'notifications' => [
'regenerated' => [
'title' => 'New authenticator app recovery codes have been generated',
],
],
'show_new_recovery_codes' => [
'modal' => [
'heading' => 'New recovery codes',
'description' => 'Please save the following recovery codes in a safe place. They will only be shown once, but you\'ll need them if you lose access to your authenticator app:',
'actions' => [
'submit' => [
'label' => 'Close',
],
],
],
],
];

View File

@@ -0,0 +1,81 @@
<?php
return [
'label' => 'Set up',
'modal' => [
'heading' => 'Set up authenticator app',
'description' => <<<'BLADE'
You'll need an app like Google Authenticator (<x-filament::link href="https://itunes.apple.com/us/app/google-authenticator/id388497605" target="_blank">iOS</x-filament::link>, <x-filament::link href="https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2" target="_blank">Android</x-filament::link>) to complete this process.
BLADE,
'content' => [
'qr_code' => [
'instruction' => 'Scan this QR code with your authenticator app:',
'alt' => 'QR code to scan with an authenticator app',
],
'text_code' => [
'instruction' => 'Or enter this code manually:',
'messages' => [
'copied' => 'Copied',
],
],
'recovery_codes' => [
'instruction' => 'Please save the following recovery codes in a safe place. They will only be shown once, but you\'ll need them if you lose access to your authenticator app:',
],
],
'form' => [
'code' => [
'label' => 'Enter the 6-digit code from the authenticator app',
'validation_attribute' => 'code',
'below_content' => 'You will need to enter the 6-digit code from your authenticator app each time you sign in or perform sensitive actions.',
'messages' => [
'invalid' => 'The code you entered is invalid.',
],
],
],
'actions' => [
'submit' => [
'label' => 'Enable authenticator app',
],
],
],
'notifications' => [
'enabled' => [
'title' => 'Authenticator app has been enabled',
],
],
];

View File

@@ -0,0 +1,64 @@
<?php
return [
'management_schema' => [
'actions' => [
'label' => 'Authenticator app',
'below_content' => 'Use a secure app to generate a temporary code for login verification.',
'messages' => [
'enabled' => 'Enabled',
'disabled' => 'Disabled',
],
],
],
'login_form' => [
'label' => 'Use a code from your authenticator app',
'code' => [
'label' => 'Enter the 6-digit code from the authenticator app',
'validation_attribute' => 'code',
'actions' => [
'use_recovery_code' => [
'label' => 'Use a recovery code instead',
],
],
'messages' => [
'invalid' => 'The code you entered is invalid.',
],
],
'recovery_code' => [
'label' => 'Or, enter a recovery code',
'validation_attribute' => 'recovery code',
'messages' => [
'invalid' => 'The recovery code you entered is invalid.',
],
],
],
];

View File

@@ -0,0 +1,67 @@
<?php
return [
'label' => 'Turn off',
'modal' => [
'heading' => 'Disable email verification codes',
'description' => 'Are you sure you want to stop receiving email verification codes? Disabling this will remove an extra layer of security from your account.',
'form' => [
'code' => [
'label' => 'Enter the 6-digit code we sent you by email',
'validation_attribute' => 'code',
'actions' => [
'resend' => [
'label' => 'Send a new code by email',
'notifications' => [
'resent' => [
'title' => 'We\'ve sent you a new code by email',
],
],
],
],
'messages' => [
'invalid' => 'The code you entered is invalid.',
],
],
],
'actions' => [
'submit' => [
'label' => 'Disable email verification codes',
],
],
],
'notifications' => [
'disabled' => [
'title' => 'Email verification codes have been disabled',
],
],
];

View File

@@ -0,0 +1,67 @@
<?php
return [
'label' => 'Set up',
'modal' => [
'heading' => 'Set up email verification codes',
'description' => 'You\'ll need to enter the 6-digit code we send you by email each time you sign in or perform sensitive actions. Check your email for a 6-digit code to complete the setup.',
'form' => [
'code' => [
'label' => 'Enter the 6-digit code we sent you by email',
'validation_attribute' => 'code',
'actions' => [
'resend' => [
'label' => 'Send a new code by email',
'notifications' => [
'resent' => [
'title' => 'We\'ve sent you a new code by email',
],
],
],
],
'messages' => [
'invalid' => 'The code you entered is invalid.',
],
],
],
'actions' => [
'submit' => [
'label' => 'Enable email verification codes',
],
],
],
'notifications' => [
'enabled' => [
'title' => 'Email verification codes have been enabled',
],
],
];

View File

@@ -0,0 +1,12 @@
<?php
return [
'subject' => 'Here\'s your sign-in code',
'lines' => [
'Your sign-in code is: :code',
'This code will expire in a minute.|This code will expire in :minutes minutes.',
],
];

View File

@@ -0,0 +1,60 @@
<?php
return [
'management_schema' => [
'actions' => [
'label' => 'Email verification codes',
'below_content' => 'Receive a temporary code at your email address to verify your identity during login.',
'messages' => [
'enabled' => 'Enabled',
'disabled' => 'Disabled',
],
],
],
'login_form' => [
'label' => 'Send a code to your email',
'code' => [
'label' => 'Enter the 6-digit code we sent you by email',
'validation_attribute' => 'code',
'actions' => [
'resend' => [
'label' => 'Send a new code by email',
'notifications' => [
'resent' => [
'title' => 'We\'ve sent you a new code by email',
],
],
],
],
'messages' => [
'invalid' => 'The code you entered is invalid.',
],
],
],
];

View File

@@ -0,0 +1,19 @@
<?php
return [
'title' => 'Set up two-factor authentication (2FA)',
'heading' => 'Set up two-factor authentication',
'subheading' => '2FA adds an extra layer of security to your account by requiring a second form of verification when signing in.',
'actions' => [
'continue' => [
'label' => 'Continue',
],
],
];

View File

@@ -0,0 +1,27 @@
<?php
return [
'actions' => [
'Click to',
'copy' => [
'label' => 'copy',
],
'or',
'download' => [
'label' => 'download',
],
'all the codes at once.',
],
'messages' => [
'copied' => 'Copied',
],
];