|
32 | 32 | 'date' => ':attribute bukan tarikh yang sah.',
|
33 | 33 | 'date_format' => ':attribute tidak mengikut format :format.',
|
34 | 34 | 'different' => ':attribute dan :other mesti berlainan.',
|
| 35 | + 'dimensions' => ':attribute tidak sah', |
35 | 36 | 'digits' => ':attribute mesti :digits.',
|
36 | 37 | 'digits_between' => ':attribute mesti mengandungi antara :min dan :max digits.',
|
| 38 | + 'distinct' => ':attribute adalah nilai yang berulang', |
37 | 39 | 'email' => ':attribute tidak sah.',
|
38 | 40 | 'exists' => ':attribute tidak sah.',
|
39 | 41 | 'filled' => ':attribute diperlukan.',
|
40 | 42 | 'image' => ':attribute mesti imej.',
|
41 | 43 | 'in' => ':attribute tidak sah.',
|
| 44 | + 'in_array' => ':attribute tidak wujud dalam :other.', |
42 | 45 | 'integer' => ':attribute mesti integer.',
|
43 | 46 | 'ip' => ':attribute mesti alamat IP yang sah.',
|
44 | 47 | 'json' => ':attribute mesti JSON yang sah.',
|
|
57 | 60 | ],
|
58 | 61 | 'not_in' => ':attribute tidak sah.',
|
59 | 62 | 'numeric' => ':attribute mesti nombor.',
|
| 63 | + 'present' => ':attribute mesti wujud.', |
60 | 64 | 'regex' => ':attribute format tidak sah.',
|
61 | 65 | 'required' => 'Ruangan :attribute diperlukan.',
|
62 | 66 | 'required_if' => 'Ruangan :attribute diperlukan bila :other sama dengan :value.',
|
| 67 | + 'required_unless' => 'Ruangan :attribute diperlukan sekiranya :other ada dalam :values.', |
63 | 68 | 'required_with' => 'Ruangan :attribute diperlukan bila :values wujud.',
|
64 | 69 | 'required_with_all' => 'Ruangan :attribute diperlukan bila :values wujud.',
|
65 | 70 | 'required_without' => 'Ruangan :attribute diperlukan bila :values tidak wujud.',
|
|
71 | 76 | 'string' => 'Saiz :attribute mesti :size aksara.',
|
72 | 77 | 'array' => 'Saiz :attribute mesti mengandungi :size perkara.',
|
73 | 78 | ],
|
74 |
| - 'string' => ':attribute mesti perkataan.', |
| 79 | + 'string' => ':attribute mesti aksara.', |
75 | 80 | 'timezone' => ':attribute mesti zon masa yang sah.',
|
76 | 81 | 'unique' => ':attribute telah wujud.',
|
77 | 82 | 'url' => ':attribute format tidak sah.',
|
|
105 | 110 | */
|
106 | 111 |
|
107 | 112 | 'attributes' => [
|
108 |
| - // |
| 113 | + 'name' => 'nama', |
| 114 | + 'email' => 'alamat emel', |
| 115 | + 'password' => 'kata laluan', |
| 116 | + 'dun_id' => 'Dewan Undangan Negeri', |
| 117 | + 'dun' => 'Dewan Undangan Negeri', |
| 118 | + 'parlimen_id' => 'parlimen', |
| 119 | + 'mukim_id' => 'mukim', |
| 120 | + 'district' => 'daerah', |
| 121 | + 'noJk' => 'No JK', |
| 122 | + 'idMarris' => 'Id Marris', |
| 123 | + 'road' => 'nama jalan', |
| 124 | + 'typeOfWork' => 'jenis jalan', |
| 125 | + 'workScope' => 'skop kerja', |
| 126 | + 'cost' => 'anggaran kos untuk kerja', |
| 127 | + 'length' => 'panjang jalan', |
| 128 | + 'shortCode' => 'singkatan nama daerah', |
| 129 | + |
109 | 130 | ],
|
110 | 131 | ];
|
0 commit comments