forked from alexjustesen/speedtest-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalidation.php
More file actions
91 lines (84 loc) · 2.91 KB
/
validation.php
File metadata and controls
91 lines (84 loc) · 2.91 KB
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
<?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.
|
*/
/*
|--------------------------------------------------------------------------
| 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' => [
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap our attribute placeholder
| with something more reader friendly such as "E-Mail Address" instead
| of "email". This simply helps us make our message more expressive.
|
*/
'attributes' => [
'address' => 'adres',
'age' => 'wiek',
'body' => 'treść',
'cell' => 'komórka',
'city' => 'miasto',
'country' => 'kraj',
'date' => 'data',
'day' => 'dzień',
'excerpt' => 'podsumowanie',
'first_name' => 'imię',
'gender' => 'płeć',
'marital_status' => 'stan cywilny',
'profession' => 'zawód',
'nationality' => 'narodowość',
'hour' => 'godzina',
'last_name' => 'nazwisko',
'message' => 'wiadomość',
'minute' => 'minuta',
'mobile' => 'telefon komórkowy',
'month' => 'miesiąc',
'name' => 'nazwa',
'zipcode' => 'kod pocztowy',
'company_name' => 'nazwa firmy',
'neighborhood' => 'dzielnica',
'number' => 'numer',
'password' => 'hasło',
'phone' => 'telefon',
'second' => 'sekunda',
'sex' => 'płeć',
'state' => 'województwo',
'street' => 'ulica',
'subject' => 'temat',
'text' => 'tekst',
'time' => 'czas',
'title' => 'tytuł',
'username' => 'nazwa użytkownika',
'year' => 'rok',
'description' => 'opis',
'password_confirmation' => 'potwierdzenie hasła',
'current_password' => 'obecne hasło',
'complement' => 'uzupełnienie',
'modality' => 'modalność',
'category' => 'kategoria',
'blood_type' => 'grupa krwi',
'birth_date' => 'data urodzenia',
],
];