|
| 1 | +<?php |
| 2 | + |
| 3 | +return [ |
| 4 | + |
| 5 | + /* |
| 6 | + |-------------------------------------------------------------------------- |
| 7 | + | Validation Language Lines |
| 8 | + |-------------------------------------------------------------------------- |
| 9 | + | |
| 10 | + | The following language lines contain the default error messages used by |
| 11 | + | the validator class. Some of these rules have multiple versions such |
| 12 | + | as the size rules. Feel free to tweak each of these messages here. |
| 13 | + | |
| 14 | + */ |
| 15 | + return [ |
| 16 | + 'accepted' => 'El campo :attribute debe ser aceptado.', |
| 17 | + 'accepted_if' => 'El campo :attribute debe ser aceptado cuando :other es :value.', |
| 18 | + 'active_url' => 'El campo :attribute no es una URL válida.', |
| 19 | + 'after' => 'El campo :attribute debe ser una fecha posterior a :date.', |
| 20 | + 'after_or_equal' => 'El campo :attribute debe ser una fecha posterior o igual a :date.', |
| 21 | + 'alpha' => 'El campo :attribute solo debe contener letras.', |
| 22 | + 'alpha_dash' => 'El campo :attribute solo debe contener letras, números, guiones y guiones bajos.', |
| 23 | + 'alpha_num' => 'El campo :attribute solo debe contener letras y números.', |
| 24 | + 'array' => 'El campo :attribute debe ser un arreglo.', |
| 25 | + 'ascii' => 'El campo :attribute solo debe contener caracteres alfanuméricos de un solo byte y símbolos.', |
| 26 | + 'before' => 'El campo :attribute debe ser una fecha anterior a :date.', |
| 27 | + 'before_or_equal' => 'El campo :attribute debe ser una fecha anterior o igual a :date.', |
| 28 | + 'between' => [ |
| 29 | + 'array' => 'El campo :attribute debe tener entre :min y :max elementos.', |
| 30 | + 'file' => 'El campo :attribute debe tener entre :min y :max kilobytes.', |
| 31 | + 'numeric' => 'El campo :attribute debe estar entre :min y :max.', |
| 32 | + 'string' => 'El campo :attribute debe tener entre :min y :max caracteres.', |
| 33 | + ], |
| 34 | + 'boolean' => 'El campo :attribute debe ser verdadero o falso.', |
| 35 | + 'confirmed' => 'La confirmación del campo :attribute no coincide.', |
| 36 | + 'current_password' => 'La contraseña es incorrecta.', |
| 37 | + 'date' => 'El campo :attribute no es una fecha válida.', |
| 38 | + 'date_equals' => 'El campo :attribute debe ser una fecha igual a :date.', |
| 39 | + 'date_format' => 'El campo :attribute no coincide con el formato :format.', |
| 40 | + 'decimal' => 'El campo :attribute debe tener :decimal lugares decimales.', |
| 41 | + 'declined' => 'El campo :attribute debe ser rechazado.', |
| 42 | + 'declined_if' => 'El campo :attribute debe ser rechazado cuando :other es :value.', |
| 43 | + 'different' => 'El campo :attribute y :other deben ser diferentes.', |
| 44 | + 'digits' => 'El campo :attribute debe tener :digits dígitos.', |
| 45 | + 'digits_between' => 'El campo :attribute debe tener entre :min y :max dígitos.', |
| 46 | + 'dimensions' => 'El campo :attribute tiene dimensiones de imagen inválidas.', |
| 47 | + 'distinct' => 'El campo :attribute tiene un valor duplicado.', |
| 48 | + 'doesnt_end_with' => 'El campo :attribute no debe terminar con ninguno de los siguientes: :values.', |
| 49 | + 'doesnt_start_with' => 'El campo :attribute no debe comenzar con ninguno de los siguientes: :values.', |
| 50 | + 'email' => 'El campo :attribute debe ser una dirección de correo electrónico válida.', |
| 51 | + 'ends_with' => 'El campo :attribute debe terminar con uno de los siguientes: :values.', |
| 52 | + 'enum' => 'El :attribute seleccionado es inválido.', |
| 53 | + 'exists' => 'El :attribute seleccionado es inválido.', |
| 54 | + 'file' => 'El campo :attribute debe ser un archivo.', |
| 55 | + 'filled' => 'El campo :attribute debe tener un valor.', |
| 56 | + 'gt' => [ |
| 57 | + 'array' => 'El campo :attribute debe tener más de :value elementos.', |
| 58 | + 'file' => 'El campo :attribute debe ser mayor que :value kilobytes.', |
| 59 | + 'numeric' => 'El campo :attribute debe ser mayor que :value.', |
| 60 | + 'string' => 'El campo :attribute debe ser mayor que :value caracteres.', |
| 61 | + ], |
| 62 | + 'gte' => [ |
| 63 | + 'array' => 'El campo :attribute debe tener :value elementos o más.', |
| 64 | + 'file' => 'El campo :attribute debe ser mayor o igual que :value kilobytes.', |
| 65 | + 'numeric' => 'El campo :attribute debe ser mayor o igual que :value.', |
| 66 | + 'string' => 'El campo :attribute debe ser mayor o igual que :value caracteres.', |
| 67 | + ], |
| 68 | + 'image' => 'El campo :attribute debe ser una imagen.', |
| 69 | + 'in' => 'El :attribute seleccionado es inválido.', |
| 70 | + 'in_array' => 'El campo :attribute no existe en :other.', |
| 71 | + 'integer' => 'El campo :attribute debe ser un número entero.', |
| 72 | + 'ip' => 'El campo :attribute debe ser una dirección IP válida.', |
| 73 | + 'ipv4' => 'El campo :attribute debe ser una dirección IPv4 válida.', |
| 74 | + 'ipv6' => 'El campo :attribute debe ser una dirección IPv6 válida.', |
| 75 | + 'json' => 'El campo :attribute debe ser una cadena JSON válida.', |
| 76 | + 'lowercase' => 'El campo :attribute debe estar en minúsculas.', |
| 77 | + 'lt' => [ |
| 78 | + 'array' => 'El campo :attribute debe tener menos de :value elementos.', |
| 79 | + 'file' => 'El campo :attribute debe ser menor que :value kilobytes.', |
| 80 | + 'numeric' => 'El campo :attribute debe ser menor que :value.', |
| 81 | + 'string' => 'El campo :attribute debe ser menor que :value caracteres.', |
| 82 | + ], |
| 83 | + 'lte' => [ |
| 84 | + 'array' => 'El campo :attribute no debe tener más de :value elementos.', |
| 85 | + 'file' => 'El campo :attribute debe ser menor o igual que :value kilobytes.', |
| 86 | + 'numeric' => 'El campo :attribute debe ser menor o igual que :value.', |
| 87 | + 'string' => 'El campo :attribute debe ser menor o igual que :value caracteres.', |
| 88 | + ], |
| 89 | + 'mac_address' => 'El campo :attribute debe ser una dirección MAC válida.', |
| 90 | + 'max' => [ |
| 91 | + 'array' => 'El campo :attribute no debe tener más de :max elementos.', |
| 92 | + 'file' => 'El campo :attribute no debe ser mayor que :max kilobytes.', |
| 93 | + 'numeric' => 'El campo :attribute no debe ser mayor que :max.', |
| 94 | + 'string' => 'El campo :attribute no debe ser mayor que :max caracteres.', |
| 95 | + ], |
| 96 | + 'max_digits' => 'El campo :attribute no debe tener más de :max dígitos.', |
| 97 | + 'mimes' => 'El campo :attribute debe ser un archivo de tipo: :values.', |
| 98 | + 'mimetypes' => 'El campo :attribute debe ser un archivo de tipo: :values.', |
| 99 | + 'min' => [ |
| 100 | + 'array' => 'El campo :attribute debe tener al menos :min elementos.', |
| 101 | + 'file' => 'El campo :attribute debe ser al menos :min kilobytes.', |
| 102 | + 'numeric' => 'El campo :attribute debe ser al menos :min.', |
| 103 | + 'string' => 'El campo :attribute debe tener al menos :min caracteres.', |
| 104 | + ], |
| 105 | + 'min_digits' => 'El campo :attribute debe tener al menos :min dígitos.', |
| 106 | + 'missing' => 'El campo :attribute debe estar ausente.', |
| 107 | + 'missing_if' => 'El campo :attribute debe estar ausente cuando :other es :value.', |
| 108 | + 'missing_unless' => 'El campo :attribute debe estar ausente a menos que :other sea :value.', |
| 109 | + 'missing_with' => 'El campo :attribute debe estar ausente cuando :values está presente.', |
| 110 | + 'missing_with_all' => 'El campo :attribute debe estar ausente cuando :values están presentes.', |
| 111 | + 'multiple_of' => 'El campo :attribute debe ser un múltiplo de :value.', |
| 112 | + 'not_in' => 'El :attribute seleccionado es inválido.', |
| 113 | + 'not_regex' => 'El formato del campo :attribute es inválido.', |
| 114 | + 'numeric' => 'El campo :attribute debe ser un número.', |
| 115 | + 'password' => [ |
| 116 | + 'letters' => 'El campo :attribute debe contener al menos una letra.', |
| 117 | + 'mixed' => 'El campo :attribute debe contener al menos una letra mayúscula y una minúscula.', |
| 118 | + 'numbers' => 'El campo :attribute debe contener al menos un número.', |
| 119 | + 'symbols' => 'El campo :attribute debe contener al menos un símbolo.', |
| 120 | + 'uncompromised' => 'El :attribute proporcionado ha aparecido en una filtración de datos. Por favor, elija un :attribute diferente.', |
| 121 | + ], |
| 122 | + 'present' => 'El campo :attribute debe estar presente.', |
| 123 | + 'prohibited' => 'El campo :attribute está prohibido.', |
| 124 | + 'prohibited_if' => 'El campo :attribute está prohibido cuando :other es :value.', |
| 125 | + 'prohibited_unless' => 'El campo :attribute está prohibido a menos que :other esté en :values.', |
| 126 | + 'prohibits' => 'El campo :attribute prohíbe que :other esté presente.', |
| 127 | + 'regex' => 'El formato del campo :attribute es inválido.', |
| 128 | + 'required' => 'El campo :attribute es obligatorio.', |
| 129 | + 'required_array_keys' => 'El campo :attribute debe contener entradas para: :values.', |
| 130 | + 'required_if' => 'El campo :attribute es obligatorio cuando :other es :value.', |
| 131 | + 'required_if_accepted' => 'El campo :attribute es obligatorio cuando :other es aceptado.', |
| 132 | + 'required_unless' => 'El campo :attribute es obligatorio a menos que :other esté en :values.', |
| 133 | + 'required_with' => 'El campo :attribute es obligatorio cuando :values está presente.', |
| 134 | + 'required_with_all' => 'El campo :attribute es obligatorio cuando :values están presentes.', |
| 135 | + 'required_without' => 'El campo :attribute es obligatorio cuando :values no está presente.', |
| 136 | + 'required_without_all' => 'El campo :attribute es obligatorio cuando ninguno de los :values está presente.', |
| 137 | + 'same' => 'El campo :attribute debe coincidir con :other.', |
| 138 | + 'size' => [ |
| 139 | + 'array' => 'El campo :attribute debe contener :size elementos.', |
| 140 | + 'file' => 'El campo :attribute debe ser :size kilobytes.', |
| 141 | + 'numeric' => 'El campo :attribute debe ser :size.', |
| 142 | + 'string' => 'El campo :attribute debe tener :size caracteres.', |
| 143 | + ], |
| 144 | + 'starts_with' => 'El campo :attribute debe comenzar con uno de los siguientes: :values.', |
| 145 | + 'string' => 'El campo :attribute debe ser una cadena de texto.', |
| 146 | + 'timezone' => 'El campo :attribute debe ser una zona horaria válida.', |
| 147 | + 'unique' => 'El :attribute ya ha sido tomado.', |
| 148 | + 'uploaded' => 'El :attribute no se pudo subir.', |
| 149 | + 'uppercase' => 'El campo :attribute debe estar en mayúsculas.', |
| 150 | + 'url' => 'El campo :attribute debe ser una URL válida.', |
| 151 | + 'ulid' => 'El campo :attribute debe ser un ULID válido.', |
| 152 | + 'uuid' => 'El campo :attribute debe ser un UUID válido.', |
| 153 | + ]; |
| 154 | + |
| 155 | + /* |
| 156 | + |-------------------------------------------------------------------------- |
| 157 | + | Custom Validation Language Lines |
| 158 | + |-------------------------------------------------------------------------- |
| 159 | + | |
| 160 | + | Here you may specify custom validation messages for attributes using the |
| 161 | + | convention "attribute.rule" to name the lines. This makes it quick to |
| 162 | + | specify a specific custom language line for a given attribute rule. |
| 163 | + | |
| 164 | + */ |
| 165 | + |
| 166 | + 'custom' => [ |
| 167 | + 'attribute-name' => [ |
| 168 | + 'rule-name' => 'Mensaje-Personalizado', |
| 169 | + ], |
| 170 | + ], |
| 171 | + |
| 172 | + /* |
| 173 | + |-------------------------------------------------------------------------- |
| 174 | + | Custom Validation Attributes |
| 175 | + |-------------------------------------------------------------------------- |
| 176 | + | |
| 177 | + | The following language lines are used to swap our attribute placeholder |
| 178 | + | with something more reader friendly such as "E-Mail Address" instead |
| 179 | + | of "email". This simply helps us make our message more expressive. |
| 180 | + | |
| 181 | + */ |
| 182 | + |
| 183 | + 'attributes' => [], |
| 184 | + |
| 185 | +]; |
0 commit comments