lang/ms/validation.php
Rama main · réplica de lectura del repositorio original.
<?php
/**
* Copyright (c) Since 2024 InnoShop - All Rights Reserved
*
* @link https://www.innoshop.com
* @author InnoShop <team@innoshop.com>
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
return [
'accepted' => 'Anda mesti menerima :attribute.',
'accepted_if' => 'Anda mesti menerima :attribute apabila :other adalah :value.',
'active_url' => ':attribute bukan URL yang sah.',
'after' => ':attribute mesti tarikh selepas :date.',
'after_or_equal' => ':attribute mesti sama dengan atau tarikh selepas :date.',
'alpha' => ':attribute hanya boleh mengandungi huruf-huruf.',
'alpha_dash' => ':attribute hanya boleh mengandungi huruf-huruf, nombor-nombbor, dan sengkang.',
'alpha_num' => ':attribute hanya boleh mengandungi huruf-huruf dan nombor-nombbor.',
'array' => ':attribute mesti jua array.',
'before' => ':attribute mesti tarikh sebelum :date.',
'before_or_equal' => ':attribute mesti sama dengan atau tarikh sebelum :date.',
'between' => [
'array' => ':attribute mesti mengandungi antara :min dan :max item.',
'file' => ':attribute mesti berada antara :min dan :max KB.',
'numeric' => ':attribute mesti berada antara :min dan :max.',
'string' => ':attribute mesti berada antara :min dan :max aksara.',
],
'boolean' => ':attribute mesti jua boolean.',
'confirmed' => ':attribute tidak sama dengan pengesahan.',
'current_password' => 'Kata laluan salah.',
'date' => ':attribute bukan tarikh yang sah.',
'date_equals' => ':attribute mesti sama dengan tarikh :date.',
'date_format' => ':attribute tidak mengikut format :format.',
'declined' => ':attribute mesti ditolak.',
'declined_if' => 'Ruangan :attribute mesti ditolak jika :other adalah :value.',
'different' => ':attribute dan :other mesti berlainan.',
'digits' => ':attribute mesti :digits digit.',
'digits_between' => ':attribute mesti berada antara :min dan :max digit.',
'dimensions' => 'Dimensi imej :attribute tidak sah.',
'distinct' => ':attribute mesti berbeza.',
'email' => ':attribute tidak alamat emel yang sah.',
'ends_with' => ':attribute mesti diakhiri dengan nilai-nilai :values.',
'enum' => 'Nilai :attribute tidak sah.',
'exists' => ':attribute yang dipilih tidak wujud.',
'file' => ':attribute mesti fail.',
'filled' => ':attribute tidak boleh kosong.',
'gt' => [
'array' => ':attribute mesti mempunyai lebih banyak daripada :value item.',
'file' => ':attribute mesti melebihi :value KB.',
'numeric' => ':attribute mesti melebihi :value.',
'string' => ':attribute mesti melebihi :value aksara.',
],
'gte' => [
'array' => ':attribute mesti mempunyai tidak kurang dari :value item.',
'file' => ':attribute mesti berukuran tidak kurang dari :value KB.',
'numeric' => ':attribute mesti tidak kurang dari :value.',
'string' => ':attribute mesti tidak kurang dari :value aksara.',
],
'image' => ':attribute mesti imej.',
'in' => 'Pilihan :attribute tidak sah.',
'in_array' => ':attribute mesti ada dalam :other.',
'integer' => ':attribute mesti integer.',
'ip' => ':attribute mesti alamat IP yang sah.',
'ipv4' => ':attribute mesti alamat IPv4 yang sah.',
'ipv6' => ':attribute mesti alamat IPv6 yang sah.',
'json' => ':attribute mesti format JSON yang betul.',
'lt' => [
'array' => ':attribute mesti mempunyai kurang daripada :value item.',
'file' => ':attribute mesti kurang daripada :value KB.',
'numeric' => ':attribute mesti kurang daripada :value.',
'string' => ':attribute mesti kurang daripada :value aksara.',
],
'lte' => [
'array' => ':attribute mesti mempunyai tidak lebih dari :value item.',
'file' => ':attribute mesti berukuran tidak lebih dari :value KB.',
'numeric' => ':attribute mesti tidak lebih dari :value.',
'string' => ':attribute mesti tidak lebih dari :value aksara.',
],
'mac_address' => ':attribute mesti alamat MAC yang sah.',
'max' => [
'array' => ':attribute mesti tidak lebih daripada :max item.',
'file' => ':attribute mesti tidak melebihi :max KB.',
'numeric' => ':attribute mesti tidak melebihi :max.',
'string' => ':attribute mesti tidak melebihi :max aksara.',
],
'mimes' => ':attribute mesti fail yang jenis :values.',
'mimetypes' => ':attribute mesti fail yang jenis :values.',
'min' => [
'array' => ':attribute mesti sekurang-kurangnya :min item.',
'file' => ':attribute mesti sekurang-kurangnya :min KB.',
'numeric' => ':attribute mesti sekurang-kurangnya :min.',
'string' => ':attribute mesti sekurang-kurangnya :min aksara.',
],
'multiple_of' => ':attribute mesti ialah beberapa ganda :value.',
'not_in' => 'Pilihan :attribute tidak sah.',
'not_regex' => 'Format :attribute tidak sah.',
'numeric' => ':attribute mesti nombor.',
'password' => 'Kata laluan salah.',
'present' => ':attribute mesti wujud.',
'prohibited' => 'Ruangan :attribute adalah dilarang.',
'prohibited_if' => 'Ruangan :attribute adalah dilarang jika :other adalah :value.',
'prohibited_unless' => 'Ruangan :attribute adalah dilarang, melainkan :other ada dalam :values.',
'prohibits' => 'Ruangan :attribute mencegah :other daripada wujud.',
'regex' => 'Format :attribute tidak sah.',
'required' => ':attribute tidak boleh kosong.',
'required_array_keys' => 'Kunci array :attribute diperlukan untuk meletakan nilai: :values.',
'required_if' => 'Ruangan :attribute diperlukan apabila :other adalah :value.',
'required_unless' => 'Ruangan :attribute diperlukan sekiranya :other ada dalam :values.',
'required_with' => 'Ruangan :attribute diperlukan bila :values wujud.',
'required_with_all' => 'Ruangan :attribute diperlukan bila :values wujud.',
'required_without' => 'Ruangan :attribute diperlukan bila :values tidak wujud.',
'required_without_all' => 'Ruangan :attribute diperlukan bila :values semuanya tidak wujud.',
'same' => ':attribute dan :other mesti sama.',
'size' => [
'array' => ':attribute mesti :size item.',
'file' => ':attribute mesti berukuran :size KB.',
'numeric' => ':attribute mesti berukuran :size.',
'string' => ':attribute mesti :size aksara.',
],
'starts_with' => ':attribute mesti bermula dengan :values.',
'string' => ':attribute mesti string.',
'timezone' => ':attribute mesti zon masa yang sah.',
'unique' => ':attribute sudah wujud.',
'uploaded' => ':attribute gagal diunggah.',
'url' => 'Format :attribute tidak sah.',
'uuid' => ':attribute mesti UUID yang sah.',
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
];