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
11
+ | by the validator class. Some of the rules contain multiple versions,
12
+ | such as the size (max, min, between) rules. These versions are used
13
+ | for different input types such as strings and files.
14
+ |
15
+ | These language lines may be easily changed to provide custom error
16
+ | messages in your application. Error messages for custom validation
17
+ | rules may also be added to this file.
18
+ |
19
+ */
20
+
21
+ "accepted " => ":attribute måste accepteras. " ,
22
+ "active_url " => ":attribute är inte en giltig webbadress. " ,
23
+ "after " => ":attribute måste vara ett datum efter den :date. " ,
24
+ "alpha " => ":attribute får endast innehålla bokstäver. " ,
25
+ "alpha_dash " => ":attribute får endast innehålla bokstäver, nummer och bindestreck. " ,
26
+ "alpha_num " => ":attribute får endast innehålla bokstäver och nummer. " ,
27
+ "array " => ":attribute måste ha valda element. " ,
28
+ "before " => ":attribute måste vara ett datum innan den :date. " ,
29
+ "between " => array (
30
+ "numeric " => ":attribute måste vara ett nummer mellan :min och :max. " ,
31
+ "file " => ":attribute måste vara mellan :min till :max kilobytes stor. " ,
32
+ "string " => ":attribute måste innehålla :min till :max tecken. " ,
33
+ ),
34
+ "confirmed " => ":attribute bekräftelsen matchar inte. " ,
35
+ "count " => ":attribute måste exakt ha :count valda element. " ,
36
+ "countbetween " => ":attribute får endast ha :min till :max valda element. " ,
37
+ "countmax " => ":attribute får max ha :max valda element. " ,
38
+ "countmin " => ":attribute måste minst ha :min valda element. " ,
39
+ "different " => ":attribute och :other får ej vara lika. " ,
40
+ "email " => ":attribute formatet är ogiltig. " ,
41
+ "exists " => "Det valda :attribute är ogiltigt. " ,
42
+ "image " => ":attribute måste vara en bild. " ,
43
+ "in " => "Det valda :attribute är ogiltigt. " ,
44
+ "integer " => ":attribute måste vara en siffra. " ,
45
+ "ip " => ":attribute måste vara en giltig IP-adress. " ,
46
+ "match " => ":attribute formatet är ogiltig. " ,
47
+ "max " => array (
48
+ "numeric " => ":attribute får inte vara större än :max. " ,
49
+ "file " => ":attribute får max vara :max kilobytes stor. " ,
50
+ "string " => ":attribute får max innehålla :max tecken. " ,
51
+ ),
52
+ "mimes " => ":attribute måste vara en fil av typen: :values. " ,
53
+ "min " => array (
54
+ "numeric " => ":attribute måste vara större än :min. " ,
55
+ "file " => ":attribute måste minst vara :min kilobytes stor. " ,
56
+ "string " => ":attribute måste minst innehålla :min tecken. " ,
57
+ ),
58
+ "not_in " => "Det valda :attribute är ogiltigt. " ,
59
+ "numeric " => ":attribute måste vara ett nummer. " ,
60
+ "required " => ":attribute fältet är obligatoriskt. " ,
61
+ "same " => ":attribute och :other måste vara likadana. " ,
62
+ "size " => array (
63
+ "numeric " => ":attribute måste vara :size. " ,
64
+ "file " => ":attribute får endast vara :size kilobyte stor. " ,
65
+ "string " => ":attribute måste innehålla :size tecken. " ,
66
+ ),
67
+ "unique " => ":attribute används redan. " ,
68
+ "url " => ":attribute formatet är ogiltig " ,
69
+
70
+ /*
71
+ |--------------------------------------------------------------------------
72
+ | Custom Validation Language Lines
73
+ |--------------------------------------------------------------------------
74
+ |
75
+ | Here you may specify custom validation messages for attributes using the
76
+ | convention "attribute_rule" to name the lines. This helps keep your
77
+ | custom validation clean and tidy.
78
+ |
79
+ | So, say you want to use a custom validation message when validating that
80
+ | the "email" attribute is unique. Just add "email_unique" to this array
81
+ | with your custom message. The Validator will handle the rest!
82
+ |
83
+ */
84
+
85
+ 'custom ' => array (),
86
+
87
+ /*
88
+ |--------------------------------------------------------------------------
89
+ | Validation Attributes
90
+ |--------------------------------------------------------------------------
91
+ |
92
+ | The following language lines are used to swap attribute place-holders
93
+ | with something more reader friendly such as "E-Mail Address" instead
94
+ | of "email". Your users will thank you.
95
+ |
96
+ | The Validator class will automatically search this array of lines it
97
+ | is attempting to replace the :attribute place-holder in messages.
98
+ | It's pretty slick. We think you'll like it.
99
+ |
100
+ */
101
+
102
+ 'attributes ' => array (),
103
+
104
+ );
0 commit comments