|
| 1 | +<?php |
| 2 | + |
| 3 | +return [ |
| 4 | + 'accepted' => 'Le champ :attribute doit être accepté.', |
| 5 | + 'active_url' => 'Le champ :attribute n\'est pas une URL valide.', |
| 6 | + 'after' => 'Le champ :attribute doit être une date postérieure au :date.', |
| 7 | + 'after_or_equal' => 'Le champ :attribute doit être une date postérieure ou égale au :date.', |
| 8 | + 'alpha' => 'Le champ :attribute doit contenir uniquement des lettres.', |
| 9 | + 'alpha_dash' => 'Le champ :attribute doit contenir uniquement des lettres, des chiffres, des tirets et des underscores.', |
| 10 | + 'alpha_num' => 'Le champ :attribute doit contenir uniquement des lettres et des chiffres.', |
| 11 | + 'array' => 'Le champ :attribute doit être un tableau.', |
| 12 | + 'before' => 'Le champ :attribute doit être une date antérieure au :date.', |
| 13 | + 'before_or_equal' => 'Le champ :attribute doit être une date antérieure ou égale au :date.', |
| 14 | + 'between' => [ |
| 15 | + 'numeric' => 'La valeur de :attribute doit être comprise entre :min et :max.', |
| 16 | + 'file' => 'La taille du fichier de :attribute doit être comprise entre :min et :max kilo-octets.', |
| 17 | + 'string' => 'Le texte :attribute doit contenir entre :min et :max caractères.', |
| 18 | + 'array' => 'Le tableau :attribute doit contenir entre :min et :max éléments.', |
| 19 | + ], |
| 20 | + 'boolean' => 'Le champ :attribute doit être vrai ou faux.', |
| 21 | + 'confirmed' => 'Le champ de confirmation :attribute ne correspond pas.', |
| 22 | + 'date' => 'Le champ :attribute n\'est pas une date valide.', |
| 23 | + 'date_equals' => 'Le champ :attribute doit être une date égale à :date.', |
| 24 | + 'date_format' => 'Le champ :attribute ne correspond pas au format :format.', |
| 25 | + 'different' => 'Les champs :attribute et :other doivent être différents.', |
| 26 | + 'digits' => 'Le champ :attribute doit contenir :digits chiffres.', |
| 27 | + 'digits_between' => 'Le champ :attribute doit contenir entre :min et :max chiffres.', |
| 28 | + 'dimensions' => 'Les dimensions de l\'image :attribute ne sont pas valides.', |
| 29 | + 'distinct' => 'Le champ :attribute a une valeur en double.', |
| 30 | + 'email' => 'Le champ :attribute doit être une adresse e-mail valide.', |
| 31 | + 'ends_with' => 'Le champ :attribute doit se terminer par une des valeurs suivantes : :values.', |
| 32 | + 'exists' => 'Le champ :attribute sélectionné est invalide.', |
| 33 | + 'file' => 'Le champ :attribute doit être un fichier.', |
| 34 | + 'filled' => 'Le champ :attribute doit avoir une valeur.', |
| 35 | + 'gt' => [ |
| 36 | + 'numeric' => 'La valeur de :attribute doit être supérieure à :value.', |
| 37 | + 'file' => 'La taille du fichier de :attribute doit être supérieure à :value kilo-octets.', |
| 38 | + 'string' => 'Le texte :attribute doit contenir plus de :value caractères.', |
| 39 | + 'array' => 'Le tableau :attribute doit contenir plus de :value éléments.', |
| 40 | + ], |
| 41 | + 'gte' => [ |
| 42 | + 'numeric' => 'La valeur de :attribute doit être supérieure ou égale à :value.', |
| 43 | + 'file' => 'La taille du fichier de :attribute doit être supérieure ou égale à :value kilo-octets.', |
| 44 | + 'string' => 'Le texte :attribute doit contenir au moins :value caractères.', |
| 45 | + 'array' => 'Le tableau :attribute doit contenir au moins :value éléments.', |
| 46 | + ], |
| 47 | + 'image' => 'Le champ :attribute doit être une image.', |
| 48 | + 'in' => 'Le champ :attribute est invalide.', |
| 49 | + 'in_array' => 'Le champ :attribute n\'existe pas dans :other.', |
| 50 | + 'integer' => 'Le champ :attribute doit être un entier.', |
| 51 | + 'ip' => 'Le champ :attribute doit être une adresse IP valide.', |
| 52 | + 'ipv4' => 'Le champ :attribute doit être une adresse IPv4 valide.', |
| 53 | + 'ipv6' => 'Le champ :attribute doit être une adresse IPv6 valide.', |
| 54 | + 'json' => 'Le champ :attribute doit être un document JSON valide.', |
| 55 | + 'lt' => [ |
| 56 | + 'numeric' => 'La valeur de :attribute doit être inférieure à :value.', |
| 57 | + 'file' => 'La taille du fichier de :attribute doit être inférieure à :value kilo-octets.', |
| 58 | + 'string' => 'Le texte :attribute doit contenir moins de :value caractères.', |
| 59 | + 'array' => 'Le tableau :attribute doit contenir moins de :value éléments.', |
| 60 | + ], |
| 61 | + 'lte' => [ |
| 62 | + 'numeric' => 'La valeur de :attribute doit être inférieure ou égale à :value.', |
| 63 | + 'file' => 'La taille du fichier de :attribute doit être inférieure ou égale à :value kilo-octets.', |
| 64 | + 'string' => 'Le texte :attribute doit contenir au plus :value caractères.', |
| 65 | + 'array' => 'Le tableau :attribute doit contenir au plus :value éléments.', |
| 66 | + ], |
| 67 | + 'max' => [ |
| 68 | + 'numeric' => 'La valeur de :attribute ne peut être supérieure à :max.', |
| 69 | + 'file' => 'La taille du fichier de :attribute ne peut pas dépasser :max kilo-octets.', |
| 70 | + 'string' => 'Le texte de :attribute ne peut contenir plus de :max caractères.', |
| 71 | + 'array' => 'Le tableau :attribute ne peut contenir plus de :max éléments.', |
| 72 | + ], |
| 73 | + 'mimes' => 'Le champ :attribute doit être un fichier de type : :values.', |
| 74 | + 'mimetypes' => 'Le champ :attribute doit être un fichier de type : :values.', |
| 75 | + 'min' => [ |
| 76 | + 'numeric' => 'La valeur de :attribute doit être supérieure ou égale à :min.', |
| 77 | + 'file' => 'La taille du fichier de :attribute doit être supérieure à :min kilo-octets.', |
| 78 | + 'string' => 'Le texte :attribute doit contenir au moins :min caractères.', |
| 79 | + 'array' => 'Le tableau :attribute doit contenir au moins :min éléments.', |
| 80 | + ], |
| 81 | + 'multiple_of' => 'La valeur de :attribute doit être un multiple de :value', |
| 82 | + 'not_in' => 'Le champ :attribute sélectionné n\'est pas valide.', |
| 83 | + 'not_regex' => 'Le format du champ :attribute n\'est pas valide.', |
| 84 | + 'numeric' => 'Le champ :attribute doit contenir un nombre.', |
| 85 | + 'password' => 'Le mot de passe est incorrect.', |
| 86 | + 'present' => 'Le champ :attribute doit être présent.', |
| 87 | + 'regex' => 'Le format du champ :attribute est invalide.', |
| 88 | + 'required' => 'Le champ :attribute est obligatoire.', |
| 89 | + 'required_if' => 'Le champ :attribute est obligatoire quand :other est :value.', |
| 90 | + 'required_unless' => 'Le champ :attribute est obligatoire sauf si :other est :values.', |
| 91 | + 'required_with' => 'Le champ :attribute est obligatoire quand :values est présent.', |
| 92 | + 'required_with_all' => 'Le champ :attribute est obligatoire quand :values sont présents.', |
| 93 | + 'required_without' => 'Le champ :attribute est obligatoire quand :values n\'est pas présent.', |
| 94 | + 'required_without_all' => 'Le champ :attribute est requis quand aucun de :values n\'est présent.', |
| 95 | + 'same' => 'Les champs :attribute et :other doivent être identiques.', |
| 96 | + 'size' => [ |
| 97 | + 'numeric' => 'La valeur de :attribute doit être :size.', |
| 98 | + 'file' => 'La taille du fichier de :attribute doit être de :size kilo-octets.', |
| 99 | + 'string' => 'Le texte de :attribute doit contenir :size caractères.', |
| 100 | + 'array' => 'Le tableau :attribute doit contenir :size éléments.', |
| 101 | + ], |
| 102 | + 'starts_with' => 'Le champ :attribute doit commencer avec une des valeurs suivantes : :values.', |
| 103 | + 'string' => 'Le champ :attribute doit être une chaîne de caractères.', |
| 104 | + 'timezone' => 'Le champ :attribute doit être un fuseau horaire valide.', |
| 105 | + 'unique' => 'La valeur du champ :attribute est déjà utilisée.', |
| 106 | + 'uploaded' => 'Le fichier du champ :attribute n\'a pu être téléversé.', |
| 107 | + 'url' => 'Le format de l\'URL de :attribute n\'est pas valide.', |
| 108 | + 'uuid' => 'Le champ :attribute doit être un UUID valide.', |
| 109 | + |
| 110 | + 'custom' => [ |
| 111 | + 'attribute-name' => [ |
| 112 | + 'rule-name' => 'message-personnalisé', |
| 113 | + ], |
| 114 | + ], |
| 115 | + |
| 116 | + 'attributes' => [], |
| 117 | +]; |
0 commit comments