|
| 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 | + | such as the size rules. Feel free to tweak each of these messages. |
| 13 | + | |
| 14 | + */ |
| 15 | + |
| 16 | + "accepted" => ":attribute debe ser aceptado.", |
| 17 | + "active_url" => ":attribute no es una URL válida.", |
| 18 | + "after" => ":attribute debe ser una fecha posterior a :date.", |
| 19 | + "alpha" => ":attribute solo debe contener letras.", |
| 20 | + "alpha_dash" => ":attribute solo debe contener letras, números y guiones.", |
| 21 | + "alpha_num" => ":attribute solo debe contener letras y números.", |
| 22 | + "array" => ":attribute debe ser un conjunto.", |
| 23 | + "before" => ":attribute debe ser una fecha anterior a :date.", |
| 24 | + "between" => [ |
| 25 | + "numeric" => ":attribute tiene que estar entre :min - :max.", |
| 26 | + "file" => ":attribute debe pesar entre :min - :max kilobytes.", |
| 27 | + "string" => ":attribute tiene que tener entre :min - :max caracteres.", |
| 28 | + "array" => ":attribute tiene que tener entre :min - :max ítems.", |
| 29 | + ], |
| 30 | + "boolean" => "El campo :attribute debe tener un valor verdadero o falso.", |
| 31 | + "confirmed" => "La confirmación de :attribute no coincide.", |
| 32 | + "date" => ":attribute no es una fecha válida.", |
| 33 | + "date_format" => ":attribute no corresponde al formato :format.", |
| 34 | + "different" => ":attribute y :other deben ser diferentes.", |
| 35 | + "digits" => ":attribute debe tener :digits dígitos.", |
| 36 | + "digits_between" => ":attribute debe tener entre :min y :max dígitos.", |
| 37 | + "email" => ":attribute no es un correo válido", |
| 38 | + "exists" => ":attribute es inválido.", |
| 39 | + "filled" => "El campo :attribute es obligatorio.", |
| 40 | + "image" => ":attribute debe ser una imagen.", |
| 41 | + "in" => ":attribute es inválido.", |
| 42 | + "integer" => ":attribute debe ser un número entero.", |
| 43 | + "ip" => ":attribute debe ser una dirección IP válida.", |
| 44 | + "max" => [ |
| 45 | + "numeric" => ":attribute no debe ser mayor a :max.", |
| 46 | + "file" => ":attribute no debe ser mayor que :max kilobytes.", |
| 47 | + "string" => ":attribute no debe ser mayor que :max caracteres.", |
| 48 | + "array" => ":attribute no debe tener más de :max elementos.", |
| 49 | + ], |
| 50 | + "mimes" => ":attribute debe ser un archivo con formato: :values.", |
| 51 | + "min" => [ |
| 52 | + "numeric" => "El tamaño de :attribute debe ser de al menos :min.", |
| 53 | + "file" => "El tamaño de :attribute debe ser de al menos :min kilobytes.", |
| 54 | + "string" => ":attribute debe contener al menos :min caracteres.", |
| 55 | + "array" => ":attribute debe tener al menos :min elementos.", |
| 56 | + ], |
| 57 | + "not_in" => ":attribute es inválido.", |
| 58 | + "numeric" => ":attribute debe ser numérico.", |
| 59 | + "regex" => "El formato de :attribute es inválido.", |
| 60 | + "required" => "El campo :attribute es obligatorio.", |
| 61 | + "required_if" => "El campo :attribute es obligatorio cuando :other es :value.", |
| 62 | + "required_with" => "El campo :attribute es obligatorio cuando :values está presente.", |
| 63 | + "required_with_all" => "El campo :attribute es obligatorio cuando :values está presente.", |
| 64 | + "required_without" => "El campo :attribute es obligatorio cuando :values no está presente.", |
| 65 | + "required_without_all" => "El campo :attribute es obligatorio cuando ninguno de :values estén presentes.", |
| 66 | + "same" => ":attribute y :other deben coincidir.", |
| 67 | + "size" => [ |
| 68 | + "numeric" => "El tamaño de :attribute debe ser :size.", |
| 69 | + "file" => "El tamaño de :attribute debe ser :size kilobytes.", |
| 70 | + "string" => ":attribute debe contener :size caracteres.", |
| 71 | + "array" => ":attribute debe contener :size elementos.", |
| 72 | + ], |
| 73 | + "timezone" => "El :attribute debe ser una zona válida.", |
| 74 | + "unique" => ":attribute ya ha sido registrado.", |
| 75 | + "url" => "El formato :attribute es inválido.", |
| 76 | + |
| 77 | + /* |
| 78 | + |-------------------------------------------------------------------------- |
| 79 | + | Custom Validation Language Lines |
| 80 | + |-------------------------------------------------------------------------- |
| 81 | + | |
| 82 | + | Here you may specify custom validation messages for attributes using the |
| 83 | + | convention "attribute.rule" to name the lines. This makes it quick to |
| 84 | + | specify a specific custom language line for a given attribute rule. |
| 85 | + | |
| 86 | + */ |
| 87 | + |
| 88 | + 'custom' => [ |
| 89 | + 'attribute-name' => [ |
| 90 | + 'rule-name' => 'custom-message', |
| 91 | + ], |
| 92 | + ], |
| 93 | + |
| 94 | + /* |
| 95 | + |-------------------------------------------------------------------------- |
| 96 | + | Custom Validation Attributes |
| 97 | + |-------------------------------------------------------------------------- |
| 98 | + | |
| 99 | + | The following language lines are used to swap attribute place-holders |
| 100 | + | with something more reader friendly such as E-Mail Address instead |
| 101 | + | of "email". This simply helps us make messages a little cleaner. |
| 102 | + | |
| 103 | + */ |
| 104 | + |
| 105 | + 'attributes' => [], |
| 106 | + |
| 107 | +]; |
0 commit comments