forked from Laravel-Lang/lang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalidation.php
104 lines (98 loc) · 5 KB
/
validation.php
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
<?php
return array(
/*
|--------------------------------------------------------------------------
| 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
| such as the size rules. Feel free to tweak each of these messages.
|
*/
"accepted" => "Polje :attribute mora biti prihvaćeno.",
"active_url" => "Polje :attribute nije validan URL.",
"after" => "Polje :attribute mora biti datum poslije :date.",
"alpha" => "Polje :attribute može sadržati samo slova.",
"alpha_dash" => "Polje :attribute može sadržati samo slova, brojeve i povlake.",
"alpha_num" => "Polje :attribute može sadržati samo slova i brojeve.",
"array" => "Polje :attribute mora biti niz.",
"before" => "Polje :attribute mora biti datum prije :date.",
"between" => array(
"numeric" => "Polje :attribute mora biti izmedju :min - :max.",
"file" => "Fajl :attribute mora biti izmedju :min - :max kilobajta.",
"string" => "Polje :attribute mora biti izmedju :min - :max karaktera.",
"array" => "Polje :attribute mora biti između :min - :max karaktera."
),
"boolean" => "The :attribute field must be true or false",
"confirmed" => "Potvrda polja :attribute se ne poklapa.",
"date" => "Polje :attribute nema ispravan datum.",
"date_format" => "Polje :attribute nema odgovarajući format :format.",
"different" => "Polja :attribute i :other moraju biti različita.",
"digits" => "Polje :attribute mora da sadži :digits brojeve.",
"digits_between" => "Polje :attribute mora biti između :min i :max broja.",
"email" => "Format polja :attribute mora biti validan email.",
"exists" => "Odabrano polje :attribute nije validno.",
"image" => "Polje :attribute mora biti slika.",
"in" => "Odabrano polje :attribute nije validno.",
"integer" => "Polje :attribute mora biti broj.",
"ip" => "Polje :attribute mora biti validna IP adresa.",
"max" => array(
"numeric" => "Polje :attribute mora biti manje od :max.",
"file" => "Polje :attribute mora biti manje od :max kilobajta.",
"string" => "Polje :attribute mora sadržati manje od :max karaktera.",
"array" => "Polje :attribute mora sadržati manje od :max karaktera."
),
"mimes" => "Polje :attribute mora biti fajl tipa: :values.",
"min" => array(
"numeric" => "Polje :attribute mora biti najmanje :min.",
"file" => "Fajl :attribute mora biti najmanje :min kilobajta.",
"string" => "Polje :attribute mora sadržati najmanje :min karaktera.",
"array" => "Polje :attribute mora sadržati najmanje :min karaktera."
),
"not_in" => "Odabrani element polja :attribute nije validan.",
"numeric" => "Polje :attribute mora biti broj.",
"regex" => "Polje :attribute ima neispravan format.",
"required" => "Polje :attribute je obavezno.",
"required_if" => "Polje :attribute je obavezno kada :other je :value.",
"required_with" => "Polje :attribute je obavezno kada je :values prikazano.",
"required_with_all" => "Polje :attribute je obavezno kada je :values prikazano.",
"required_without" => "Polje :attribute je obavezno kada :values nije prikazano.",
"required_without_all" => "Polje :attribute je obavezno kada nijedno :values nije prikazano.",
"same" => "Polja :attribute i :other se moraju poklapati.",
"size" => array(
"numeric" => "Polje :attribute mora biti :size.",
"file" => "Fajl :attribute mora biti :size kilobajta.",
"string" => "Polje :attribute mora biti :size karaktera.",
"array" => "Polje :attribute mora biti :size karaktera."
),
"timezone" => ":attribute mora biti ispravna vremenska zona.",
"unique" => "Polje :attribute već postoji.",
"url" => "Format polja :attribute nije validan.",
/*
|--------------------------------------------------------------------------
| 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' => array(
'attribute-name' => array(
'rule-name' => 'custom-message',
),
),
/*
|--------------------------------------------------------------------------
| 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' => array(),
);