Completed
Push — master ( 8927df...f70445 )
by Abdelrahman
02:05
created

resources/lang/en/frontend/messages.php (9 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/*
4
 * NOTICE OF LICENSE
5
 *
6
 * Part of the Rinvex Fort Package.
7
 *
8
 * This source file is subject to The MIT License (MIT)
9
 * that is bundled with this package in the LICENSE file.
10
 *
11
 * Package: Rinvex Fort Package
12
 * License: The MIT License (MIT)
13
 * Link:    https://rinvex.com
14
 */
15
16
return [
17
18
    'error' => '<strong>Whoops!</strong> There were some problems with your input.',
19
20
    'register' => [
21
        'success'        => 'Registration completed successfully!',
22
        'success_verify' => 'Registration completed successfully! Email verification request has been sent to you!',
23
        'disabled'       => 'Sorry, registration is currently disabled!',
24
    ],
25
26
    'account' => [
27
        'phone_required'   => 'You must verify your phone first!',
28
        'country_required' => 'You must select your country first!',
29
        'reverify'         => 'Since you updated your email, you must reverify your account again. You will not be able to login next time until you verify your account.',
0 ignored issues
show
This line exceeds maximum limit of 120 characters; contains 171 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
30
        'updated'          => 'You have successfully updated your profile!',
31
    ],
32
33
    'auth' => [
34
        'authorize'    => 'Requested resource must be authorized.',
35
        'unauthorized' => 'Sorry, you do not have access to the requested resource!',
36
        'moderated'    => 'Your account is currently moderated!',
37
        'unverified'   => 'Your account in currently unverified!',
38
        'failed'       => 'These credentials do not match our records.',
39
        'lockout'      => 'Too many login attempts. Please try again in :seconds seconds.',
40
        'login'        => 'You have successfully logged in!',
41
        'valid'        => 'User credentials valid!',
42
        'logout'       => 'You have successfully logged out!',
43
        'already'      => 'You are already authenticated!',
44
        'session'      => [
45
            'required'   => 'You must login first!',
46
            'expired'    => 'Session expired, please login again!',
47
            'flushed'    => 'Your selected session has been successfully flushed!',
48
            'flushedall' => 'All your active sessions has been successfully flushed!',
49
        ],
50
    ],
51
52
    'passwordreset' => [
53
        'sent'             => 'Password reset request has been sent to you!',
54
        'success'          => 'Your password has been reset!',
55
        'invalid_password' => 'Passwords must be at least six characters and match the confirmation.',
56
        'invalid_token'    => 'This password reset token is invalid.',
57
        'invalid_user'     => 'We can not find a user with that e-mail address.',
58
    ],
59
60
    'verification' => [
61
62
        'email' => [
63
            'verified'      => 'Your email has been verified!',
64
            'link_sent'     => 'Email verification request has been sent to you!',
65
            'invalid_token' => 'This verification token is invalid.',
66
            'invalid_user'  => 'We can not find a user with that email address.',
67
        ],
68
69
        'phone' => [
70
            'verified'     => 'Your phone has been verified!',
71
            'sent'         => 'We have sent your verification token to your phone!',
72
            'failed'       => 'Weird problem happen while verifying your phone, this issue has been logged and reported to staff.',
0 ignored issues
show
This line exceeds maximum limit of 120 characters; contains 131 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
73
            'invalid_user' => 'We can not find a user with that email address.',
74
        ],
75
76
        'twofactor' => [
77
            'invalid_token' => 'This verification token is invalid.',
78
            'totp'          => [
79
                'required'         => 'Two-Factor TOTP authentication enabled for your account, authentication code required to proceed.',
0 ignored issues
show
This line exceeds maximum limit of 120 characters; contains 138 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
80
                'enabled'          => 'Two-Factor TOTP authentication has been enabled and backup codes generated for your account.',
0 ignored issues
show
This line exceeds maximum limit of 120 characters; contains 133 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
81
                'disabled'         => 'Two-Factor TOTP authentication has been disabled for your account.',
82
                'rebackup'         => 'Two-Factor TOTP authentication backup codes re-generated for your account.',
83
                'cant_backup'      => 'Two-Factor TOTP authentication currently disabled for your account, thus backup codes can not be generated.',
0 ignored issues
show
This line exceeds maximum limit of 120 characters; contains 148 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
84
                'already'          => 'You have already configured Two-Factor TOTP authentication. This page allows you to switch to a different authentication app. If this is not what you\'d like to do, you can go back to your account settings.',
0 ignored issues
show
This line exceeds maximum limit of 120 characters; contains 247 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
85
                'invalid_token'    => 'Your passcode did not match, or expired after scanning. Remove the old barcode from your app, and try again. Since this process is time-sensitive, make sure your device\'s date and time is set to "automatic."',
0 ignored issues
show
This line exceeds maximum limit of 120 characters; contains 249 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
86
                'globaly_disabled' => 'Sorry, Two-Factor TOTP authentication globally disabled!',
87
            ],
88
            'phone'         => [
89
                'enabled'          => 'Two-Factor phone authentication has been enabled for your account.',
90
                'disabled'         => 'Two-Factor phone authentication has been disabled for your account.',
91
                'auto_disabled'    => 'Two-Factor phone authentication has been disabled for your account. Changing country or phone results in Two-Factor auto disable. You need to enable it again manually.',
0 ignored issues
show
This line exceeds maximum limit of 120 characters; contains 208 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
92
                'country_required' => 'Country field seems to be missing in your account, and since Two-Factor authentication already activated which require that field, you can NOT login. Please contact staff to solve this issue.',
0 ignored issues
show
This line exceeds maximum limit of 120 characters; contains 232 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
93
                'globaly_disabled' => 'Sorry, Two-Factor phone authentication globally disabled!',
94
            ],
95
        ],
96
97
    ],
98
99
];
100