Resolviendo conflictos

This commit is contained in:
unknown
2025-04-21 14:06:13 +02:00
parent 703781e115
commit dd723f9889

View File

@ -1,59 +1,47 @@
<?php <?php
// override core en language system validation or define your own en language validation message
return [ return [
// General rules 'alpha' => 'The {field} field may only contain alphabetical characters.',
'required' => 'The {field} field is required.', 'alpha_dash' => 'The {field} field may only contain alphanumeric characters, underscores, and dashes.',
'matches' => 'The {field} field does not match the {param} field.', 'alpha_numeric' => 'The {field} field may only contain alphanumeric characters.',
'differs' => 'The {field} field must differ from the {param} field.', 'alpha_numeric_punct' => 'The {field} field may only contain alphanumeric characters, spaces, and punctuation: ~!#$%&*-_+=|:.',
'isUnique' => 'The value of {field} is already in use.', 'alpha_numeric_space' => 'The {field} field may only contain alphanumeric characters and spaces.',
'is_natural' => 'The {field} field must only contain positive numbers.', 'alpha_space' => 'The {field} field may only contain alphabetical characters and spaces.',
'is_natural_no_zero' => 'The {field} field must be greater than zero.', 'decimal' => 'The {field} field must contain a decimal number.',
'valid_url' => 'The {field} field must contain a valid URL.', 'differs' => 'The {field} field must differ from the {param} field.',
'valid_email' => 'The {field} field must contain a valid email address.', 'exact_length' => 'The {field} field must be exactly {param} characters in length.',
'valid_emails' => 'The {field} field must contain only valid email addresses.', 'field_exists' => 'The {field} field must exist.',
'valid_ip' => 'The {field} field must contain a valid IP address.', 'greater_than' => 'The {field} field must be greater than {param}.',
'valid_base64' => 'The {field} field must contain a valid Base64 string.',
'valid_json' => 'The {field} field must contain a valid JSON string.',
'valid_datetime' => 'The {field} field must contain a valid date and time.',
'valid_date' => 'The {field} field must contain a valid date.',
'valid_time' => 'The {field} field must contain a valid time.',
// Comparison rules
'min_length' => 'The {field} field must be at least {param} characters long.',
'max_length' => 'The {field} field must not exceed {param} characters.',
'exact_length' => 'The {field} field must be exactly {param} characters long.',
'greater_than' => 'The {field} field must be greater than {param}.',
'greater_than_equal_to' => 'The {field} field must be greater than or equal to {param}.', 'greater_than_equal_to' => 'The {field} field must be greater than or equal to {param}.',
'less_than' => 'The {field} field must be less than {param}.', 'hex' => 'The {field} field may only contain hexadecimal characters.',
'less_than_equal_to' => 'The {field} field must be less than or equal to {param}.', 'if_exist' => 'The {field} field will be validated only if it exists.',
'in_list' => 'The {field} field must be one of: {param}.',
// Type rules 'integer' => 'The {field} field must contain an integer.',
'alpha' => 'The {field} field may only contain alphabetic characters.', 'is_natural' => 'The {field} field must only contain natural numbers.',
'alpha_space' => 'The {field} field may only contain letters and spaces.', 'is_natural_no_zero' => 'The {field} field must only contain natural numbers greater than zero.',
'alpha_numeric' => 'The {field} field may only contain letters and numbers.', 'is_not_unique' => 'The {field} field value already exists in the database.',
'alpha_numeric_space' => 'The {field} field may only contain letters, numbers, and spaces.', 'is_unique' => 'The {field} field value must be unique.',
'alpha_numeric_punct' => 'The {field} field may only contain letters, numbers, spaces, and the following characters: . , : ; - _ ! ?', 'less_than' => 'The {field} field must be less than {param}.',
'alpha_numeric_dash' => 'The {field} field may only contain letters, numbers, underscores, and dashes.', 'less_than_equal_to' => 'The {field} field must be less than or equal to {param}.',
'numeric' => 'The {field} field must contain only numbers.', 'matches' => 'The {field} field does not match the {param} field.',
'integer' => 'The {field} field must contain an integer.', 'max_length' => 'The {field} field cannot exceed {param} characters in length.',
'decimal' => 'The {field} field must contain a decimal number.', 'min_length' => 'The {field} field must be at least {param} characters in length.',
'natural' => 'The {field} field must contain only positive numbers.', 'not_in_list' => 'The {field} field must not be one of: {param}.',
'natural_no_zero' => 'The {field} field must contain a number greater than zero.', 'numeric' => 'The {field} field must contain only numeric characters.',
'in_list' => 'The {field} field must be one of the following: {param}.', 'permit_empty' => 'The {field} field may be empty.',
'regex_match' => 'The {field} field format is invalid.',
// File validation 'required' => 'The {field} field is required.',
'uploaded' => 'You must upload a file in the {field} field.', 'required_with' => 'The {field} field is required when {param} is present.',
'max_size' => 'The file in the {field} field must not exceed {param} kilobytes.', 'required_without' => 'The {field} field is required when {param} is absent.',
'is_image' => 'The file in the {field} field must be a valid image.', 'string' => 'The {field} field must be a string.',
'mime_in' => 'The file in the {field} field must be of type: {param}.', 'timezone' => 'The {field} field must be a valid timezone.',
'ext_in' => 'The file in the {field} field must have one of the following extensions: {param}.', 'valid_base64' => 'The {field} field must contain a valid Base64 string.',
'max_dims' => 'The image in the {field} field must not exceed the allowed dimensions: {param}.', 'valid_cc_number' => 'The {field} must be a valid credit card number for the specified provider.',
'valid_date' => 'The {field} field must contain a valid date in the format {param}.',
// Other 'valid_email' => 'The {field} field must contain a valid email address.',
'permit_empty' => 'The {field} field may be left empty.', 'valid_emails' => 'All values in the {field} field must be valid email addresses.',
'string' => 'The {field} field must be a text string.', 'valid_ip' => 'The {field} field must contain a valid {param} IP address.',
'is_unique' => 'The {field} value already exists in the system.', 'valid_json' => 'The {field} field must contain a valid JSON string.',
'valid_cc_number' => 'The {field} field does not contain a valid credit card number.', 'valid_url' => 'The {field} field must contain a valid URL.',
'regex_match' => 'The {field} field format is invalid.', 'valid_url_strict' => 'The {field} field must contain a valid URL using one of these schemas: {param}.',
]; ];