]> BookStack Code Mirror - bookstack/blob - resources/lang/ca/validation.php
Started work on details/summary blocks
[bookstack] / resources / lang / ca / 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'             => 'Cal que acceptis :attribute.',
12     'active_url'           => 'L\':attribute no és un URL vàlid.',
13     'after'                => 'El camp :attribute ha de ser una data posterior a :date.',
14     'alpha'                => 'El camp :attribute només pot contenir lletres.',
15     'alpha_dash'           => 'El camp :attribute només pot contenir lletres, números, guions i guions baixos.',
16     'alpha_num'            => 'El camp :attribute només pot contenir lletres i números.',
17     'array'                => 'El camp :attribute ha de ser un vector.',
18     'backup_codes'         => 'The provided code is not valid or has already been used.',
19     'before'               => 'El camp :attribute ha de ser una data anterior a :date.',
20     'between'              => [
21         'numeric' => 'El camp :attribute ha d\'estar entre :min i :max.',
22         'file'    => 'El camp :attribute ha de tenir entre :min i :max kilobytes.',
23         'string'  => 'El camp :attribute ha de tenir entre :min i :max caràcters.',
24         'array'   => 'El camp :attribute ha de tenir entre :min i :max elements.',
25     ],
26     'boolean'              => 'El camp :attribute ha de ser cert o fals.',
27     'confirmed'            => 'La confirmació del camp :attribute no coincideix.',
28     'date'                 => 'El camp :attribute no és una data vàlida.',
29     'date_format'          => 'El camp :attribute no coincideix amb el format :format.',
30     'different'            => 'Els camps :attribute i :other han de ser diferents.',
31     'digits'               => 'El camp :attribute ha de tenir :digits dígits.',
32     'digits_between'       => 'El camp :attribute ha de tenir entre :min i :max dígits.',
33     'email'                => 'El camp :attribute ha de ser una adreça electrònica vàlida.',
34     'ends_with' => 'El camp :attribute ha d\'acabar amb un dels següents valors: :values',
35     'filled'               => 'El camp :attribute és obligatori.',
36     'gt'                   => [
37         'numeric' => 'El camp :attribute ha de ser més gran que :value.',
38         'file'    => 'El camp :attribute ha de tenir més de :value kilobytes.',
39         'string'  => 'El camp :attribute ha de tenir més de :value caràcters.',
40         'array'   => 'El camp :attribute ha de tenir més de :value elements.',
41     ],
42     'gte'                  => [
43         'numeric' => 'El camp :attribute ha de ser més gran o igual que :value.',
44         'file'    => 'El camp :attribute ha de tenir :value kilobytes o més.',
45         'string'  => 'El camp :attribute ha de tenir :value caràcters o més.',
46         'array'   => 'El camp :attribute ha de tenir :value elements o més.',
47     ],
48     'exists'               => 'El camp :attribute no és vàlid.',
49     'image'                => 'El camp :attribute ha de ser una imatge.',
50     'image_extension'      => 'El camp :attribute ha de tenir una extensió d\'imatge vàlida i suportada.',
51     'in'                   => 'El camp :attribute seleccionat no és vàlid.',
52     'integer'              => 'El camp :attribute ha de ser un enter.',
53     'ip'                   => 'El camp :attribute ha de ser una adreça IP vàlida.',
54     'ipv4'                 => 'El camp :attribute ha de ser una adreça IPv4 vàlida.',
55     'ipv6'                 => 'El camp :attribute ha de ser una adreça IPv6 vàlida.',
56     'json'                 => 'El camp :attribute ha de ser una cadena JSON vàlida.',
57     'lt'                   => [
58         'numeric' => 'El camp :attribute ha de ser menor que :value.',
59         'file'    => 'El camp :attribute ha de tenir menys de :value kilobytes.',
60         'string'  => 'El camp :attribute ha de tenir menys de :value caràcters.',
61         'array'   => 'El camp :attribute ha de tenir menys de :value elements.',
62     ],
63     'lte'                  => [
64         'numeric' => 'El camp :attribute ha de ser més petit o igual que :value.',
65         'file'    => 'El camp :attribute ha de tenir :value kilobytes o menys.',
66         'string'  => 'El camp :attribute ha de tenir :value caràcters o menys.',
67         'array'   => 'El camp :attribute ha de tenir :value elements o menys.',
68     ],
69     'max'                  => [
70         'numeric' => 'El camp :attribute no pot ser més gran que :max.',
71         'file'    => 'El camp :attribute no pot tenir més de :max kilobytes.',
72         'string'  => 'El camp :attribute no pot tenir més de :max caràcters.',
73         'array'   => 'El camp :attribute no pot tenir més de :max elements.',
74     ],
75     'mimes'                => 'El camp :attribute ha de ser un fitxer del tipus: :values.',
76     'min'                  => [
77         'numeric' => 'El camp :attribute no pot ser més petit que :min.',
78         'file'    => 'El camp :attribute no pot tenir menys de :min kilobytes.',
79         'string'  => 'El camp :attribute no pot tenir menys de :min caràcters.',
80         'array'   => 'El camp :attribute no pot tenir menys de :min elements.',
81     ],
82     'not_in'               => 'El camp :attribute seleccionat no és vàlid.',
83     'not_regex'            => 'El format del camp :attribute no és vàlid.',
84     'numeric'              => 'El camp :attribute ha de ser un número.',
85     'regex'                => 'El format del camp :attribute no és vàlid.',
86     'required'             => 'El camp :attribute és obligatori.',
87     'required_if'          => 'El camp :attribute és obligatori quan :other és :value.',
88     'required_with'        => 'El camp :attribute és obligatori quan hi ha aquest valor: :values.',
89     'required_with_all'    => 'El camp :attribute és obligatori quan hi ha algun d\'aquests valors: :values.',
90     'required_without'     => 'El camp :attribute és obligatori quan no hi ha aquest valor: :values.',
91     'required_without_all' => 'El camp :attribute és obligatori quan no hi ha cap d\'aquests valors: :values.',
92     'same'                 => 'Els camps :attribute i :other han de coincidir.',
93     'safe_url'             => 'L\'enllaç proporcionat podria no ser segur.',
94     'size'                 => [
95         'numeric' => 'El camp :attribute ha de ser :size.',
96         'file'    => 'El camp :attribute ha de tenir :size kilobytes.',
97         'string'  => 'El camp :attribute ha de tenir :size caràcters.',
98         'array'   => 'El camp :attribute ha de contenir :size elements.',
99     ],
100     'string'               => 'El camp :attribute ha de ser una cadena.',
101     'timezone'             => 'El camp :attribute ha de ser una zona vàlida.',
102     'totp'                 => 'The provided code is not valid or has expired.',
103     'unique'               => 'El camp :attribute ja està ocupat.',
104     'url'                  => 'El format del camp :attribute no és vàlid.',
105     'uploaded'             => 'No s\'ha pogut pujar el fitxer. És possible que el servidor no accepti fitxers d\'aquesta mida.',
106
107     // Custom validation lines
108     'custom' => [
109         'password-confirm' => [
110             'required_with' => 'Cal la confirmació de la contrasenya',
111         ],
112     ],
113
114     // Custom validation attributes
115     'attributes' => [],
116 ];