<?php
-
+/**
+ * Validation 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.
+ */
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.
- |
- */
-
- '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, and dashes.',
- 'alpha_num' => 'The :attribute may only contain letters and numbers.',
- 'array' => 'The :attribute must be an array.',
- 'before' => 'The :attribute must be a date before :date.',
+ // Standard laravel validation lines
+ 'accepted' => 'يجب الموافقة على :attribute.',
+ 'active_url' => ':attribute ليس رابط صالح.',
+ 'after' => 'يجب أن يكون التاريخ :attribute بعد :date.',
+ 'alpha' => 'يجب أن يقتصر :attribute على الحروف فقط.',
+ 'alpha_dash' => 'يجب أن يقتصر :attribute على حروف أو أرقام أو شرطات فقط.',
+ 'alpha_num' => 'يجب أن يقتصر :attribute على الحروف والأرقام فقط.',
+ 'array' => 'يجب أن تكون السمة مصفوفة.',
+ 'backup_codes' => 'The provided code is not valid or has already been used.',
+ 'before' => 'يجب أن يكون التاريخ :attribute قبل :date.',
'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 بين :min و :max.',
+ 'file' => 'يجب أن يكون :attribute بين :min و :max كيلو بايت.',
+ 'string' => 'يجب أن يكون :attribute بين :min و :max حرف / حروف.',
+ 'array' => 'يجب أن يكون :attribute بين :min و :max عنصر / عناصر.',
+ ],
+ 'boolean' => 'يجب أن يحتمل حقل السمة الصحة أو الخطأ.',
+ 'confirmed' => ':attribute غير مطابق.',
+ 'date' => ':attribute ليس تاريخ صالح.',
+ 'date_format' => ':attribute لا يطابق الصيغة :format.',
+ 'different' => 'يجب أن يكون :attribute مختلف عن :other.',
+ 'digits' => 'يجب أن يكون :attribute بعدد :digits خانات.',
+ 'digits_between' => 'يجب أن يكون :attribute بعدد خانات بين :min و :max.',
+ 'email' => 'يجب أن يكون :attribute عنوان بريد إلكتروني صالح.',
+ 'ends_with' => 'يجب أن تنتهي السمة بأحد القيم التالية',
+ 'file' => 'The :attribute must be provided as a valid file.',
+ 'filled' => 'حقل :attribute مطلوب.',
+ 'gt' => [
+ 'numeric' => 'يجب أن تكون السمة أكبر من: القيمة.',
+ 'file' => 'يجب أن تكون السمة أكبر من: القيمة كيلوبايت.',
+ 'string' => 'يجب أن تكون السمة أكبر من: أحرف القيمة.',
+ 'array' => 'يجب أن تحتوي السمة على أكثر من: عناصر القيمة.',
+ ],
+ 'gte' => [
+ 'numeric' => 'يجب أن تكون السمة أكبر من أو تساوي: القيمة.',
+ 'file' => 'يجب أن تكون السمة أكبر من أو تساوي: القيمة كيلوبايت.',
+ 'string' => 'يجب أن تكون السمة أكبر من أو تساوي: أحرف القيمة.',
+ 'array' => 'يجب أن تحتوي السمة على: عناصر القيمة أو أكثر.',
+ ],
+ 'exists' => ':attribute المحدد غير صالح.',
+ 'image' => 'يجب أن يكون :attribute صورة.',
+ 'image_extension' => 'يجب أن تحتوي السمة على امتداد صورة صالح ومدعوم.',
+ 'in' => ':attribute المحدد غير صالح.',
+ 'integer' => 'يجب أن يكون :attribute عدد صحيح.',
+ 'ip' => 'يجب أن يكون :attribute عنوان IP صالح.',
+ 'ipv4' => 'يجب أن تكون السمة: عنوان IPv4 صالحًا.',
+ 'ipv6' => 'يجب أن تكون السمة: عنوان IPv6 صالحًا.',
+ 'json' => 'يجب أن تكون السمة: سلسلة من نوع جسون JSON صالح.',
+ 'lt' => [
+ 'numeric' => 'يجب أن تكون السمة أقل من: القيمة.',
+ 'file' => 'يجب أن تكون السمة أقل من: القيمة كيلوبايت.',
+ 'string' => 'يجب أن تكون السمة أقل من: أحرف القيمة.',
+ 'array' => 'يجب أن تحتوي السمة على أقل من: عناصر القيمة.',
+ ],
+ 'lte' => [
+ 'numeric' => 'يجب أن تكون السمة أقل من أو تساوي: القيمة.',
+ 'file' => 'يجب أن تكون السمة أقل من أو تساوي: القيمة كيلوبايت.',
+ 'string' => 'يجب أن تكون السمة أقل من أو تساوي: أحرف القيمة.',
+ 'array' => 'يجب ألا تحتوي السمة على أكثر من: عناصر القيمة.',
],
- '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.',
- 'filled' => 'The :attribute field is required.',
- 'exists' => 'The selected :attribute is invalid.',
- 'image' => 'The :attribute must be an image.',
- 'in' => 'The selected :attribute is invalid.',
- 'integer' => 'The :attribute must be an integer.',
- 'ip' => 'The :attribute must be a valid IP address.',
'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 أكبر من :max.',
+ 'file' => 'يجب ألا يكون :attribute أكبر من :max كيلو بايت.',
+ 'string' => 'يجب ألا يكون :attribute أكثر من :max حرف / حروف.',
+ 'array' => 'يجب ألا يحتوي :attribute على أكثر من :max عنصر / عناصر.',
],
- 'mimes' => 'The :attribute must be a file of type: :values.',
+ 'mimes' => 'يجب أن يكون :attribute ملف من نوع: :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 على الأقل :min.',
+ 'file' => 'يجب أن يكون :attribute على الأقل :min كيلو بايت.',
+ 'string' => 'يجب أن يكون :attribute على الأقل :min حرف / حروف.',
+ 'array' => 'يجب أن يحتوي :attribute على :min عنصر / عناصر كحد أدنى.',
],
- 'not_in' => 'The selected :attribute 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.',
+ 'not_in' => ':attribute المحدد غير صالح.',
+ 'not_regex' => 'صيغة السمة: غير صالحة.',
+ 'numeric' => 'يجب أن يكون :attribute رقم.',
+ 'regex' => 'صيغة :attribute غير صالحة.',
+ 'required' => 'حقل :attribute مطلوب.',
+ 'required_if' => 'حقل :attribute مطلوب عندما يكون :other :value.',
+ 'required_with' => 'حقل :attribute مطلوب عندما تكون :values موجودة.',
+ 'required_with_all' => 'حقل :attribute مطلوب عندما تكون :values موجودة.',
+ 'required_without' => 'حقل :attribute مطلوب عندما تكون :values غير موجودة.',
+ 'required_without_all' => 'حقل :attribute مطلوب عندما لا يكون أي من :values موجودة.',
+ 'same' => 'يجب تطابق :attribute مع :other.',
+ 'safe_url' => 'قد لايكون الرابط المتوفر آمنا.',
'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 بحجم :size.',
+ 'file' => 'يجب أن يكون :attribute بحجم :size كيلو بايت.',
+ 'string' => 'يجب أن يكون :attribute بعدد :size حرف / حروف.',
+ 'array' => 'يجب أن يحتوي :attribute على :size عنصر / عناصر.',
],
- 'string' => 'The :attribute must be a string.',
- 'timezone' => 'The :attribute must be a valid zone.',
- 'unique' => 'The :attribute has already been taken.',
- 'url' => 'The :attribute format is invalid.',
-
- /*
- |--------------------------------------------------------------------------
- | 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.
- |
- */
+ 'string' => 'يجب أن تكون السمة: سلسلة.',
+ 'timezone' => 'يجب أن تكون :attribute منطقة صالحة.',
+ 'totp' => 'The provided code is not valid or has expired.',
+ 'unique' => 'تم حجز :attribute من قبل.',
+ 'url' => 'صيغة :attribute غير صالحة.',
+ 'uploaded' => 'تعذر تحميل الملف. قد لا يقبل الخادم ملفات بهذا الحجم.',
+ // Custom validation lines
'custom' => [
'password-confirm' => [
- 'required_with' => 'Password confirmation required',
+ 'required_with' => 'يجب تأكيد كلمة المرور',
],
],
- /*
- |--------------------------------------------------------------------------
- | 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.
- |
- */
-
+ // Custom validation attributes
'attributes' => [],
-
];