]> BookStack Code Mirror - bookstack/blob - lang/bs/validation.php
Followed Laravel 9 update steps and file changes
[bookstack] / lang / bs / 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 mora biti prihvaćen.',
12     'active_url'           => ':attribute nije ispravan URL.',
13     'after'                => ':attribute mora biti datum nakon :date.',
14     'alpha'                => ':attribute može sadržavati samo slova.',
15     'alpha_dash'           => ':attribute može sadržavati samo slova, brojeve, crtice i donje crtice.',
16     'alpha_num'            => ':attribute može sadržavati samo slova i brojeve.',
17     'array'                => ':attribute mora biti niz.',
18     'backup_codes'         => 'The provided code is not valid or has already been used.',
19     'before'               => ':attribute mora biti datum prije :date.',
20     'between'              => [
21         'numeric' => ':attribute mora biti između :min i :max.',
22         'file'    => ':attribute mora biti između :min i :max kilobajta.',
23         'string'  => ':attribute mora biti između :min i :max karaktera.',
24         'array'   => ':attribute mora imati između :min i :max stavki.',
25     ],
26     'boolean'              => ':attribute polje mora biti tačno ili netačno.',
27     'confirmed'            => ':attribute potvrda se ne slaže.',
28     'date'                 => ':attribute nije ispravan datum.',
29     'date_format'          => ':attribute ne odgovara formatu :format.',
30     'different'            => ':attribute i :other moraju biti različiti.',
31     'digits'               => ':attribute mora imati :digits brojeve.',
32     'digits_between'       => ':attribute mora imati između :min i :max brojeva.',
33     'email'                => ':attribute mora biti ispravna e-mail adresa.',
34     'ends_with' => ':attribute mora završavati sa jednom od sljedećih: :values',
35     'file'                 => 'The :attribute must be provided as a valid file.',
36     'filled'               => 'Polje :attribute je obavezno.',
37     'gt'                   => [
38         'numeric' => ':attribute mora biti veći od :value.',
39         'file'    => ':attribute mota biti veći od :value kilobajta.',
40         'string'  => ':attribute mora imati više od :value karaktera.',
41         'array'   => ':attribute mora imati više od :value stavki.',
42     ],
43     'gte'                  => [
44         'numeric' => ':attribute mora biti veći od ili jednak :value.',
45         'file'    => ':attribute mora imati više od ili jednako :value kilobajta.',
46         'string'  => ':attribute mora imati više od ili jednako :value karaktera.',
47         'array'   => ':attribute mora imati :value stavki ili više.',
48     ],
49     'exists'               => 'Odabrani :attribute je neispravan.',
50     'image'                => ':attribute mora biti slika.',
51     'image_extension'      => ':attribute mora imati ispravnu i podržanu ekstenziju slike.',
52     'in'                   => 'Odabrani :attribute je neispravan.',
53     'integer'              => ':attribute mora biti integer.',
54     'ip'                   => ':attribute mora biti ispravna IP adresa.',
55     'ipv4'                 => ':attribute mora biti ispravna IPv4 adresa.',
56     'ipv6'                 => ':attribute mora biti ispravna IPv6 adresa.',
57     'json'                 => ':attribute mora biti ispravan JSON string.',
58     'lt'                   => [
59         'numeric' => ':attribute mora biti manji od :value.',
60         'file'    => ':attribute mora imati manje od :value kilobajta.',
61         'string'  => ':attribute mora imati manje od :value karaktera.',
62         'array'   => ':attribute mora imati manje od :value stavki.',
63     ],
64     'lte'                  => [
65         'numeric' => ':attribute mora imati vrijednost manju od ili jednaku :value.',
66         'file'    => ':attribute mora imati manje od ili jednako :value kilobajta.',
67         'string'  => ':attribute mora imati manje od ili jednako :value karaktera.',
68         'array'   => ':attribute ne smije imati više od :value stavki.',
69     ],
70     'max'                  => [
71         'numeric' => ':attribute ne može biti veći od :max.',
72         'file'    => ':attribute ne može imati više od :max kilobajta.',
73         'string'  => ':attribute ne može imati više od :max karaktera.',
74         'array'   => ':attribute ne može imati više od :max stavki.',
75     ],
76     'mimes'                => ':attribute mora biti fajl vrste: values.',
77     'min'                  => [
78         'numeric' => ':attribute mora biti najmanje :min.',
79         'file'    => ':attribute mora imati najmanje :min kilobajta.',
80         'string'  => ':attribute mora imati najmanje :min karaktera.',
81         'array'   => ':attribute mora imati najmanje :min stavki.',
82     ],
83     'not_in'               => 'Odabrani :attribute je neispravan.',
84     'not_regex'            => 'Format :attribute je neispravan.',
85     'numeric'              => ':attribute mora biti broj.',
86     'regex'                => 'Format :attribute je neispravan.',
87     'required'             => 'Polje :attribute je obavezno.',
88     'required_if'          => 'Polje :attribute je obavezno kada :other ima vrijednost :value.',
89     'required_with'        => 'Polje :attribute je obavezno kada su prisutne :values.',
90     'required_with_all'    => 'Polje :attribute je obavezno kada su prisutne :values.',
91     'required_without'     => 'Polje :attribute je obavezno kada :values nisu prisutne.',
92     'required_without_all' => 'Polje :attribute je obavezno kada nijedno od :values nije prisutno.',
93     'same'                 => ':attribute i :other se moraju poklapati.',
94     'safe_url'             => 'Navedeni link možda nije siguran.',
95     'size'                 => [
96         'numeric' => ':attribute mora biti :size.',
97         'file'    => ':attribute mora imati :size kilobajta.',
98         'string'  => ':attribute mora imati :size karaktera.',
99         'array'   => ':attribute mora sadržavati :size stavki.',
100     ],
101     'string'               => ':attribute mora biti string.',
102     'timezone'             => ':attribute mora biti ispravna zona.',
103     'totp'                 => 'The provided code is not valid or has expired.',
104     'unique'               => ':attribute je zauzet.',
105     'url'                  => 'Format :attribute je neispravan.',
106     'uploaded'             => 'Fajl nije učitan. Server ne prihvata fajlove ove veličine.',
107
108     // Custom validation lines
109     'custom' => [
110         'password-confirm' => [
111             'required_with' => 'Zahtijeva se potvrda lozinke',
112         ],
113     ],
114
115     // Custom validation attributes
116     'attributes' => [],
117 ];