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