]> BookStack Code Mirror - bookstack/blob - resources/lang/sv/validation.php
Update components.php
[bookstack] / resources / lang / sv / validation.php
1 <?php
2
3 return [
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     | as the size rules. Feel free to tweak each of these messages here.
13     |
14     */
15     'accepted'             => ':attribute måste godkännas.',
16     'active_url'           => ':attribute är inte en giltig URL.',
17     'after'                => ':attribute måste vara efter :date.',
18     'alpha'                => ':attribute får bara innehålla bokstäver.',
19     'alpha_dash'           => ':attribute får bara innehålla bokstäver, siffror och bindestreck.',
20     'alpha_num'            => ':attribute får bara innehålla bokstäver och siffror.',
21     'array'                => ':attribute måste vara en array.',
22     'before'               => ':attribute måste vara före :date.',
23     'between'              => [
24         'numeric' => ':attribute måste vara mellan :min och :max.',
25         'file'    => ':attribute måste vara mellan :min och :max kilobyte stor.',
26         'string'  => ':attribute måste vara mellan :min och :max tecken.',
27         'array'   => ':attribute måste innehålla mellan :min och :max poster.',
28     ],
29     'boolean'              => ':attribute måste vara sant eller falskt.',
30     'confirmed'            => 'Bekräftelsen av :attribute stämmer inte.',
31     'date'                 => ':attribute är inte ett giltigt datum.',
32     'date_format'          => ':attribute matchar inte formatet :format.',
33     'different'            => ':attribute och :other måste vara olika.',
34     'digits'               => ':attribute måste vara :digits siffror.',
35     'digits_between'       => ':attribute måste vara mellan :min och :max siffror.',
36     'email'                => ':attribute måste vara en giltig e-postadress.',
37     'filled'               => ':attribute är obligatoriskt.',
38     'exists'               => 'Valt värde för :attribute är ogiltigt.',
39     'image'                => ':attribute måste vara en bild.',
40     'image_extension'      => ':attribute måste ha ett giltigt filtillägg.',
41     'in'                   => 'Vald :attribute är ogiltigt.',
42     'integer'              => ':attribute måste vara en integer.',
43     'ip'                   => ':attribute måste vara en giltig IP-adress.',
44     'max'                  => [
45         'numeric' => ':attribute får inte vara större än :max.',
46         'file'    => ':attribute får inte vara större än :max kilobyte.',
47         'string'  => ':attribute får inte vara längre än :max tecken.',
48         'array'   => ':attribute får inte ha fler än :max poster.',
49     ],
50     'mimes'                => ':attribute måste vara en fil av typen: :values.',
51     'min'                  => [
52         'numeric' => ':attribute måste vara minst :min.',
53         'file'    => ':attribute måste vara minst :min kilobyte stor.',
54         'string'  => ':attribute måste vara minst :min tecken.',
55         'array'   => ':attribute måste ha minst :min poster.',
56     ],
57     'no_double_extension'  => ':attribute får bara ha ett filtillägg.',
58     'not_in'               => 'Vald :attribute är inte giltig',
59     'numeric'              => ':attribute måste vara ett nummer.',
60     'regex'                => ':attribute har ett ogiltigt format.',
61     'required'             => ':attribute är obligatoriskt.',
62     'required_if'          => ':attribute är obligatoriskt när :other är :value.',
63     'required_with'        => ':attribute är obligatoriskt när :values finns.',
64     'required_with_all'    => ':attribute är obligatoriskt när :values finns.',
65     'required_without'     => ':attribute är obligatoriskt när :values inte finns.',
66     'required_without_all' => ':attribute är obligatirskt när ingen av :values finns.',
67     'same'                 => ':attribute och :other måste stämma överens.',
68     'size'                 => [
69         'numeric' => ':attribute måste vara :size.',
70         'file'    => ':attribute måste vara :size kilobyte.',
71         'string'  => ':attribute måste vara :size tecken.',
72         'array'   => ':attribute måste innehålla :size poster.',
73     ],
74     'string'               => ':attribute måste vara en sträng.',
75     'timezone'             => ':attribute måste vara en giltig tidszon.',
76     'unique'               => ':attribute är upptaget',
77     'url'                  => 'Formatet på :attribute är ogiltigt.',
78     'uploaded'             => 'Filen kunde inte laddas upp. Servern kanske inte tillåter filer med denna storlek.',
79
80     /*
81     |--------------------------------------------------------------------------
82     | Custom Validation Language Lines
83     |--------------------------------------------------------------------------
84     |
85     | Here you may specify custom validation messages for attributes using the
86     | convention "attribute.rule" to name the lines. This makes it quick to
87     | specify a specific custom language line for a given attribute rule.
88     |
89     */
90     'custom' => [
91         'password-confirm' => [
92             'required_with' => 'Lösenordet måste bekräftas',
93         ],
94     ],
95
96     /*
97     |--------------------------------------------------------------------------
98     | Custom Validation Attributes
99     |--------------------------------------------------------------------------
100     |
101     | The following language lines are used to swap attribute place-holders
102     | with something more reader friendly such as E-Mail Address instead
103     | of "email". This simply helps us make messages a little cleaner.
104     |
105     */
106     'attributes' => [],
107
108 ];