mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-25 07:58:09 +08:00
109 lines
5.5 KiB
PHP
109 lines
5.5 KiB
PHP
<?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' => '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º.',
|
||
'array' => 'El :attribute debe de ser un array.',
|
||
'before' => 'El :attribute debe ser una fecha anterior a :date.',
|
||
'between' => [
|
||
'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.',
|
||
],
|
||
'boolean' => 'El campo :attribute debe ser true o false.',
|
||
'confirmed' => 'El :attribute confirmaciÃ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Ã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Ãn IP vÃlida.',
|
||
'max' => [
|
||
'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.',
|
||
],
|
||
'mimes' => ':attribute debe ser un fichero de tipo: :values.',
|
||
'min' => [
|
||
'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.',
|
||
],
|
||
'not_in' => ':attribute seleccionado es inválio.',
|
||
'numeric' => ':attribute debe ser numérico.',
|
||
'regex' => ':attribute con formato invÃlido',
|
||
'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' => [],
|
||
|
||
];
|