forked from Laravel-Lang/lang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalidation.php
108 lines (100 loc) · 5.42 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
105
106
107
108
<?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
| such as the size rules. Feel free to tweak each of these messages.
|
*/
"accepted" => ":attribute kabul edilmelidir.",
"active_url" => ":attribute dogry URL bolmalydyr.",
"after" => ":attribute şundan has köne sene bolmalydyr :date.",
"alpha" => ":attribute dine harplardan durmalydyr.",
"alpha_dash" => ":attribute dine harplardan, sanlardan we tirelerden durmalydyr.",
"alpha_num" => ":attribute dine harplardan we sanlardan durmalydyr.",
"array" => ":attribute ýygyndy bolmalydyr.",
"before" => ":attribute şundan has irki sene bolmalydyr :date.",
"between" => [
"numeric" => ":attribute :min - :max arasynda bolmalydyr.",
"file" => ":attribute :min - :max kilobaýt arasynda bolmalydyr.",
"string" => ":attribute :min - :max harplar arasynda bolmalydyr.",
"array" => ":attribute :min - :max arasynda madda eýe bolmalydyr.",
],
"boolean" => ":attribute diňe dogry ýada ýalňyş bolmalydyr.",
"confirmed" => ":attribute tassyklamasy deň däl.",
"date" => ":attribute dogry sene bolmalydyr.",
"date_format" => ":attribute :format formatyna deň däl.",
"different" => ":attribute bilen :other birbirinden tapawutly bolmalydyr.",
"digits" => ":attribute :digits san bolmalydyr.",
"digits_between" => ":attribute :min bilen :max arasynda san bolmalydyr.",
"email" => ":attribute formaty ýalňyş.",
"exists" => "Saýlanan :attribute ýalňyş.",
"filled" => ":attribute meýdany zerur.",
"image" => ":attribute surat bolmalydyr.",
"in" => ":attribute mukdary ýalňyş.",
"integer" => ":attribute san bolmalydyr.",
"ip" => ":attribute dogry IP adres bolmalydyr.",
"max" => [
"numeric" => ":attribute :max den kiçi bolmalydyr.",
"file" => ":attribute :max kilobaýtdan kiçi bolmalydyr.",
"string" => ":attribute :max harpdan kiçi bolmalydyr.",
"array" => ":attribute iň az :max maddadan ybarat bolmalydyr.",
],
"mimes" => ":attribute faýlň formaty :values bolmalydyr.",
"min" => [
"numeric" => ":attribute mukdary :min dan köp bolmalydyr.",
"file" => ":attribute mukdary :min kilobaýtdan köp bolmalydyr.",
"string" => ":attribute mukdary :min harpdan köp bolmalydyr.",
"array" => ":attribute iň az :min harpdan bolmalydyr.",
],
"not_in" => "Saýlanan :attribute geçersiz.",
"numeric" => ":attribute san bolmalydyr.",
"regex" => ":attribute formaty ýalňyş.",
"required" => ":attribute meýdany zerur.",
"required_if" => ":attribute meýdany, :other :value hümmetine eýe bolanynda zerurdyr.",
"required_with" => ":attribute meýdany :values bar bolanda zerurdyr.",
"required_with_all" => ":attribute meýdany haýsyda bolsa bir :values bar bolanda zerurdyr.",
"required_without" => ":attribute meýdany :values ýok bolanda zerurdyr.",
"required_without_all" => ":attribute meýdany :values dan haýsyda bolsa biri ýok bolanda zerurdyr.",
"same" => ":attribute bilen :other deň bolmalydyr.",
"size" => [
"numeric" => ":attribute :size sandan ybarat bolmalydyr.",
"file" => ":attribute :size kilobaýt bolmalydyr.",
"string" => ":attribute :size harp bolmalydyr.",
"array" => ":attribute :size madda eýe bolmalydyr.",
],
"string" => "The :attribute must be a string.",
"timezone" => ":attribute dogry zolak bolmalydyr.",
"unique" => ":attribute önden hasaba alyndy.",
"url" => ":attribute formaty ýalňyş.",
/*
|--------------------------------------------------------------------------
| 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' => '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' => [],
];