2016-03-25 01:18:05 -07:00
|
|
|
<?php
|
|
|
|
|
2022-01-13 21:27:29 -08:00
|
|
|
return [
|
2016-03-25 01:18:05 -07:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 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.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2017-09-06 18:05:32 -07:00
|
|
|
'accepted' => ':attribute mesti diterima.',
|
|
|
|
'active_url' => ':attribute URL yang tidak sah.',
|
|
|
|
'after' => ':attribute mesti tarik selepas must :date.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'after_or_equal' => 'The: atribut mestilah tarikh selepas atau sama dengan: tarikh.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'alpha' => ':attribute hanya boleh mengandungi huruf.',
|
|
|
|
'alpha_dash' => ':attribute hanya boleh mengandungi huruf, nombor dan tanda tolak.',
|
|
|
|
'alpha_num' => ':attribute hanya boleh mengadungi huruf dan nombor.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'array' => 'The: attribute must be array.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'before' => ':attribute mestilah tarikh sebelum :date.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'before_or_equal' => 'The: atribut mestilah tarikh sebelum atau sama dengan: tarikh.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'between' => [
|
|
|
|
'numeric' => ':attribute mesti berada diantara :min - :max.',
|
|
|
|
'file' => ':attribute mesti diantara :min - :max kilobytes.',
|
|
|
|
'string' => ':attribute mesti diantara :min - :max characters.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'array' => 'The: attribute must have between: min and: max items.',
|
2017-09-06 18:05:32 -07:00
|
|
|
],
|
2017-10-17 18:52:20 -07:00
|
|
|
'boolean' => ': Bidang atribut mestilah benar atau palsu.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'confirmed' => ':attribute pengesahan tidak sama.',
|
|
|
|
'date' => ':attribute tarikh yang tidak sah.',
|
|
|
|
'date_format' => ':attribute tidak mengikut format :format.',
|
|
|
|
'different' => ':attribute dan :other mesti berbeza.',
|
|
|
|
'digits' => ':attribute mesti :digits digit.',
|
|
|
|
'digits_between' => ':attribute mesti diantara :min and :max digit.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'dimensions' => 'The: attribute mempunyai dimensi imej tidak sah.',
|
|
|
|
'distinct' => 'The: bidang atribut mempunyai nilai pendua.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'email' => ':attribute format tidak sah.',
|
|
|
|
'exists' => 'Piliah :attribute tidak sah.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'file' => 'The: attribute must be a file.',
|
|
|
|
'filled' => ': Bidang atribut mesti mempunyai nilai.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'image' => ':attribute mesti imej.',
|
|
|
|
'in' => 'Piliah :attribute tidak sah.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'in_array' => 'The: bidang atribut tidak wujud di: lain.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'integer' => ':attribute mesti integer.',
|
|
|
|
'ip' => ':attribute mesti alamat IP yang sah.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'ipv4' => 'The: attribute mestilah alamat IPv4 yang sah.',
|
|
|
|
'ipv6' => 'The: atribut mestilah alamat IPv6 yang sah.',
|
|
|
|
'json' => 'The: attribute mestilah rentetan JSON yang sah.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'max' => [
|
|
|
|
'numeric' => ':attribute tidak boleh lebih besar dari :max.',
|
|
|
|
'file' => ':attribute tidak boleh lebih besar dari :max kilobytes.',
|
|
|
|
'string' => ':attribute tidak boleh lebih besar dari :max characters.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'array' => 'The: attribute mungkin tidak mempunyai lebih daripada: item maks.',
|
2017-09-06 18:05:32 -07:00
|
|
|
],
|
|
|
|
'mimes' => ':attribute mesti fail jenis: :values.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'mimetypes' => 'The: attribute mestilah file jenis:: nilai.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'min' => [
|
|
|
|
'numeric' => ':attribute mesti sekurang2nya :min.',
|
|
|
|
'file' => ':attribute mesti sekurang2nya :min kilobytes.',
|
|
|
|
'string' => ':attribute mesti sekurang2nya :min characters.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'array' => 'The: atribut mesti mempunyai sekurang-kurangnya: item min.',
|
2017-09-06 18:05:32 -07:00
|
|
|
],
|
2022-01-13 21:27:29 -08:00
|
|
|
'starts_with' => 'The :attribute must start with one of the following: :values.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'not_in' => 'Piliah :attribute tidak sah.',
|
|
|
|
'numeric' => ':attribute mesti nombor.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'present' => 'Yang: bidang atribut mesti ada.',
|
2019-05-21 19:17:00 -07:00
|
|
|
'valid_regex' => 'Itu bukan regex yang sah. ',
|
2017-09-06 18:05:32 -07:00
|
|
|
'regex' => ':attribute format tidak sah.',
|
|
|
|
'required' => ':attribute ruangan diperlukan.',
|
|
|
|
'required_if' => ':attribute rungan diperlukan bila :other adalah :value.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'required_unless' => 'Bidang: atribut diperlukan kecuali: yang lain berada dalam: nilai.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'required_with' => ':attribute ruangan diperlukan bila :values wujud.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'required_with_all' => 'Bidang: sifat diperlukan apabila: nilai hadir.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'required_without' => ':attribute ruangan diperlukan bila :values tidak wujud.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'required_without_all' => 'The: field attribute diperlukan apabila tidak ada: nilai hadir.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'same' => ':attribute dan :other mesti sama.',
|
|
|
|
'size' => [
|
|
|
|
'numeric' => ':attribute mesti :size.',
|
|
|
|
'file' => ':attribute mesti :size kilobytes.',
|
|
|
|
'string' => ':attribute mesti :size aksara.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'array' => 'The: attribute mesti mengandungi: item saiz.',
|
2017-09-06 18:05:32 -07:00
|
|
|
],
|
2017-10-17 18:52:20 -07:00
|
|
|
'string' => 'The: attribute must be string.',
|
|
|
|
'timezone' => 'The: attribute mesti zon yang sah.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'unique' => ':attribute telah diambil.',
|
2017-10-17 18:52:20 -07:00
|
|
|
'uploaded' => 'The: attribute gagal untuk dimuat naik.',
|
2017-09-06 18:05:32 -07:00
|
|
|
'url' => ':attribute format tidak sah.',
|
2022-01-13 21:27:29 -08:00
|
|
|
'unique_undeleted' => ':attribute mesti unik.',
|
|
|
|
'non_circular' => 'The :attribute must not create a circular reference.',
|
2022-05-24 15:07:14 -07:00
|
|
|
'gte' => [
|
|
|
|
'numeric' => 'Value cannot be negative'
|
|
|
|
],
|
|
|
|
|
2017-09-06 18:05:32 -07:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 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.
|
|
|
|
|
|
|
|
|
*/
|
2016-03-25 01:18:05 -07:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 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.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2017-09-06 18:05:32 -07:00
|
|
|
'custom' => [
|
2022-01-13 21:27:29 -08:00
|
|
|
'alpha_space' => 'Bidang: atribut mengandungi aksara yang tidak dibenarkan.',
|
|
|
|
'email_array' => 'Satu atau lebih alamat e-mel tidak sah.',
|
|
|
|
'hashed_pass' => 'Kata laluan semasa anda tidak betul',
|
2017-10-17 18:52:20 -07:00
|
|
|
'dumbpwd' => 'Kata laluan itu terlalu umum.',
|
2022-01-13 21:27:29 -08:00
|
|
|
'statuslabel_type' => 'Anda mesti memilih jenis label status yang sah',
|
2017-09-06 18:05:32 -07:00
|
|
|
],
|
2016-03-25 01:18:05 -07:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 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.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2017-09-06 18:05:32 -07:00
|
|
|
'attributes' => [],
|
2016-03-25 01:18:05 -07:00
|
|
|
|
2022-01-13 21:27:29 -08:00
|
|
|
];
|