Blame view

resources/lang/hr-HR/validation.php 6.22 KB
b7c7a5f6   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
  <?php
  
  return [
  
      /*
      |--------------------------------------------------------------------------
      | Validation Language Lines
      |--------------------------------------------------------------------------
      |
      | The following language lines contain the default error messages used by
      | the validator class. Some of these rules have multiple versions such
      | as the size rules. Feel free to tweak each of these messages here.
      |
      */
  
      'accepted'             => ':attribute mora biti prihvaćeno.',
      'active_url'           => ':attribute nije važeći URL.',
      'after'                => ':attribute mora biti datum nakon :date.',
      'after_or_equal'       => ':attribute mora biti datum nakon ili isti kao :date.',
      'alpha'                => ':attribute može sadržavati samo slova.',
      'alpha_dash'           => ':attribute može sadržavati samo slova, brojeve i crtice.',
      'alpha_num'            => ':attribute može sadržavati samo slova i brojeve.',
      'array'                => ':attribute mora biti polje.',
      'before'               => ':attribute mora biti datum prije :date.',
      'before_or_equal'      => ':attribute mora biti datum prije ili isti kao :date.',
      'between'              => [
          'numeric' => ':attribute mora biti između :min i :max.',
          'file'    => ':attribute mora biti između :min i :max kilobajta.',
          'string'  => ':attribute mora biti između :min i :max znakova.',
          'array'   => ':attribute mora imati između :min i :max stavki.',
      ],
      'boolean'              => 'Polje :attribute mora biti true ili false.',
      'confirmed'            => ':attribute potvrda se ne podudara.',
      'date'                 => ':attribute nije važeći datum.',
      'date_format'          => ':attribute ne odgovara formatu :format.',
      'different'            => ':attribute i :other moraju biti različiti.',
      'digits'               => ':attribute mora sadržavati :digits znamenki.',
      'digits_between'       => ':attribute mora biti između :min i :max znamenki.',
      'dimensions'           => ':attribute ima nevažeće dimenzije slike.',
      'distinct'             => 'Polje :attribute ima dvostruku vrijednost.',
      'email'                => ':attribute mora biti važeća e-mail adresa.',
      'exists'               => 'Odabrano :attribute nije važeće.',
      'file'                 => ':attribute mora biti datoteka.',
      'filled'               => 'Polje :attribute mora imati vrijednost.',
      'image'                => ':attribute mora biti slika.',
      'in'                   => 'Odabrano :attribute nije valjano.',
      'in_array'             => 'Polje :attribute ne postoji u :other.',
      'integer'              => ':attribute mora biti cijeli broj.',
      'ip'                   => ':attribute mora biti važeća IP adresa.',
      'json'                 => ':attribute mora biti valjani JSON niz.',
      'max'                  => [
          'numeric' => ':attribute ne može biti veće od :max.',
          'file'    => ':attribute ne može biti veće od :max kilobajta.',
          'string'  => ':attribute ne može biti više od :max znakova.',
          'array'   => ':attribute ne može imati više od :max stavki.',
      ],
      'mimes'                => ':attribute mora biti datoteka tipa: :values.',
      'mimetypes'            => ':attribute mora biti datoteka tipa: :values.',
      'min'                  => [
          'numeric' => ':attribute mora biti barem :min.',
          'file'    => ':attribute mora biti barem :min kilobajta.',
          'string'  => ':attribute mora sadržavati barem :min znakova.',
          'array'   => ':attribute mora sadržavati barem :min stavki.',
      ],
      'not_in'               => 'Odabrano :attribute nije valjano.',
      'numeric'              => ':attribute mora biti broj.',
      'present'              => 'Polje :attribute mora biti prisutno.',
      'regex'                => ':attribute format nije valjan.',
      'required'             => 'Polje :attribute je obavezno.',
      'required_if'          => 'Polje :attribute je obavezno kada je :other :value.',
      'required_unless'      => 'Polje :attribute je obavezno osim ako je :other u :values.',
      'required_with'        => 'Polje :attribute je obavezno kada postoje polja :values.',
      'required_with_all'    => 'Polje :attribute je obavezno kada postoje polja :values.',
      'required_without'     => 'Polje :attribute je obavezno kada ne postoji polje :values.',
      'required_without_all' => 'Polje :attribute je obavezno kada nijedno od polja :values ne postoji.',
      'same'                 => ':attribute i :other se moraju podudarati.',
      'size'                 => [
          'numeric' => ':attribute mora biti :size.',
          'file'    => ':attribute mora biti :size kilobajta.',
          'string'  => ':attribute mora biti :size znakova.',
          'array'   => ':attribute mora sadržavati :size stavki.',
      ],
      'string'               => ':attribute mora biti niz.',
      'timezone'             => ':attribute mora biti važeća vremenska zona.',
      'unique'               => ':attribute već postoji.',
      'uploaded'             => ':attribute nije uspješno učitan.',
      'url'                  => ':attribute nije ispravnog formata.',
  
      /*
      |--------------------------------------------------------------------------
      | Custom Validation Language Lines
      |--------------------------------------------------------------------------
      |
      | Here you may specify custom validation messages for attributes using the
      | convention "attribute.rule" to name the lines. This makes it quick to
      | specify a specific custom language line for a given attribute rule.
      |
      */
  
      'custom' => [
          'attribute-name' => [
              'rule-name' => 'prilagođena-poruka',
          ],
          'invalid_currency' => 'The :attribute code is invalid.',
      ],
  
      /*
      |--------------------------------------------------------------------------
      | Custom Validation Attributes
      |--------------------------------------------------------------------------
      |
      | The following language lines are used to swap attribute place-holders
      | with something more reader friendly such as E-Mail Address instead
      | of "email". This simply helps us make messages a little cleaner.
      |
      */
  
      'attributes' => [],
  
  ];