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