2017-03-03 00:21:33 +01: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.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2017-04-06 09:35:24 +02:00
|
|
|
|
'accepted' => 'El :attribute debe ser aceptado.',
|
|
|
|
|
'active_url' => 'El :attribute no es una URl v<>lida.',
|
|
|
|
|
'after' => 'El :attribute debe ser una fecha posterior :date.',
|
|
|
|
|
'alpha' => 'El :attribute solo puede contener letras.',
|
|
|
|
|
'alpha_dash' => 'El :attribute s<>lo puede contener letras, n<>meros y guiones.',
|
|
|
|
|
'alpha_num' => 'El :attribute s<>lo puede contener letras y n<>meros<6F>.',
|
|
|
|
|
'array' => 'El :attribute debe de ser un array.',
|
|
|
|
|
'before' => 'El :attribute debe ser una fecha anterior a :date.',
|
2017-03-03 00:21:33 +01:00
|
|
|
|
'between' => [
|
2017-04-06 09:35:24 +02:00
|
|
|
|
'numeric' => 'El :attribute debe estar entre :min y :max.',
|
|
|
|
|
'file' => 'El :attribute debe estar entre :min y :max kilobytes.',
|
|
|
|
|
'string' => 'El :attribute debe estar entre :min y :max carácteres.',
|
|
|
|
|
'array' => 'El :attribute debe estar entre :min y :max items.',
|
2017-03-03 00:21:33 +01:00
|
|
|
|
],
|
2017-04-06 09:35:24 +02:00
|
|
|
|
'boolean' => 'El campo :attribute debe ser true o false.',
|
|
|
|
|
'confirmed' => 'El :attribute confirmaci<63>n no concuerda.',
|
|
|
|
|
'date' => 'El :attribute no es una fecha v<>lida.',
|
|
|
|
|
'date_format' => 'El :attribute no coincide con el formato :format.',
|
|
|
|
|
'different' => ':attribute y :other deben ser diferentes.',
|
|
|
|
|
'digits' => ':attribute debe ser de :digits dígitos.',
|
|
|
|
|
'digits_between' => ':attribute debe ser un valor entre :min y :max dígios.',
|
|
|
|
|
'email' => ':attribute debe ser una direcci<63>n v<>lida.',
|
|
|
|
|
'filled' => 'El campo :attribute es requerido.',
|
|
|
|
|
'exists' => 'El :attribute seleccionado es inválido.',
|
|
|
|
|
'image' => 'El :attribute debe ser una imagen.',
|
|
|
|
|
'in' => 'El selected :attribute es inválio.',
|
|
|
|
|
'integer' => 'El :attribute debe ser un entero.',
|
|
|
|
|
'ip' => 'El :attribute debe ser una direcci<63>n IP v<>lida.',
|
2017-03-03 00:21:33 +01:00
|
|
|
|
'max' => [
|
2017-04-06 09:35:24 +02:00
|
|
|
|
'numeric' => ':attribute no puede ser mayor que :max.',
|
|
|
|
|
'file' => ':attribute no puede ser mayor que :max kilobytes.',
|
|
|
|
|
'string' => ':attribute no puede ser mayor que :max carácteres.',
|
|
|
|
|
'array' => ':attribute no puede contener m<>s de :max items.',
|
2017-03-03 00:21:33 +01:00
|
|
|
|
],
|
2017-04-06 09:35:24 +02:00
|
|
|
|
'mimes' => ':attribute debe ser un fichero de tipo: :values.',
|
2017-03-03 00:21:33 +01:00
|
|
|
|
'min' => [
|
2017-04-06 09:35:24 +02:00
|
|
|
|
'numeric' => ':attribute debe ser al menos de :min.',
|
|
|
|
|
'file' => ':attribute debe ser al menos :min kilobytes.',
|
|
|
|
|
'string' => ':attribute debe ser al menos :min caracteres.',
|
|
|
|
|
'array' => ':attribute debe tener como m<>nimo :min items.',
|
2017-03-03 00:21:33 +01:00
|
|
|
|
],
|
2017-04-06 09:35:24 +02:00
|
|
|
|
'not_in' => ':attribute seleccionado es inválio.',
|
|
|
|
|
'numeric' => ':attribute debe ser numérico.',
|
|
|
|
|
'regex' => ':attribute con formato inv<6E>lido',
|
2017-03-03 00:21:33 +01:00
|
|
|
|
'required' => 'The :attribute field is required.',
|
|
|
|
|
'required_if' => 'The :attribute field is required when :other is :value.',
|
|
|
|
|
'required_with' => 'The :attribute field is required when :values is present.',
|
|
|
|
|
'required_with_all' => 'The :attribute field is required when :values is present.',
|
|
|
|
|
'required_without' => 'The :attribute field is required when :values is not present.',
|
|
|
|
|
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
|
|
|
|
'same' => 'The :attribute and :other must match.',
|
|
|
|
|
'size' => [
|
|
|
|
|
'numeric' => 'The :attribute must be :size.',
|
|
|
|
|
'file' => 'The :attribute must be :size kilobytes.',
|
|
|
|
|
'string' => 'The :attribute must be :size characters.',
|
|
|
|
|
'array' => 'The :attribute must contain :size items.',
|
|
|
|
|
],
|
|
|
|
|
'string' => 'The :attribute must be a string.',
|
|
|
|
|
'timezone' => 'The :attribute must be a valid zone.',
|
|
|
|
|
'unique' => 'The :attribute has already been taken.',
|
|
|
|
|
'url' => 'The :attribute format is invalid.',
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| 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' => [
|
|
|
|
|
'password-confirm' => [
|
|
|
|
|
'required_with' => 'Password confirmation required',
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| 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' => [],
|
|
|
|
|
|
|
|
|
|
];
|