|
60 | 60 | "No phone number is associated with this account.", _version=1 |
61 | 61 | ) |
62 | 62 | MSG_UNAUTHORIZED_CODE_RESEND_2FA: Final[str] = user_message( |
63 | | - "You can no longer resend the code. Please restart the verification process.", |
64 | | - _version=1, |
| 63 | + "You can no longer resend the verification code. Please restart the verification process.", |
| 64 | + _version=2, |
65 | 65 | ) |
66 | 66 | MSG_UNAUTHORIZED_LOGIN_2FA: Final[str] = user_message( |
67 | | - "You can no longer submit a code. Please restart the login process.", _version=1 |
| 67 | + "You can no longer submit a verification code. Please restart the login process.", |
| 68 | + _version=2, |
68 | 69 | ) |
69 | 70 | MSG_UNAUTHORIZED_REGISTER_PHONE: Final[str] = user_message( |
70 | 71 | "Phone registration is no longer allowed. Please restart the registration process.", |
71 | 72 | _version=1, |
72 | 73 | ) |
73 | 74 | MSG_UNAUTHORIZED_PHONE_CONFIRMATION: Final[str] = user_message( |
74 | | - "You can no longer submit a code. Please restart the confirmation process.", |
75 | | - _version=1, |
| 75 | + "You can no longer submit a verification code. Please restart the confirmation process.", |
| 76 | + _version=2, |
76 | 77 | ) |
77 | 78 | MSG_UNKNOWN_EMAIL: Final[str] = user_message( |
78 | 79 | "This email address is not registered.", _version=1 |
|
94 | 95 | _version=1, |
95 | 96 | ) |
96 | 97 | MSG_WRONG_2FA_CODE__INVALID: Final[str] = user_message( |
97 | | - "The code entered is not valid. Please enter a valid code or generate a new one.", |
98 | | - _version=1, |
| 98 | + "The verification code entered is not valid. Please enter a valid verification code or generate a new one.", |
| 99 | + _version=2, |
99 | 100 | ) |
100 | 101 | MSG_WRONG_2FA_CODE__EXPIRED: Final[str] = user_message( |
101 | | - "The code has expired. Please generate a new code.", _version=1 |
| 102 | + "The verification code is either incorrect or has expired. Please request a new verification code and try again.", |
| 103 | + _version=3, |
102 | 104 | ) |
103 | 105 | MSG_WRONG_CAPTCHA__INVALID: Final[str] = user_message( |
104 | 106 | "The CAPTCHA entered is incorrect. Please try again.", _version=1 |
|
0 commit comments