]> BookStack Code Mirror - bookstack/blob - resources/lang/sv/validation.php
Default OpenID display name set to standard value
[bookstack] / resources / lang / sv / validation.php
1 <?php
2 /**
3  * Validation Lines
4  * The following language lines contain the default error messages used by
5  * the validator class. Some of these rules have multiple versions such
6  * as the size rules. Feel free to tweak each of these messages here.
7  */
8 return [
9
10     // Standard laravel validation lines
11     'accepted'             => ':attribute måste godkännas.',
12     'active_url'           => ':attribute är inte en giltig URL.',
13     'after'                => ':attribute måste vara efter :date.',
14     'alpha'                => ':attribute får bara innehålla bokstäver.',
15     'alpha_dash'           => ':attribute får bara innehålla bokstäver, siffror och bindestreck.',
16     'alpha_num'            => ':attribute får bara innehålla bokstäver och siffror.',
17     'array'                => ':attribute måste vara en array.',
18     'before'               => ':attribute måste vara före :date.',
19     'between'              => [
20         'numeric' => ':attribute måste vara mellan :min och :max.',
21         'file'    => ':attribute måste vara mellan :min och :max kilobyte stor.',
22         'string'  => ':attribute måste vara mellan :min och :max tecken.',
23         'array'   => ':attribute måste innehålla mellan :min och :max poster.',
24     ],
25     'boolean'              => ':attribute måste vara sant eller falskt.',
26     'confirmed'            => 'Bekräftelsen av :attribute stämmer inte.',
27     'date'                 => ':attribute är inte ett giltigt datum.',
28     'date_format'          => ':attribute matchar inte formatet :format.',
29     'different'            => ':attribute och :other måste vara olika.',
30     'digits'               => ':attribute måste vara :digits siffror.',
31     'digits_between'       => ':attribute måste vara mellan :min och :max siffror.',
32     'email'                => ':attribute måste vara en giltig e-postadress.',
33     'ends_with' => ':attribute måste sluta med något av följande: :values',
34     'filled'               => ':attribute är obligatoriskt.',
35     'gt'                   => [
36         'numeric' => ':attribute måste vara större än :value.',
37         'file'    => ':attribute måste vara större än :value kilobytes.',
38         'string'  => ':attribute måste vara större än :value tecken.',
39         'array'   => ':attribute måste ha mer än :value objekt.',
40     ],
41     'gte'                  => [
42         'numeric' => ':attribute måste vara större än eller likamed :value.',
43         'file'    => ':attribute måste vara större än eller lika med :value kilobytes.',
44         'string'  => ':attribute måste vara större än eller lika med :value tecken.',
45         'array'   => ':attribute måste ha :value objekt eller mer.',
46     ],
47     'exists'               => 'Valt värde för :attribute är ogiltigt.',
48     'image'                => ':attribute måste vara en bild.',
49     'image_extension'      => ':attribute måste ha ett giltigt filtillägg.',
50     'in'                   => 'Vald :attribute är ogiltigt.',
51     'integer'              => ':attribute måste vara en integer.',
52     'ip'                   => ':attribute måste vara en giltig IP-adress.',
53     'ipv4'                 => ':attribute måste vara en giltig IPv4-adress.',
54     'ipv6'                 => ':attribute måste vara en giltig IPv6-adress.',
55     'json'                 => ':attribute måste vara en giltig JSON-sträng.',
56     'lt'                   => [
57         'numeric' => ':attribute måste vara mindre än :value.',
58         'file'    => ':attribute måste vara mindre än :value kilobytes.',
59         'string'  => ':attribute måste vara mindre än :value tecken.',
60         'array'   => ':attribute måste ha mindre än :value objekt.',
61     ],
62     'lte'                  => [
63         'numeric' => ':attribute måste vara mindre än eller lika :value.',
64         'file'    => ':attribute måste vara mindre än eller lika med :value kilobytes.',
65         'string'  => ':attribute måste vara mindre än eller lika med :value tecken.',
66         'array'   => ':attribute får inte innehålla mer än :max objekt.',
67     ],
68     'max'                  => [
69         'numeric' => ':attribute får inte vara större än :max.',
70         'file'    => ':attribute får inte vara större än :max kilobyte.',
71         'string'  => ':attribute får inte vara längre än :max tecken.',
72         'array'   => ':attribute får inte ha fler än :max poster.',
73     ],
74     'mimes'                => ':attribute måste vara en fil av typen: :values.',
75     'min'                  => [
76         'numeric' => ':attribute måste vara minst :min.',
77         'file'    => ':attribute måste vara minst :min kilobyte stor.',
78         'string'  => ':attribute måste vara minst :min tecken.',
79         'array'   => ':attribute måste ha minst :min poster.',
80     ],
81     'no_double_extension'  => ':attribute får bara ha ett filtillägg.',
82     'not_in'               => 'Vald :attribute är inte giltig',
83     'not_regex'            => 'Formatet på :attribute är ogiltigt.',
84     'numeric'              => ':attribute måste vara ett nummer.',
85     'regex'                => ':attribute har ett ogiltigt format.',
86     'required'             => ':attribute är obligatoriskt.',
87     'required_if'          => ':attribute är obligatoriskt när :other är :value.',
88     'required_with'        => ':attribute är obligatoriskt när :values finns.',
89     'required_with_all'    => ':attribute är obligatoriskt när :values finns.',
90     'required_without'     => ':attribute är obligatoriskt när :values inte finns.',
91     'required_without_all' => ':attribute är obligatirskt när ingen av :values finns.',
92     'same'                 => ':attribute och :other måste stämma överens.',
93     'size'                 => [
94         'numeric' => ':attribute måste vara :size.',
95         'file'    => ':attribute måste vara :size kilobyte.',
96         'string'  => ':attribute måste vara :size tecken.',
97         'array'   => ':attribute måste innehålla :size poster.',
98     ],
99     'string'               => ':attribute måste vara en sträng.',
100     'timezone'             => ':attribute måste vara en giltig tidszon.',
101     'unique'               => ':attribute är upptaget',
102     'url'                  => 'Formatet på :attribute är ogiltigt.',
103     'uploaded'             => 'Filen kunde inte laddas upp. Servern kanske inte tillåter filer med denna storlek.',
104
105     // Custom validation lines
106     'custom' => [
107         'password-confirm' => [
108             'required_with' => 'Lösenordet måste bekräftas',
109         ],
110     ],
111
112     // Custom validation attributes
113     'attributes' => [],
114 ];