return [
// Standard laravel validation lines
- 'accepted' => 'The :attribute must be accepted.',
- 'active_url' => 'The :attribute is not a valid URL.',
- 'after' => 'The :attribute must be a date after :date.',
- 'alpha' => 'The :attribute may only contain letters.',
- 'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
- 'alpha_num' => 'The :attribute may only contain letters and numbers.',
- 'array' => 'The :attribute must be an array.',
- 'backup_codes' => 'The provided code is not valid or has already been used.',
- 'before' => 'The :attribute must be a date before :date.',
+ 'accepted' => ':attribute qabul qilinishi kerak.',
+ 'active_url' => ':attribute qiymati to‘g‘ri URL emas.',
+ 'after' => ':attribute qiymati :date sanadan kegingi sana bo‘lishi kerak.',
+ 'alpha' => ':attribute qiymati faqat harflardan iborat bo‘lishi kerak.',
+ 'alpha_dash' => ':attribute qiymati faqat harflar, raqamlar chiziqcha va ostki chiziqdan iborat bo‘lishi kerak.',
+ 'alpha_num' => ':attribute qiymati faqat harflar va raqamlardan iborat bo‘lishi kerak.',
+ 'array' => ':attribute qiymati massiv bo‘lishi kerak.',
+ 'backup_codes' => 'Kiritilgan kod to‘g‘ri emas yoki ishlatib bo‘lingan.',
+ 'before' => ':attribute qiymati :date sanadan oldingi sana bo‘lishi kerak.',
'between' => [
- 'numeric' => 'The :attribute must be between :min and :max.',
- 'file' => 'The :attribute must be between :min and :max kilobytes.',
- 'string' => 'The :attribute must be between :min and :max characters.',
- 'array' => 'The :attribute must have between :min and :max items.',
+ 'numeric' => ':attribute qiymati :min va :max orasida bo‘lishi kerak.',
+ 'file' => ':attribute hajmi :min va :max kilobayt orasida bo‘lishi kerak.',
+ 'string' => ':attribute uzunligi soni :min va :max orasida bo‘lishi kerak.',
+ 'array' => ':attribute soni :min va :max orasida bo‘lishi kerak.',
],
- 'boolean' => 'The :attribute field must be true or false.',
- 'confirmed' => 'The :attribute confirmation does not match.',
- 'date' => 'The :attribute is not a valid date.',
- 'date_format' => 'The :attribute does not match the format :format.',
- 'different' => 'The :attribute and :other must be different.',
- 'digits' => 'The :attribute must be :digits digits.',
- 'digits_between' => 'The :attribute must be between :min and :max digits.',
- 'email' => 'The :attribute must be a valid email address.',
- 'ends_with' => 'The :attribute must end with one of the following: :values',
- 'file' => 'The :attribute must be provided as a valid file.',
- 'filled' => 'The :attribute field is required.',
+ 'boolean' => ':attribute qiymati faqat «true» yoki «false» bo`lishi kerak.',
+ 'confirmed' => ':attribute tasdiqlash qiymati mos emas.',
+ 'date' => ':attribute qiymati sana emas.',
+ 'date_format' => ':attribute qiymati :format formatdagi sana emas.',
+ 'different' => ':attribute va :other qiymatlari har xil bo‘lishi kerak.',
+ 'digits' => ':attribute qiymati :digits raqamlarda iborat bo‘lishi kerak.',
+ 'digits_between' => ':attribute qiymati :min va :max orasidagi raqamlarda iborat bo‘lishi kerak.',
+ 'email' => ':attribute qiymati email bo‘lishi kerak.',
+ 'ends_with' => ':attribute qiymati quyidagilarda biri bo‘lishi kerak: :values ',
+ 'file' => ':attribute fayl bo‘lishi kerak.',
+ 'filled' => ':attribute qiymatini kiritish majburiy.',
'gt' => [
- 'numeric' => 'The :attribute must be greater than :value.',
- 'file' => 'The :attribute must be greater than :value kilobytes.',
- 'string' => 'The :attribute must be greater than :value characters.',
- 'array' => 'The :attribute must have more than :value items.',
+ 'numeric' => ':attribute qiymati :value\'dan katta bo‘lishi kerak.',
+ 'file' => ':attribute hajmi :value kilobaytdan katta bo‘lishi kerak.',
+ 'string' => ':attribute uzunligi :value\'dan katta bo‘lishi kerak.',
+ 'array' => ':attribute soni :value\'dan katta bo‘lishi kerak.',
],
'gte' => [
- 'numeric' => 'The :attribute must be greater than or equal :value.',
- 'file' => 'The :attribute must be greater than or equal :value kilobytes.',
- 'string' => 'The :attribute must be greater than or equal :value characters.',
- 'array' => 'The :attribute must have :value items or more.',
+ 'numeric' => ':attribute qiymati :value\'dan katta yoki teng bo‘lishi kerak.',
+ 'file' => ':attribute hajmi :value kilobaytdan katta yoki teng bo‘lishi kerak.',
+ 'string' => ':attribute uzunligi :value\'dan katta yoki teng bo‘lishi kerak.',
+ 'array' => ':attribute soni :value\'dan katta yoki teng bo‘lishi kerak.',
],
- 'exists' => 'The selected :attribute is invalid.',
- 'image' => 'The :attribute must be an image.',
- 'image_extension' => 'The :attribute must have a valid & supported image extension.',
- 'in' => 'The selected :attribute is invalid.',
- 'integer' => 'The :attribute must be an integer.',
- 'ip' => 'The :attribute must be a valid IP address.',
- 'ipv4' => 'The :attribute must be a valid IPv4 address.',
- 'ipv6' => 'The :attribute must be a valid IPv6 address.',
- 'json' => 'The :attribute must be a valid JSON string.',
+ 'exists' => ':attribute\'ning tanlangan qiymati to‘g‘ri emas.',
+ 'image' => ':attribute rasm bo‘lishi kerak.',
+ 'image_extension' => ':attribute rasm bo‘lishi va to‘g‘ri formatda bo‘lishi kerak.',
+ 'in' => ':attribute qiymati noto‘g‘ri.',
+ 'integer' => ':attribute qiymati butun son bo‘lishi kerak.',
+ 'ip' => ':attribute qiymati IP manzil bo‘lishi kerak.',
+ 'ipv4' => ':attribute qiymati IPv4 manzil bo‘lishi kerak.',
+ 'ipv6' => ':attribute qiymati IPv6 manzil bo‘lishi kerak.',
+ 'json' => ':attribute qiymati JSON formatida bo‘lishi kerak.',
'lt' => [
- 'numeric' => 'The :attribute must be less than :value.',
- 'file' => 'The :attribute must be less than :value kilobytes.',
- 'string' => 'The :attribute must be less than :value characters.',
- 'array' => 'The :attribute must have less than :value items.',
+ 'numeric' => ':attribute qiymati :value\'dan kichik bo‘lishi kerak.',
+ 'file' => ':attribute hajmi :value kilobaytdan kichik bo‘lishi kerak.',
+ 'string' => ':attribute uzunligi :value\'dan kichik bo‘lishi kerak.',
+ 'array' => ':attribute soni :value\'dan kichik bo‘lishi kerak.',
],
'lte' => [
- 'numeric' => 'The :attribute must be less than or equal :value.',
- 'file' => 'The :attribute must be less than or equal :value kilobytes.',
- 'string' => 'The :attribute must be less than or equal :value characters.',
- 'array' => 'The :attribute must not have more than :value items.',
+ 'numeric' => ':attribute qiymati :value\'dan kichik yoki teng bo‘lishi kerak.',
+ 'file' => ':attribute hajmi :value kilobaytdan kichik yoki teng bo‘lishi kerak.',
+ 'string' => ':attribute uzunligi :value\'dan kichik yoki teng bo‘lishi kerak.',
+ 'array' => ':attribute soni :value\'dan kichik yoki teng bo‘lishi kerak.',
],
'max' => [
- 'numeric' => 'The :attribute may not be greater than :max.',
- 'file' => 'The :attribute may not be greater than :max kilobytes.',
- 'string' => 'The :attribute may not be greater than :max characters.',
- 'array' => 'The :attribute may not have more than :max items.',
+ 'numeric' => ':attribute qiymati maksimum :value bo‘lishi kerak.',
+ 'file' => ':attribute hajmi maksimum :value kilobayt bo‘lishi kerak.',
+ 'string' => ':attribute uzunligi maksimum :value bo‘lishi kerak.',
+ 'array' => ':attribute soni maksimum :value bo‘lishi kerak.',
],
- 'mimes' => 'The :attribute must be a file of type: :values.',
+ 'mimes' => ':attribute fayl mime turi quyidagilardan biri bo‘lishi kerak: :values.',
'min' => [
- 'numeric' => 'The :attribute must be at least :min.',
- 'file' => 'The :attribute must be at least :min kilobytes.',
- 'string' => 'The :attribute must be at least :min characters.',
- 'array' => 'The :attribute must have at least :min items.',
+ 'numeric' => ':attribute qiymati minimum :value bo‘lishi kerak.',
+ 'file' => ':attribute hajmi minimum :value kilobayt bo‘lishi kerak.',
+ 'string' => ':attribute uzunligi minimum :value bo‘lishi kerak.',
+ 'array' => ':attribute soni minimum :value bo‘lishi kerak.',
],
- 'not_in' => 'The selected :attribute is invalid.',
- 'not_regex' => 'The :attribute format is invalid.',
- 'numeric' => 'The :attribute must be a number.',
- 'regex' => 'The :attribute format is invalid.',
- 'required' => 'The :attribute field is required.',
- 'required_if' => 'The :attribute field is required when :other is :value.',
- 'required_with' => 'The :attribute field is required when :values is present.',
- 'required_with_all' => 'The :attribute field is required when :values is present.',
- 'required_without' => 'The :attribute field is required when :values is not present.',
- 'required_without_all' => 'The :attribute field is required when none of :values are present.',
- 'same' => 'The :attribute and :other must match.',
- 'safe_url' => 'The provided link may not be safe.',
+ 'not_in' => 'selected :attribute qiymati noto‘g‘ri.',
+ 'not_regex' => ':attribute formati noto‘g‘ri.',
+ 'numeric' => ':attribute qiymati raqam bo‘lishi kerak.',
+ 'regex' => ':attribute formati noto‘g‘ri.',
+ 'required' => ':attribute\'ni kiritish majburiy.',
+ 'required_if' => ':other qiymati :value bo‘lganda :attribute\'ni kiritish majburiy.',
+ 'required_with' => ':values kiritilgan holatlarda :attribute\'ni kiritish majburiy.',
+ 'required_with_all' => ':values kiritilgan holatlarda :attribute\'ni kiritish majburiy.',
+ 'required_without' => ':values kiritilmagan holatlarda :attribute\'ni kiritish majburiy.',
+ 'required_without_all' => ':values kiritilmagan holatlarda :attribute\'ni kiritish majburiy.',
+ 'same' => ':attribute va :other qiymatlari teng bo‘lishi shart.',
+ 'safe_url' => 'Kiritilgan manzil xavsiz emas.',
'size' => [
- 'numeric' => 'The :attribute must be :size.',
- 'file' => 'The :attribute must be :size kilobytes.',
- 'string' => 'The :attribute must be :size characters.',
- 'array' => 'The :attribute must contain :size items.',
+ 'numeric' => ':attribute qiymati :value bo‘lishi kerak.',
+ 'file' => ':attribute hajmi :value kilobayt bo‘lishi kerak.',
+ 'string' => ':attribute uzunligi :value bo‘lishi kerak.',
+ 'array' => ':attribute soni :value bo‘lishi kerak.',
],
- 'string' => 'The :attribute must be a string.',
- 'timezone' => 'The :attribute must be a valid zone.',
- 'totp' => 'The provided code is not valid or has expired.',
- 'unique' => 'The :attribute has already been taken.',
- 'url' => 'The :attribute format is invalid.',
- 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.',
+ 'string' => ':attribute qiymati matn bo‘lishi kerak.',
+ 'timezone' => ':attribute qiymati to‘g‘ri vaqt zonasi bo‘lishi kerak.',
+ 'totp' => 'Kiritilgan xavsizlik kodi notpo‘g‘ri yoki eskirgan.',
+ 'unique' => ':attribute qiymati allaqachon mavjud.',
+ 'url' => ':attribute URL formatida emas.',
+ 'uploaded' => 'Faylni yuklashda xatolik. Server bunday hajmdagi faylllarni yuklamasligi mumkin.',
+
+ 'zip_file' => 'The :attribute needs to reference a file within the ZIP.',
+ 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.',
+ 'zip_model_expected' => 'Data object expected but ":type" found.',
+ 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.',
// Custom validation lines
'custom' => [
'password-confirm' => [
- 'required_with' => 'Password confirmation required',
+ 'required_with' => 'Takroriy parolni to‘ldirish majburiy',
],
],