|
| 1 | +<?php |
| 2 | + |
| 3 | +return array( |
| 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 | + | such as the size rules. Feel free to tweak each of these messages. |
| 13 | + | |
| 14 | + */ |
| 15 | + |
| 16 | + "accepted" => "The :attribute must be accepted.", |
| 17 | + "active_url" => "The :attribute is not a valid URL.", |
| 18 | + "after" => "The :attribute must be a date after :date.", |
| 19 | + "alpha" => "The :attribute may only contain letters.", |
| 20 | + "alpha_dash" => "The :attribute may only contain letters, numbers, and dashes.", |
| 21 | + "alpha_num" => "The :attribute may only contain letters and numbers.", |
| 22 | + "before" => "The :attribute must be a date before :date.", |
| 23 | + "between" => array( |
| 24 | + "numeric" => "The :attribute must be between :min - :max.", |
| 25 | + "file" => "The :attribute must be between :min - :max kilobytes.", |
| 26 | + "string" => "The :attribute must be between :min - :max characters.", |
| 27 | + ), |
| 28 | + "confirmed" => "The :attribute confirmation does not match.", |
| 29 | + "date" => "The :attribute is not a valid date.", |
| 30 | + "date_format" => "The :attribute does not match the format :format.", |
| 31 | + "different" => "The :attribute and :other must be different.", |
| 32 | + "digits" => "The :attribute must be :digits digits.", |
| 33 | + "digits_between" => "The :attribute must be between :min and :max digits.", |
| 34 | + "email" => "The :attribute format is invalid.", |
| 35 | + "exists" => "The selected :attribute is invalid.", |
| 36 | + "image" => "The :attribute must be an image.", |
| 37 | + "in" => "The selected :attribute is invalid.", |
| 38 | + "integer" => "The :attribute must be an integer.", |
| 39 | + "ip" => "The :attribute must be a valid IP address.", |
| 40 | + "max" => array( |
| 41 | + "numeric" => "The :attribute may not be greater than :max.", |
| 42 | + "file" => "The :attribute may not be greater than :max kilobytes.", |
| 43 | + "string" => "The :attribute may not be greater than :max characters.", |
| 44 | + ), |
| 45 | + "mimes" => "The :attribute must be a file of type: :values.", |
| 46 | + "min" => array( |
| 47 | + "numeric" => "The :attribute must be at least :min.", |
| 48 | + "file" => "The :attribute must be at least :min kilobytes.", |
| 49 | + "string" => "The :attribute must be at least :min characters.", |
| 50 | + ), |
| 51 | + "not_in" => "The selected :attribute is invalid.", |
| 52 | + "numeric" => "The :attribute must be a number.", |
| 53 | + "regex" => "The :attribute format is invalid.", |
| 54 | + "required" => "The :attribute field is required.", |
| 55 | + "required_if" => "The :attribute field is required when :other is :value.", |
| 56 | + "required_with" => "The :attribute field is required when :values is present.", |
| 57 | + "required_without" => "The :attribute field is required when :values is not present.", |
| 58 | + "same" => "The :attribute and :other must match.", |
| 59 | + "size" => array( |
| 60 | + "numeric" => "De :attribute moet :size zijn.", |
| 61 | + "file" => "De :attribute moet :size kilobytes groot zijn.", |
| 62 | + "string" => "De :attribute moet minstens :size karakters bevatten.", |
| 63 | + ), |
| 64 | + "unique" => "De :attribute is al bezet.", |
| 65 | + "url" => "De :attribute formaat is incorrect.", |
| 66 | + |
| 67 | + /* |
| 68 | + |-------------------------------------------------------------------------- |
| 69 | + | Custom Validation Language Lines |
| 70 | + |-------------------------------------------------------------------------- |
| 71 | + | |
| 72 | + | Here you may specify custom validation messages for attributes using the |
| 73 | + | convention "attribute.rule" to name the lines. This makes it quick to |
| 74 | + | specify a specific custom language line for a given attribute rule. |
| 75 | + | |
| 76 | + */ |
| 77 | + |
| 78 | + 'custom' => [ |
| 79 | + 'tags' => [ |
| 80 | + 'required' => 'U moet minstens één tag selecteren.', |
| 81 | + 'max_tags' => 'U kunt niet meer dan 3 tags gebruiken.', |
| 82 | + ], |
| 83 | + ], |
| 84 | + |
| 85 | + /* |
| 86 | + |-------------------------------------------------------------------------- |
| 87 | + | Custom Validation Attributes |
| 88 | + |-------------------------------------------------------------------------- |
| 89 | + | |
| 90 | + | The following language lines are used to swap attribute place-holders |
| 91 | + | with something more reader friendly such as E-Mail Address instead |
| 92 | + | of "email". This simply helps us make messages a little cleaner. |
| 93 | + | |
| 94 | + */ |
| 95 | + |
| 96 | + 'attributes' => array(), |
| 97 | + |
| 98 | +); |
0 commit comments