server/src/resources/lang/fr/validation.php
changeset 2 00e2916104fe
equal deleted inserted replaced
1:01a844d292ac 2:00e2916104fe
       
     1 <?php
       
     2 
       
     3 return [
       
     4 
       
     5     /*
       
     6     |--------------------------------------------------------------------------
       
     7     | Validation Language Lines
       
     8     |--------------------------------------------------------------------------
       
     9     |
       
    10     | The following language lines contain the default error messages used by
       
    11     | the validator class. Some of these rules have multiple versions such
       
    12     | as the size rules. Feel free to tweak each of these messages here.
       
    13     |
       
    14     */
       
    15 
       
    16     'accepted' => 'L\':attribute doit être accepté.',
       
    17     'active_url' => ':attribute n\'est pas une URL valide.',
       
    18     'after' => ':attribute doit être une date après :date.',
       
    19     'alpha' => ':attribute peut contenir uniquement des lettres.',
       
    20     'alpha_dash' => ':attribute ne peut contenir uniquement des lettres, chiffres et tiret.',
       
    21     'alpha_num' => ':attribute ne peut contenir que des lettres et des chiffres.',
       
    22     'array' => ':attribute doit être une liste.',
       
    23     'before' => ':attribute doit être une date avant :date.',
       
    24     'between' => [
       
    25         'numeric' => 'The :attribute must be between :min and :max.',
       
    26         'file' => 'The :attribute must be between :min and :max kilobytes.',
       
    27         'string' => 'The :attribute must be between :min and :max characters.',
       
    28         'array' => 'The :attribute must have between :min and :max items.',
       
    29     ],
       
    30     'boolean' => 'The :attribute field must be true or false.',
       
    31     'confirmed' => 'The :attribute confirmation does not match.',
       
    32     'date' => 'The :attribute is not a valid date.',
       
    33     'date_format' => 'The :attribute does not match the format :format.',
       
    34     'different' => 'The :attribute and :other must be different.',
       
    35     'digits' => 'The :attribute must be :digits digits.',
       
    36     'digits_between' => 'The :attribute must be between :min and :max digits.',
       
    37     'email' => 'The :attribute must be a valid email address.',
       
    38     'filled' => 'The :attribute field is required.',
       
    39     'exists' => 'The selected :attribute is invalid.',
       
    40     'image' => 'The :attribute must be an image.',
       
    41     'in' => 'The selected :attribute is invalid.',
       
    42     'integer' => 'The :attribute must be an integer.',
       
    43     'ip' => 'The :attribute must be a valid IP address.',
       
    44     'max' => [
       
    45         'numeric' => 'The :attribute may not be greater than :max.',
       
    46         'file' => 'The :attribute may not be greater than :max kilobytes.',
       
    47         'string' => 'The :attribute may not be greater than :max characters.',
       
    48         'array' => 'The :attribute may not have more than :max items.',
       
    49     ],
       
    50     'mimes' => 'The :attribute must be a file of type: :values.',
       
    51     'min' => [
       
    52         'numeric' => 'The :attribute must be at least :min.',
       
    53         'file' => 'The :attribute must be at least :min kilobytes.',
       
    54         'string' => 'The :attribute must be at least :min characters.',
       
    55         'array' => 'The :attribute must have at least :min items.',
       
    56     ],
       
    57     'not_in' => 'The selected :attribute is invalid.',
       
    58     'numeric' => 'The :attribute must be a number.',
       
    59     'regex' => 'The :attribute format is invalid.',
       
    60     'required' => 'The :attribute field is required.',
       
    61     'required_if' => 'The :attribute field is required when :other is :value.',
       
    62     'required_with' => 'The :attribute field is required when :values is present.',
       
    63     'required_with_all' => 'The :attribute field is required when :values is present.',
       
    64     'required_without' => 'The :attribute field is required when :values is not present.',
       
    65     'required_without_all' => 'The :attribute field is required when none of :values are present.',
       
    66     'same' => 'The :attribute and :other must match.',
       
    67     'size' => [
       
    68         'numeric' => 'The :attribute must be :size.',
       
    69         'file' => 'The :attribute must be :size kilobytes.',
       
    70         'string' => 'The :attribute must be :size characters.',
       
    71         'array' => 'The :attribute must contain :size items.',
       
    72     ],
       
    73     'unique' => 'The :attribute has already been taken.',
       
    74     'url' => 'The :attribute format is invalid.',
       
    75     'timezone' => 'The :attribute must be a valid zone.',
       
    76 
       
    77     /*
       
    78     |--------------------------------------------------------------------------
       
    79     | Custom Validation Language Lines
       
    80     |--------------------------------------------------------------------------
       
    81     |
       
    82     | Here you may specify custom validation messages for attributes using the
       
    83     | convention "attribute.rule" to name the lines. This makes it quick to
       
    84     | specify a specific custom language line for a given attribute rule.
       
    85     |
       
    86     */
       
    87 
       
    88     'custom' => [
       
    89         'attribute-name' => [
       
    90             'rule-name' => 'custom-message',
       
    91         ],
       
    92     ],
       
    93 
       
    94     /*
       
    95     |--------------------------------------------------------------------------
       
    96     | Custom Validation Attributes
       
    97     |--------------------------------------------------------------------------
       
    98     |
       
    99     | The following language lines are used to swap attribute place-holders
       
   100     | with something more reader friendly such as E-Mail Address instead
       
   101     | of "email". This simply helps us make messages a little cleaner.
       
   102     |
       
   103     */
       
   104 
       
   105     'attributes' => [],
       
   106 
       
   107 ];