|
| 1 | +<?php |
| 2 | + |
| 3 | +return [ |
| 4 | + /* |
| 5 | + |-------------------------------------------------------------------------- |
| 6 | + | Validation Language Lines |
| 7 | + |-------------------------------------------------------------------------- |
| 8 | + | |
| 9 | + | The following language lines contain the default error messages used by |
| 10 | + | the validator class. Some of these rules have multiple versions such |
| 11 | + | as the size rules. Feel free to tweak each of these messages. |
| 12 | + | |
| 13 | + */ |
| 14 | + |
| 15 | + 'accepted' => 'Le champ :attribute doit être accepté.', |
| 16 | + 'active_url' => "Le champ :attribute n'est pas une URL valide.", |
| 17 | + 'after' => 'Le champ :attribute doit être une date postérieure au :date.', |
| 18 | + 'after_or_equal' => 'Le champ :attribute doit être une date postérieure ou égale au :date.', |
| 19 | + 'alpha' => 'Le champ :attribute doit contenir uniquement des lettres.', |
| 20 | + 'alpha_dash' => 'Le champ :attribute doit contenir uniquement des lettres, des chiffres et des tirets.', |
| 21 | + 'alpha_num' => 'Le champ :attribute doit contenir uniquement des chiffres et des lettres.', |
| 22 | + 'array' => 'Le champ :attribute doit être un tableau.', |
| 23 | + 'before' => 'Le champ :attribute doit être une date antérieure au :date.', |
| 24 | + 'before_or_equal' => 'Le champ :attribute doit être une date antérieure ou égale au :date.', |
| 25 | + 'between' => [ |
| 26 | + 'numeric' => 'La valeur de :attribute doit être comprise entre :min et :max.', |
| 27 | + 'file' => 'La taille du fichier de :attribute doit être comprise entre :min et :max kilo-octets.', |
| 28 | + 'string' => 'Le texte :attribute doit contenir entre :min et :max caractères.', |
| 29 | + 'array' => 'Le tableau :attribute doit contenir entre :min et :max éléments.', |
| 30 | + ], |
| 31 | + 'boolean' => 'Le champ :attribute doit être vrai ou faux.', |
| 32 | + 'confirmed' => 'Le champ de confirmation :attribute ne correspond pas.', |
| 33 | + 'date' => "Le champ :attribute n'est pas une date valide.", |
| 34 | + 'date_equals' => 'Le champ :attribute doit être une date égale à :date.', |
| 35 | + 'date_format' => 'Le champ :attribute ne correspond pas au format :format.', |
| 36 | + 'different' => 'Les champs :attribute et :other doivent être différents.', |
| 37 | + 'digits' => 'Le champ :attribute doit contenir :digits chiffres.', |
| 38 | + 'digits_between' => 'Le champ :attribute doit contenir entre :min et :max chiffres.', |
| 39 | + 'dimensions' => "La taille de l'image :attribute n'est pas conforme.", |
| 40 | + 'distinct' => 'Le champ :attribute a une valeur en double.', |
| 41 | + 'email' => 'Le champ :attribute doit être une adresse email valide.', |
| 42 | + 'ends_with' => 'Le champ :attribute doit se terminer par une des valeurs suivantes : :values', |
| 43 | + 'exists' => 'Le champ :attribute sélectionné est invalide.', |
| 44 | + 'file' => 'Le champ :attribute doit être un fichier.', |
| 45 | + 'filled' => 'Le champ :attribute doit avoir une valeur.', |
| 46 | + 'gt' => [ |
| 47 | + 'numeric' => 'La valeur de :attribute doit être supérieure à :value.', |
| 48 | + 'file' => 'La taille du fichier de :attribute doit être supérieure à :value kilo-octets.', |
| 49 | + 'string' => 'Le texte :attribute doit contenir plus de :value caractères.', |
| 50 | + 'array' => 'Le tableau :attribute doit contenir plus de :value éléments.', |
| 51 | + ], |
| 52 | + 'gte' => [ |
| 53 | + 'numeric' => 'La valeur de :attribute doit être supérieure ou égale à :value.', |
| 54 | + 'file' => 'La taille du fichier de :attribute doit être supérieure ou égale à :value kilo-octets.', |
| 55 | + 'string' => 'Le texte :attribute doit contenir au moins :value caractères.', |
| 56 | + 'array' => 'Le tableau :attribute doit contenir au moins :value éléments.', |
| 57 | + ], |
| 58 | + 'image' => 'Le champ :attribute doit être une image.', |
| 59 | + 'in' => 'Le champ :attribute est invalide.', |
| 60 | + 'in_array' => "Le champ :attribute n'existe pas dans :other.", |
| 61 | + 'integer' => 'Le champ :attribute doit être un entier.', |
| 62 | + 'ip' => 'Le champ :attribute doit être une adresse IP valide.', |
| 63 | + 'ipv4' => 'Le champ :attribute doit être une adresse IPv4 valide.', |
| 64 | + 'ipv6' => 'Le champ :attribute doit être une adresse IPv6 valide.', |
| 65 | + 'json' => 'Le champ :attribute doit être un document JSON valide.', |
| 66 | + 'lt' => [ |
| 67 | + 'numeric' => 'La valeur de :attribute doit être inférieure à :value.', |
| 68 | + 'file' => 'La taille du fichier de :attribute doit être inférieure à :value kilo-octets.', |
| 69 | + 'string' => 'Le texte :attribute doit contenir moins de :value caractères.', |
| 70 | + 'array' => 'Le tableau :attribute doit contenir moins de :value éléments.', |
| 71 | + ], |
| 72 | + 'lte' => [ |
| 73 | + 'numeric' => 'La valeur de :attribute doit être inférieure ou égale à :value.', |
| 74 | + 'file' => 'La taille du fichier de :attribute doit être inférieure ou égale à :value kilo-octets.', |
| 75 | + 'string' => 'Le texte :attribute doit contenir au plus :value caractères.', |
| 76 | + 'array' => 'Le tableau :attribute doit contenir au plus :value éléments.', |
| 77 | + ], |
| 78 | + 'max' => [ |
| 79 | + 'numeric' => 'La valeur de :attribute ne peut être supérieure à :max.', |
| 80 | + 'file' => 'La taille du fichier de :attribute ne peut pas dépasser :max kilo-octets.', |
| 81 | + 'string' => 'Le texte de :attribute ne peut contenir plus de :max caractères.', |
| 82 | + 'array' => 'Le tableau :attribute ne peut contenir plus de :max éléments.', |
| 83 | + ], |
| 84 | + 'mimes' => 'Le champ :attribute doit être un fichier de type : :values.', |
| 85 | + 'mimetypes' => 'Le champ :attribute doit être un fichier de type : :values.', |
| 86 | + 'min' => [ |
| 87 | + 'numeric' => 'La valeur de :attribute doit être supérieure ou égale à :min.', |
| 88 | + 'file' => 'La taille du fichier de :attribute doit être supérieure à :min kilo-octets.', |
| 89 | + 'string' => 'Le texte :attribute doit contenir au moins :min caractères.', |
| 90 | + 'array' => 'Le tableau :attribute doit contenir au moins :min éléments.', |
| 91 | + ], |
| 92 | + 'multiple_of' => 'La valeur de :attribute doit être un multiple de :value', |
| 93 | + 'not_in' => "Le champ :attribute sélectionné n'est pas valide.", |
| 94 | + 'not_regex' => "Le format du champ :attribute n'est pas valide.", |
| 95 | + 'numeric' => 'Le champ :attribute doit contenir un nombre.', |
| 96 | + 'password' => 'Le mot de passe est incorrect', |
| 97 | + 'present' => 'Le champ :attribute doit être présent.', |
| 98 | + 'regex' => 'Le format du champ :attribute est invalide.', |
| 99 | + 'required' => 'Le champ :attribute est obligatoire.', |
| 100 | + 'required_if' => 'Le champ :attribute est obligatoire quand la valeur de :other est :value.', |
| 101 | + 'required_unless' => 'Le champ :attribute est obligatoire sauf si :other est :values.', |
| 102 | + 'required_with' => 'Le champ :attribute est obligatoire quand :values est présent.', |
| 103 | + 'required_with_all' => 'Le champ :attribute est obligatoire quand :values sont présents.', |
| 104 | + 'required_without' => "Le champ :attribute est obligatoire quand :values n'est pas présent.", |
| 105 | + 'required_without_all' => "Le champ :attribute est requis quand aucun de :values n'est présent.", |
| 106 | + 'same' => 'Les champs :attribute et :other doivent être identiques.', |
| 107 | + 'size' => [ |
| 108 | + 'numeric' => 'La valeur de :attribute doit être :size.', |
| 109 | + 'file' => 'La taille du fichier de :attribute doit être de :size kilo-octets.', |
| 110 | + 'string' => 'Le texte de :attribute doit contenir :size caractères.', |
| 111 | + 'array' => 'Le tableau :attribute doit contenir :size éléments.', |
| 112 | + ], |
| 113 | + 'starts_with' => 'Le champ :attribute doit commencer avec une des valeurs suivantes : :values', |
| 114 | + 'string' => 'Le champ :attribute doit être une chaîne de caractères.', |
| 115 | + 'timezone' => 'Le champ :attribute doit être un fuseau horaire valide.', |
| 116 | + 'unique' => 'La valeur du champ :attribute est déjà utilisée.', |
| 117 | + 'uploaded' => "Le fichier du champ :attribute n'a pu être téléversé.", |
| 118 | + 'url' => "Le format de l'URL de :attribute n'est pas valide.", |
| 119 | + 'uuid' => 'Le champ :attribute doit être un UUID valide', |
| 120 | + |
| 121 | + /* |
| 122 | + |-------------------------------------------------------------------------- |
| 123 | + | Custom Validation Language Lines |
| 124 | + |-------------------------------------------------------------------------- |
| 125 | + | |
| 126 | + | Here you may specify custom validation messages for attributes using the |
| 127 | + | convention "attribute.rule" to name the lines. This makes it quick to |
| 128 | + | specify a specific custom language line for a given attribute rule. |
| 129 | + | |
| 130 | + */ |
| 131 | + |
| 132 | + 'custom' => [ |
| 133 | + 'attribute-name' => [ |
| 134 | + 'rule-name' => 'custom-message', |
| 135 | + ], |
| 136 | + ], |
| 137 | + |
| 138 | + /* |
| 139 | + |-------------------------------------------------------------------------- |
| 140 | + | Custom Validation Attributes |
| 141 | + |-------------------------------------------------------------------------- |
| 142 | + | |
| 143 | + | The following language lines are used to swap attribute place-holders |
| 144 | + | with something more reader friendly such as E-Mail Address instead |
| 145 | + | of "email". This simply helps us make messages a little cleaner. |
| 146 | + | |
| 147 | + */ |
| 148 | + |
| 149 | + 'attributes' => [ |
| 150 | + 'name' => 'nom', |
| 151 | + 'username' => "nom d'utilisateur", |
| 152 | + 'email' => 'adresse email', |
| 153 | + 'first_name' => 'prénom', |
| 154 | + 'last_name' => 'nom', |
| 155 | + 'password' => 'mot de passe', |
| 156 | + 'password_confirmation' => 'confirmation du mot de passe', |
| 157 | + 'current_password' => 'mot de passe actuel', |
| 158 | + 'city' => 'ville', |
| 159 | + 'country' => 'pays', |
| 160 | + 'address' => 'adresse', |
| 161 | + 'phone' => 'téléphone', |
| 162 | + 'mobile' => 'portable', |
| 163 | + 'age' => 'âge', |
| 164 | + 'sex' => 'sexe', |
| 165 | + 'gender' => 'genre', |
| 166 | + 'day' => 'jour', |
| 167 | + 'month' => 'mois', |
| 168 | + 'year' => 'année', |
| 169 | + 'hour' => 'heure', |
| 170 | + 'minute' => 'minute', |
| 171 | + 'second' => 'seconde', |
| 172 | + 'title' => 'titre', |
| 173 | + 'content' => 'contenu', |
| 174 | + 'description' => 'description', |
| 175 | + 'excerpt' => 'extrait', |
| 176 | + 'date' => 'date', |
| 177 | + 'time' => 'heure', |
| 178 | + 'available' => 'disponible', |
| 179 | + 'size' => 'taille', |
| 180 | + ], |
| 181 | +]; |
0 commit comments