matheusfillipe | 47cf90b | 2021-05-13 03:36:21 -0300 | [diff] [blame^] | 1 | <?php |
| 2 | $RUNTIME_ERROR = (object)[ |
| 3 | "template_not_found" => "Either you did not create the folder {{template}} or strings.php is missing on it. Maybe you have set {{langcc}} wrong on config.php?", |
| 4 | "user_trying_invalid_get" => "INVALID REQUEST. THERE IS NOTHING HERE FOR YOU", |
| 5 | ]; |
| 6 | |
| 7 | $USERNAME_VALIDATION_ERROR = (object)[ |
| 8 | "registered" => "This username is already in use! Please choose another username<br>", |
| 9 | "no_whitespaces" => "Username cannot contain whitespaces<br>", |
| 10 | "smaller_than" => "Username must have less than {{num}} characters<br>", |
| 11 | "bigger_than" => "Username must be bigger than {{num}} characters<br>", |
| 12 | "no_special_chars" => "The username cannot contain special characters<br>", |
| 13 | "no_number_begining" => "The username cannot begin with a number<br>", |
| 14 | "blacklisted" => "That Username is not allowed!<br>", |
| 15 | ]; |
| 16 | |
| 17 | $FIRST_NAME_VALIDATION_ERROR = (object)[ |
| 18 | "no_whitespaces" => "First name cannot contain whitespaces<br>", |
| 19 | "smaller_than" => "First name must have less than {{num}} characters<br>", |
| 20 | "bigger_than" => "First name must be bigger than {{num}} characters<br>", |
| 21 | "no_special_chars" => "The first name cannot contain special characters or numbers<br>", |
| 22 | ]; |
| 23 | |
| 24 | $LAST_NAME_VALIDATION_ERROR = (object)[ |
| 25 | "no_whitespaces" => "Last name cannot contain whitespaces<br>", |
| 26 | "smaller_than" => "Last name must have less than {{num}} characters<br>", |
| 27 | "bigger_than" => "Last name must be bigger than {{num}} characters<br>", |
| 28 | "no_special_chars" => "The last name cannot contain special characters or numbers<br>", |
| 29 | ]; |
| 30 | |
| 31 | $EMAIL_VALIDATION_ERROR = (object)[ |
| 32 | "registered" => "This email is already belongs to an account. Did you <a href='{{link}}'>forget your password?</a><br>", |
| 33 | "invalid" => "Invalid email format<br>", |
| 34 | "blacklisted" => "This email service is not allowed<br>", |
| 35 | "pending" => "This email is already pending approval, check your mailbox or try to register with a different email<br>", |
| 36 | |
| 37 | ]; |
| 38 | |
| 39 | $PASSWORD_VALIDATION_ERROR = (object)[ |
| 40 | "no_match" => "Passwords do not match!<br>", |
| 41 | "bigger_than" => "Password should have at least {{num}} characters<br>", |
| 42 | "smaller_than" => "Password is too big. Should have at max {{num}} characters<br>", |
| 43 | "blacklisted" => "That password is not allowed!<br>", |
| 44 | "shared_inclusion" => "Your password cannot contain any of your names or email neither the names can contain the password<br>" |
| 45 | ]; |
| 46 | |
| 47 | $STRINGS = (object)[ |
| 48 | "email_confirmation" => "<h1>Email Confirmation</h1>", |
| 49 | "reloading_captcha" => "Loading...", |
| 50 | ]; |
| 51 | |
| 52 | ?> |