]> BookStack Code Mirror - bookstack/blob - resources/lang/sv/validation.php
Added test for logical-theme-system command registration
[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     'backup_codes'         => 'The provided code is not valid or has already been used.',
19     'before'               => ':attribute måste vara före :date.',
20     'between'              => [
21         'numeric' => ':attribute måste vara mellan :min och :max.',
22         'file'    => ':attribute måste vara mellan :min och :max kilobyte stor.',
23         'string'  => ':attribute måste vara mellan :min och :max tecken.',
24         'array'   => ':attribute måste innehålla mellan :min och :max poster.',
25     ],
26     'boolean'              => ':attribute måste vara sant eller falskt.',
27     'confirmed'            => 'Bekräftelsen av :attribute stämmer inte.',
28     'date'                 => ':attribute är inte ett giltigt datum.',
29     'date_format'          => ':attribute matchar inte formatet :format.',
30     'different'            => ':attribute och :other måste vara olika.',
31     'digits'               => ':attribute måste vara :digits siffror.',
32     'digits_between'       => ':attribute måste vara mellan :min och :max siffror.',
33     'email'                => ':attribute måste vara en giltig e-postadress.',
34     'ends_with' => ':attribute måste sluta med något av följande: :values',
35     'filled'               => ':attribute är obligatoriskt.',
36     'gt'                   => [
37         'numeric' => ':attribute måste vara större än :value.',
38         'file'    => ':attribute måste vara större än :value kilobytes.',
39         'string'  => ':attribute måste vara större än :value tecken.',
40         'array'   => ':attribute måste ha mer än :value objekt.',
41     ],
42     'gte'                  => [
43         'numeric' => ':attribute måste vara större än eller likamed :value.',
44         'file'    => ':attribute måste vara större än eller lika med :value kilobytes.',
45         'string'  => ':attribute måste vara större än eller lika med :value tecken.',
46         'array'   => ':attribute måste ha :value objekt eller mer.',
47     ],
48     'exists'               => 'Valt värde för :attribute är ogiltigt.',
49     'image'                => ':attribute måste vara en bild.',
50     'image_extension'      => ':attribute måste ha ett giltigt filtillägg.',
51     'in'                   => 'Vald :attribute är ogiltigt.',
52     'integer'              => ':attribute måste vara en integer.',
53     'ip'                   => ':attribute måste vara en giltig IP-adress.',
54     'ipv4'                 => ':attribute måste vara en giltig IPv4-adress.',
55     'ipv6'                 => ':attribute måste vara en giltig IPv6-adress.',
56     'json'                 => ':attribute måste vara en giltig JSON-sträng.',
57     'lt'                   => [
58         'numeric' => ':attribute måste vara mindre än :value.',
59         'file'    => ':attribute måste vara mindre än :value kilobytes.',
60         'string'  => ':attribute måste vara mindre än :value tecken.',
61         'array'   => ':attribute måste ha mindre än :value objekt.',
62     ],
63     'lte'                  => [
64         'numeric' => ':attribute måste vara mindre än eller lika :value.',
65         'file'    => ':attribute måste vara mindre än eller lika med :value kilobytes.',
66         'string'  => ':attribute måste vara mindre än eller lika med :value tecken.',
67         'array'   => ':attribute får inte innehålla mer än :max objekt.',
68     ],
69     'max'                  => [
70         'numeric' => ':attribute får inte vara större än :max.',
71         'file'    => ':attribute får inte vara större än :max kilobyte.',
72         'string'  => ':attribute får inte vara längre än :max tecken.',
73         'array'   => ':attribute får inte ha fler än :max poster.',
74     ],
75     'mimes'                => ':attribute måste vara en fil av typen: :values.',
76     'min'                  => [
77         'numeric' => ':attribute måste vara minst :min.',
78         'file'    => ':attribute måste vara minst :min kilobyte stor.',
79         'string'  => ':attribute måste vara minst :min tecken.',
80         'array'   => ':attribute måste ha minst :min poster.',
81     ],
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     'safe_url'             => 'Den angivna länken kanske inte är säker.',
94     'size'                 => [
95         'numeric' => ':attribute måste vara :size.',
96         'file'    => ':attribute måste vara :size kilobyte.',
97         'string'  => ':attribute måste vara :size tecken.',
98         'array'   => ':attribute måste innehålla :size poster.',
99     ],
100     'string'               => ':attribute måste vara en sträng.',
101     'timezone'             => ':attribute måste vara en giltig tidszon.',
102     'totp'                 => 'The provided code is not valid or has expired.',
103     'unique'               => ':attribute är upptaget',
104     'url'                  => 'Formatet på :attribute är ogiltigt.',
105     'uploaded'             => 'Filen kunde inte laddas upp. Servern kanske inte tillåter filer med denna storlek.',
106
107     // Custom validation lines
108     'custom' => [
109         'password-confirm' => [
110             'required_with' => 'Lösenordet måste bekräftas',
111         ],
112     ],
113
114     // Custom validation attributes
115     'attributes' => [],
116 ];