2017-09-24 17:42:02 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Validation Language Lines
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The following language lines contain the default error messages used by
|
|
|
|
| the validator class. Some of these rules have multiple versions such
|
|
|
|
| as the size rules. Feel free to tweak each of these messages here.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'accepted' => ':attribute debe ser aceptado.',
|
|
|
|
'active_url' => ':attribute no es una URL correcta.',
|
|
|
|
'after' => ':attribute debe ser posterior a :date.',
|
2017-11-30 12:20:15 +03:00
|
|
|
'after_or_equal' => ':attribute debe ser una fecha posterior o igual a :date.',
|
2017-09-24 17:42:02 +03:00
|
|
|
'alpha' => ':attribute solo acepta letras.',
|
|
|
|
'alpha_dash' => ':attribute solo acepta letras, números y guiones.',
|
|
|
|
'alpha_num' => ':attribute solo acepta letras y números.',
|
|
|
|
'array' => ':attribute debe ser un array.',
|
|
|
|
'before' => ':attribute debe ser anterior a :date.',
|
|
|
|
'before_or_equal' => ':attribute debe ser anterior o igual a :date.',
|
|
|
|
'between' => [
|
2017-11-30 12:20:15 +03:00
|
|
|
'numeric' => ':attribute debe estar entre :min y :max.',
|
2017-09-24 17:42:02 +03:00
|
|
|
'file' => ':attribute debe estar entre :min - :max kilobytes.',
|
|
|
|
'string' => ':attribute debe estar entre :min - :max caracteres.',
|
|
|
|
'array' => ':attribute debe tener entre :min y :max items.',
|
|
|
|
],
|
|
|
|
'boolean' => ':attribute debe ser verdadero o falso.',
|
|
|
|
'confirmed' => ':attribute la confirmación no coincide.',
|
|
|
|
'date' => ':attribute no es una fecha válida.',
|
|
|
|
'date_format' => ':attribute no cumple el formato :format.',
|
2019-11-23 21:53:25 +03:00
|
|
|
'different' => ':attribute y :other deben ser <strong>diferentes</strong>.',
|
2017-09-24 17:42:02 +03:00
|
|
|
'digits' => ':attribute debe tener :digits dígitos.',
|
|
|
|
'digits_between' => ':attribute debe tener entre :min y :max dígitos.',
|
|
|
|
'dimensions' => ':attribute tiene dimensiones de imagen no válido.',
|
|
|
|
'distinct' => ':attribute tiene un valor duplicado.',
|
2019-11-23 21:53:25 +03:00
|
|
|
'email' => ':attribute debe ser una <strong>dirección de correo electrónico</strong> válida.',
|
|
|
|
'ends_with' => ':attribute debe terminar con uno de los siguientes: :values',
|
2017-09-24 17:42:02 +03:00
|
|
|
'exists' => 'El :attribute seleccionado no es correcto.',
|
2019-11-23 21:53:25 +03:00
|
|
|
'file' => ':attribute debe ser un <strong>archivo</strong>.',
|
|
|
|
'filled' => ':attribute debe tener un <strong>valor</strong>.',
|
|
|
|
'image' => ':attribute debe ser una <strong>imagen</strong>.',
|
2017-09-24 17:42:02 +03:00
|
|
|
'in' => 'El :attribute seleccionado es inválido.',
|
|
|
|
'in_array' => ':attribute no existe en :other.',
|
2019-11-23 21:53:25 +03:00
|
|
|
'integer' => ':attribute debe ser un <strong>entero</strong>.',
|
2017-09-24 17:42:02 +03:00
|
|
|
'ip' => ':attribute debe ser una dirección IP válida.',
|
|
|
|
'json' => ':attribute debe ser una cadena JSON válida.',
|
|
|
|
'max' => [
|
|
|
|
'numeric' => ':attribute no debe ser mayor que :max.',
|
|
|
|
'file' => ':attribute no debe ser mayor que :max kilobytes.',
|
|
|
|
'string' => ':attribute no debe tener como máximo :max caracteres.',
|
|
|
|
'array' => ':attribute no debe tener más de :max items.',
|
|
|
|
],
|
|
|
|
'mimes' => ':attribute debe ser un archivo del tipo: :values.',
|
|
|
|
'mimetypes' => ':attribute debe ser un archivo del tipo: :values.',
|
|
|
|
'min' => [
|
|
|
|
'numeric' => ':attribute debe ser como mínimo :min.',
|
|
|
|
'file' => ':attribute debe ser como mínimo de :min kilobytes.',
|
|
|
|
'string' => ':attribute debe contener como mínimo :min caracteres.',
|
|
|
|
'array' => ':attribute debe contener como mínimo :min items.',
|
|
|
|
],
|
|
|
|
'not_in' => 'El :attribute seleccionado es inválido.',
|
|
|
|
'numeric' => ':attribute debe ser un número.',
|
2019-11-23 21:53:25 +03:00
|
|
|
'present' => ':attribute debe estar <strong>presente</strong>.',
|
|
|
|
'regex' => 'El formato de :attribute es <strong>inválido</strong>.',
|
|
|
|
'required' => 'El campo :attribute es <strong>obligatorio</strong>.',
|
2017-09-24 17:42:02 +03:00
|
|
|
'required_if' => ':attribute es obligatorio cuando :other es :value.',
|
|
|
|
'required_unless' => ':attribute es obligatorio a menos que :other esté en :values.',
|
|
|
|
'required_with' => ':attribute es obligatorio cuando :values está presente.',
|
|
|
|
'required_with_all' => ':attribute es obligatorio cuando :values está presente.',
|
|
|
|
'required_without' => ':attribute es obligatorio cuando :values no está presente.',
|
|
|
|
'required_without_all' => ':attribute es obligatorio cuando ningún :values está presente.',
|
|
|
|
'same' => ':attribute y :other deben coincidir.',
|
|
|
|
'size' => [
|
|
|
|
'numeric' => ':attribute debe ser :size.',
|
|
|
|
'file' => ':attribute debe tener :size kilobytes.',
|
2019-11-23 21:53:25 +03:00
|
|
|
'string' => ':attribute debe tener <strong>:size caracteres</strong>.',
|
2017-09-24 17:42:02 +03:00
|
|
|
'array' => ':attribute debe tener al menos :size items.',
|
|
|
|
],
|
2019-11-23 21:53:25 +03:00
|
|
|
'string' => ':attribute debe ser una <strong>cadena de caracteres</strong>.',
|
2017-09-24 17:42:02 +03:00
|
|
|
'timezone' => ':attribute debe ser una zona válida.',
|
2019-11-23 21:53:25 +03:00
|
|
|
'unique' => ':attribute ya ha sido <strong>tomado</strong>.',
|
|
|
|
'uploaded' => ':attribute <strong>falló</strong> al subirlo.',
|
|
|
|
'url' => 'El formato de :attribute es <strong>inválido</strong>.',
|
2017-09-24 17:42:02 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Custom Validation Language Lines
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here you may specify custom validation messages for attributes using the
|
|
|
|
| convention "attribute.rule" to name the lines. This makes it quick to
|
|
|
|
| specify a specific custom language line for a given attribute rule.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'custom' => [
|
|
|
|
'attribute-name' => [
|
2020-05-02 16:45:35 +03:00
|
|
|
'rule-name' => 'mensaje personalizado',
|
2017-09-24 17:42:02 +03:00
|
|
|
],
|
2020-05-02 16:45:35 +03:00
|
|
|
'invalid_currency' => 'El código de :attribute es incorrecto.',
|
|
|
|
'invalid_amount' => 'El monto :attribute es inválido.',
|
|
|
|
'invalid_extension' => 'La extensión del archivo no es válida.',
|
2017-09-24 17:42:02 +03:00
|
|
|
],
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Custom Validation Attributes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The following language lines are used to swap attribute place-holders
|
|
|
|
| with something more reader friendly such as E-Mail Address instead
|
|
|
|
| of "email". This simply helps us make messages a little cleaner.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'attributes' => [],
|
|
|
|
|
|
|
|
];
|