]> BookStack Code Mirror - bookstack/blob - lang/sv/validation.php
Merge pull request #5626 from BookStackApp/rubentalstra-development
[bookstack] / 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'         => 'Den angivna koden är inte giltig eller har redan använts.',
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     'file'                 => ':attribute måste anges som en giltig fil.',
36     'filled'               => ':attribute är obligatoriskt.',
37     'gt'                   => [
38         'numeric' => ':attribute måste vara större än :value.',
39         'file'    => ':attribute måste vara större än :value kilobytes.',
40         'string'  => ':attribute måste vara större än :value tecken.',
41         'array'   => ':attribute måste ha mer än :value objekt.',
42     ],
43     'gte'                  => [
44         'numeric' => ':attribute måste vara större än eller likamed :value.',
45         'file'    => ':attribute måste vara större än eller lika med :value kilobytes.',
46         'string'  => ':attribute måste vara större än eller lika med :value tecken.',
47         'array'   => ':attribute måste ha :value objekt eller mer.',
48     ],
49     'exists'               => 'Valt värde för :attribute är ogiltigt.',
50     'image'                => ':attribute måste vara en bild.',
51     'image_extension'      => ':attribute måste ha ett giltigt filtillägg.',
52     'in'                   => 'Vald :attribute är ogiltigt.',
53     'integer'              => ':attribute måste vara en integer.',
54     'ip'                   => ':attribute måste vara en giltig IP-adress.',
55     'ipv4'                 => ':attribute måste vara en giltig IPv4-adress.',
56     'ipv6'                 => ':attribute måste vara en giltig IPv6-adress.',
57     'json'                 => ':attribute måste vara en giltig JSON-sträng.',
58     'lt'                   => [
59         'numeric' => ':attribute måste vara mindre än :value.',
60         'file'    => ':attribute måste vara mindre än :value kilobytes.',
61         'string'  => ':attribute måste vara mindre än :value tecken.',
62         'array'   => ':attribute måste ha mindre än :value objekt.',
63     ],
64     'lte'                  => [
65         'numeric' => ':attribute måste vara mindre än eller lika :value.',
66         'file'    => ':attribute måste vara mindre än eller lika med :value kilobytes.',
67         'string'  => ':attribute måste vara mindre än eller lika med :value tecken.',
68         'array'   => ':attribute får inte innehålla mer än :max objekt.',
69     ],
70     'max'                  => [
71         'numeric' => ':attribute får inte vara större än :max.',
72         'file'    => ':attribute får inte vara större än :max kilobyte.',
73         'string'  => ':attribute får inte vara längre än :max tecken.',
74         'array'   => ':attribute får inte ha fler än :max poster.',
75     ],
76     'mimes'                => ':attribute måste vara en fil av typen: :values.',
77     'min'                  => [
78         'numeric' => ':attribute måste vara minst :min.',
79         'file'    => ':attribute måste vara minst :min kilobyte stor.',
80         'string'  => ':attribute måste vara minst :min tecken.',
81         'array'   => ':attribute måste ha minst :min poster.',
82     ],
83     'not_in'               => 'Vald :attribute är inte giltig',
84     'not_regex'            => 'Formatet på :attribute är ogiltigt.',
85     'numeric'              => ':attribute måste vara ett nummer.',
86     'regex'                => ':attribute har ett ogiltigt format.',
87     'required'             => ':attribute är obligatoriskt.',
88     'required_if'          => ':attribute är obligatoriskt när :other är :value.',
89     'required_with'        => ':attribute är obligatoriskt när :values finns.',
90     'required_with_all'    => ':attribute är obligatoriskt när :values finns.',
91     'required_without'     => ':attribute är obligatoriskt när :values inte finns.',
92     'required_without_all' => ':attribute är obligatirskt när ingen av :values finns.',
93     'same'                 => ':attribute och :other måste stämma överens.',
94     'safe_url'             => 'Den angivna länken kanske inte är säker.',
95     'size'                 => [
96         'numeric' => ':attribute måste vara :size.',
97         'file'    => ':attribute måste vara :size kilobyte.',
98         'string'  => ':attribute måste vara :size tecken.',
99         'array'   => ':attribute måste innehålla :size poster.',
100     ],
101     'string'               => ':attribute måste vara en sträng.',
102     'timezone'             => ':attribute måste vara en giltig tidszon.',
103     'totp'                 => 'Den angivna koden är inte giltig eller har löpt ut.',
104     'unique'               => ':attribute är upptaget',
105     'url'                  => 'Formatet på :attribute är ogiltigt.',
106     'uploaded'             => 'Filen kunde inte laddas upp. Servern kanske inte tillåter filer med denna storlek.',
107
108     'zip_file' => 'The :attribute needs to reference a file within the ZIP.',
109     'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.',
110     'zip_model_expected' => 'Data object expected but ":type" found.',
111     'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.',
112
113     // Custom validation lines
114     'custom' => [
115         'password-confirm' => [
116             'required_with' => 'Lösenordet måste bekräftas',
117         ],
118     ],
119
120     // Custom validation attributes
121     'attributes' => [],
122 ];
Morty Proxy This is a proxified and sanitized view of the page, visit original site.