mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 10:49:10 -04:00
147 lines
7.9 KiB
PHP
147 lines
7.9 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' => "L' :attribute doit être accepter.",
|
|
'active_url' => "L' :attribute n'est pas une url valide.",
|
|
'after' => "L' :attribute doit être une date apres :date.",
|
|
'after_or_equal' => "L' :attribute doit être une date plus grande ou égale à :date.",
|
|
'alpha' => "L' :attribute doit seulement contenir des lettres.",
|
|
'alpha_dash' => "L' :attribute peut contenir seulement des nombres, lettres et symboles.",
|
|
'alpha_num' => "L' :attribute peut seulement contenir des nombres et des lettres.",
|
|
'array' => "L' :attribute must be an array.",
|
|
'before' => "L' :attribute doit être une date avant :date.",
|
|
'before_or_equal' => "L' :attribute doit être une date avant ou égale à :date.",
|
|
'between' => [
|
|
'numeric' => "L' :attribute doit être entre :min et :max.",
|
|
'file' => "L' :attribute doit être entre :min et :max kilobytes.",
|
|
'string' => "L' :attribute doit être entre :min et :max characters.",
|
|
'array' => "L' :attribute doit avoir entre :min et :max items.",
|
|
],
|
|
'boolean' => "L' :attribute champ doit être vrai ou faux.",
|
|
'confirmed' => "L' :attribute confirmation ne doit pas correspondre.",
|
|
'date' => "L' :attribute n'est pas une date valide.",
|
|
'date_format' => "L' :attribute does not match the format :format.",
|
|
'different' => "L' :attribute and :other must be different.",
|
|
'digits' => "L' :attribute must be :digits digits.",
|
|
'digits_between' => "L' :attribute must be between :min and :max digits.",
|
|
'dimensions' => "L' :attribute has invalid image dimensions.",
|
|
'distinct' => "L' :attribute field has a duplicate value.",
|
|
'email' => "L' :attribute must be a valid email address.",
|
|
'exists' => "L' selected :attribute is invalid.",
|
|
'file' => "L' :attribute must be a file.",
|
|
'filled' => "L' :attribute field must have a value.",
|
|
'gt' => [
|
|
'numeric' => "L' :attribute must be greater than :value.",
|
|
'file' => "L' :attribute must be greater than :value kilobytes.",
|
|
'string' => "L' :attribute must be greater than :value characters.",
|
|
'array' => "L' :attribute must have more than :value items.",
|
|
],
|
|
'gte' => [
|
|
'numeric' => "L' :attribute must be greater than or equal :value.",
|
|
'file' => "L' :attribute must be greater than or equal :value kilobytes.",
|
|
'string' => "L' :attribute must be greater than or equal :value characters.",
|
|
'array' => "L' :attribute must have :value items or more.",
|
|
],
|
|
'image' => "L' :attribute must be an image.",
|
|
'in' => "L' selected :attribute is invalid.",
|
|
'in_array' => "L' :attribute field does not exist in :other.",
|
|
'integer' => "L' :attribute must be an integer.",
|
|
'ip' => "L' :attribute must be a valid IP address.",
|
|
'ipv4' => "L' :attribute must be a valid IPv4 address.",
|
|
'ipv6' => "L' :attribute must be a valid IPv6 address.",
|
|
'json' => "L' :attribute must be a valid JSON string.",
|
|
'lt' => [
|
|
'numeric' => "L' :attribute must be less than :value.",
|
|
'file' => "L' :attribute must be less than :value kilobytes.",
|
|
'string' => "L' :attribute must be less than :value characters.",
|
|
'array' => "L' :attribute must have less than :value items.",
|
|
],
|
|
'lte' => [
|
|
'numeric' => "L' :attribute must be less than or equal :value.",
|
|
'file' => "L' :attribute must be less than or equal :value kilobytes.",
|
|
'string' => "L' :attribute must be less than or equal :value characters.",
|
|
'array' => "L' :attribute must not have more than :value items.",
|
|
],
|
|
'max' => [
|
|
'numeric' => "L' :attribute may not be greater than :max.",
|
|
'file' => "L' :attribute may not be greater than :max kilobytes.",
|
|
'string' => "L' :attribute may not be greater than :max characters.",
|
|
'array' => "L' :attribute may not have more than :max items.",
|
|
],
|
|
'mimes' => "L' :attribute must be a file of type: :values.",
|
|
'mimetypes' => "L' :attribute must be a file of type: :values.",
|
|
'min' => [
|
|
'numeric' => "L' :attribute must be at least :min.",
|
|
'file' => "L' :attribute must be at least :min kilobytes.",
|
|
'string' => "L' :attribute must be at least :min characters.",
|
|
'array' => "L' :attribute must have at least :min items.",
|
|
],
|
|
'not_in' => "L' selected :attribute is invalid.",
|
|
'not_regex' => "L' :attribute format is invalid.",
|
|
'numeric' => "L' :attribute must be a number.",
|
|
'present' => "L' :attribute field must be present.",
|
|
'regex' => "L' :attribute format is invalid.",
|
|
'required' => "L' :attribute field is required.",
|
|
'required_if' => "L' :attribute field is required when :other is :value.",
|
|
'required_unless' => "L' :attribute field is required unless :other is in :values.",
|
|
'required_with' => "L' :attribute field is required when :values is present.",
|
|
'required_with_all' => "L' :attribute field is required when :values is present.",
|
|
'required_without' => "L' :attribute field is required when :values is not present.",
|
|
'required_without_all' => "L' :attribute field is required when none of :values are present.",
|
|
'same' => "L' :attribute and :other must match.",
|
|
'size' => [
|
|
'numeric' => "L' :attribute must be :size.",
|
|
'file' => "L' :attribute must be :size kilobytes.",
|
|
'string' => "L' :attribute must be :size characters.",
|
|
'array' => "L' :attribute must contain :size items.",
|
|
],
|
|
'string' => "L' :attribute must be a string.",
|
|
'timezone' => "L' :attribute must be a valid zone.",
|
|
'unique' => "L' :attribute has already been taken.",
|
|
'uploaded' => "L' :attribute failed to upload.",
|
|
'url' => "L' :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' => [
|
|
'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' => [],
|
|
|
|
];
|