|
@@ -0,0 +1,122 @@
|
|
|
+<?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' => 'Las :attribute deben ser aceptadas.',
|
|
|
+ 'active_url' => 'La dirección :attribute no es una URL válida.',
|
|
|
+ 'after' => ':attribute debe ser una fecha posterior a :date.',
|
|
|
+ 'after_or_equal' => ':attribute debe ser una fecha posterior o igual a :date.',
|
|
|
+ 'alpha' => ':attribute debe contener únicamente letras.',
|
|
|
+ 'alpha_dash' => ':attribute solo debe contener letras, números y guiones.',
|
|
|
+ 'alpha_num' => ':attribute solo debe contener letras y números.',
|
|
|
+ 'array' => ':attribute debe ser una lista.',
|
|
|
+ 'before' => ':attribute debe ser una fecha anterior a :date.',
|
|
|
+ 'before_or_equal' => ':attribute debe ser una fecha anterior o igual a :date.',
|
|
|
+ 'between' => [
|
|
|
+ 'numeric' => ':attribute debe estar entre :min y :max.',
|
|
|
+ 'file' => ':attribute debe contener entre :min y :max kilobytes.',
|
|
|
+ 'string' => ':attribute debe contener :min y :max caracteres.',
|
|
|
+ 'array' => ':attribute debe contener :min y :max elementos.',
|
|
|
+ ],
|
|
|
+ 'boolean' => 'El campo :attribute debe ser verdadero o falso.',
|
|
|
+ 'confirmed' => 'La confirmación de :attribute no coincide.',
|
|
|
+ 'date' => ':attribute no es un formato válido de fecha.cd ',
|
|
|
+ 'date_format' => ':attribute no cumple con el formato :format.',
|
|
|
+ 'different' => ':attribute y :other deben ser distintos.',
|
|
|
+ 'digits' => ':attribute debe contener :digits digitos.',
|
|
|
+ 'digits_between' => ':attribute debe contener entre :min y :max digitos.',
|
|
|
+ 'dimensions' => ':attribute tiene unas dimensiones no válidas para la imagen.',
|
|
|
+ 'distinct' => 'El campo :attribute tiene un valor duplicado.',
|
|
|
+ 'email' => 'El campo :attribute debe ser un e-mail válido.',
|
|
|
+ 'exists' => 'El :attribute seleccionado no es válido.',
|
|
|
+ 'file' => 'El campo :attribute debe ser un archivo.',
|
|
|
+ 'filled' => 'El campo :attribute debe tener un valor válido.',
|
|
|
+ 'image' => 'El campo :attribute debe ser una imagen.',
|
|
|
+ 'in' => 'El elemento seleccionado :attribute no es válido.',
|
|
|
+ 'in_array' => 'El campo :attribute no existe en :other.',
|
|
|
+ 'integer' => 'El campo :attribute debe ser un entero.',
|
|
|
+ 'ip' => 'El campo :attribute debe ser una dirección IP válida.',
|
|
|
+ 'ipv4' => 'El campo :attribute debe ser una dirección IPv4 válida.',
|
|
|
+ 'ipv6' => 'El campo :attribute debe ser una dirección IPv6 válida.',
|
|
|
+ 'json' => 'El campo :attribute debe ser un JSON válido.',
|
|
|
+ 'max' => [
|
|
|
+ 'numeric' => ':attribute no debe ser mayor que :max.',
|
|
|
+ 'file' => ':attribute no debe tener más de :max kilobytes.',
|
|
|
+ 'string' => ':attribute no debe contener más de :max characters.',
|
|
|
+ 'array' => ':attribute no debe contene más de :max elementos.',
|
|
|
+ ],
|
|
|
+ 'mimes' => ':attribute debe ser un archivo de tipo: :values.',
|
|
|
+ 'mimetypes' => ':attribute debe ser un archivo de tipo: :values.',
|
|
|
+ 'min' => [
|
|
|
+ 'numeric' => ':attribute debe ser :min como mínimo.',
|
|
|
+ 'file' => ':attribute debe tener al menos :min kilobytes.',
|
|
|
+ 'string' => ':attribute debe contener al menos :min caracteres.',
|
|
|
+ 'array' => ':attribute debe contener al menos :min elementos.',
|
|
|
+ ],
|
|
|
+ 'not_in' => 'El elemento seleccionado :attribute no es valido.',
|
|
|
+ 'not_regex' => 'El formato de :attribute no es valido.',
|
|
|
+ 'numeric' => ':attribute debe ser un número.',
|
|
|
+ 'present' => 'El campo :attribute debe estar presente.',
|
|
|
+ 'regex' => 'El formato de :attribute no es valido.',
|
|
|
+ 'required' => 'El campo :attribute es obligatorio.',
|
|
|
+ 'required_if' => 'El campo :attribute es obligatorio cuando :other es :value.',
|
|
|
+ 'required_unless' => 'El campo :attribute es obligatorio a menos que :other sea :values.',
|
|
|
+ 'required_with' => 'El campo :attribute es obligatorio cuando :values está presente.',
|
|
|
+ 'required_with_all' => 'El campo :attribute es obligatorio cuando :values está presente.',
|
|
|
+ 'required_without' => 'El campo :attribute es obligatorio cuando :values no está presente.',
|
|
|
+ 'required_without_all' => 'El campo :attribute es obligatorio cuando ninguno de :values está presente.',
|
|
|
+ 'same' => ':attribute y :other deben coincidir.',
|
|
|
+ 'size' => [
|
|
|
+ 'numeric' => ':attribute debe ser :size.',
|
|
|
+ 'file' => ':attribute debe contener :size kilobytes.',
|
|
|
+ 'string' => ':attribute debe contener :size caracteres.',
|
|
|
+ 'array' => ':attribute debe contener :size elementos.',
|
|
|
+ ],
|
|
|
+ 'string' => ':attribute debe ser una cadena de texto.',
|
|
|
+ 'timezone' => ':attribute debe ser un uso horario valido.',
|
|
|
+ 'unique' => ':attribute no está disponible.',
|
|
|
+ 'uploaded' => ':attribute falló al subirse.',
|
|
|
+ 'url' => 'El formato de :attribute no es valido.',
|
|
|
+
|
|
|
+ /*
|
|
|
+ |--------------------------------------------------------------------------
|
|
|
+ | 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' => [
|
|
|
+ 'rule-name' => 'custom-message',
|
|
|
+ ],
|
|
|
+ ],
|
|
|
+
|
|
|
+ /*
|
|
|
+ |--------------------------------------------------------------------------
|
|
|
+ | 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' => [],
|
|
|
+
|
|
|
+];
|