|
| 1 | +<?php |
| 2 | + |
| 3 | +return [ |
| 4 | + /* |
| 5 | + |-------------------------------------------------------------------------- |
| 6 | + | Validation Language Lines |
| 7 | + |-------------------------------------------------------------------------- |
| 8 | + | |
| 9 | + | The following language lines contain the default error messages used by |
| 10 | + | the validator class. Some of these rules have multiple versions such |
| 11 | + | as the size rules. Feel free to tweak each of these messages here. |
| 12 | + | |
| 13 | + */ |
| 14 | + |
| 15 | + 'accepted' => 'يجب قبول الحقل :attribute', |
| 16 | + 'active_url' => 'الحقل :attribute لا يُمثّل رابطًا صحيحًا', |
| 17 | + 'after' => 'يجب على الحقل :attribute أن يكون تاريخًا لاحقًا للتاريخ :date.', |
| 18 | + 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', |
| 19 | + 'alpha' => 'يجب أن لا يحتوي الحقل :attribute سوى على حروف', |
| 20 | + 'alpha_dash' => 'يجب أن لا يحتوي الحقل :attribute على حروف، أرقام ومطّات.', |
| 21 | + 'alpha_num' => 'يجب أن يحتوي :attribute على حروفٍ وأرقامٍ فقط', |
| 22 | + 'array' => 'يجب أن يكون الحقل :attribute ًمصفوفة', |
| 23 | + 'before' => 'يجب على الحقل :attribute أن يكون تاريخًا سابقًا للتاريخ :date.', |
| 24 | + 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', |
| 25 | + 'between' => [ |
| 26 | + 'numeric' => 'يجب أن تكون قيمة :attribute محصورة ما بين :min و :max.', |
| 27 | + 'file' => 'يجب أن يكون حجم الملف :attribute محصورًا ما بين :min و :max كيلوبايت.', |
| 28 | + 'string' => 'يجب أن يكون عدد حروف النّص :attribute محصورًا ما بين :min و :max', |
| 29 | + 'array' => 'يجب أن يحتوي :attribute على عدد من العناصر محصورًا ما بين :min و :max', |
| 30 | + ], |
| 31 | + 'boolean' => 'يجب أن تكون قيمة الحقل :attribute إما true أو false ', |
| 32 | + 'confirmed' => 'حقل التأكيد غير مُطابق للحقل :attribute', |
| 33 | + 'date' => 'الحقل :attribute ليس تاريخًا صحيحًا', |
| 34 | + 'date_equals' => 'The :attribute must be a date equal to :date.', |
| 35 | + 'date_format' => 'لا يتوافق الحقل :attribute مع الشكل :format.', |
| 36 | + 'different' => 'يجب أن يكون الحقلان :attribute و :other مُختلفان', |
| 37 | + 'digits' => 'يجب أن يحتوي الحقل :attribute على :digits رقمًا/أرقام', |
| 38 | + 'digits_between' => 'يجب أن يحتوي الحقل :attribute ما بين :min و :max رقمًا/أرقام ', |
| 39 | + 'dimensions' => 'The :attribute has invalid image dimensions.', |
| 40 | + 'distinct' => 'للحقل :attribute قيمة مُكرّرة.', |
| 41 | + 'email' => 'يجب أن يكون :attribute عنوان بريد إلكتروني صحيح البُنية', |
| 42 | + 'ends_with' => 'The :attribute must end with one of the following: :values', |
| 43 | + 'exists' => 'الحقل :attribute لاغٍ', |
| 44 | + 'file' => 'The :attribute must be a file.', |
| 45 | + 'filled' => 'الحقل :attribute إجباري', |
| 46 | + 'gt' => [ |
| 47 | + 'numeric' => 'The :attribute must be greater than :value.', |
| 48 | + 'file' => 'The :attribute must be greater than :value kilobytes.', |
| 49 | + 'string' => 'The :attribute must be greater than :value characters.', |
| 50 | + 'array' => 'The :attribute must have more than :value items.', |
| 51 | + ], |
| 52 | + 'gte' => [ |
| 53 | + 'numeric' => 'The :attribute must be greater than or equal :value.', |
| 54 | + 'file' => 'The :attribute must be greater than or equal :value kilobytes.', |
| 55 | + 'string' => 'The :attribute must be greater than or equal :value characters.', |
| 56 | + 'array' => 'The :attribute must have :value items or more.', |
| 57 | + ], |
| 58 | + 'image' => 'يجب أن يكون الحقل :attribute صورةً', |
| 59 | + 'in' => 'الحقل :attribute لاغٍ', |
| 60 | + 'in_array' => 'الحقل :attribute غير موجود في :other.', |
| 61 | + 'integer' => 'يجب أن يكون الحقل :attribute عددًا صحيحًا', |
| 62 | + 'ip' => 'يجب أن يكون الحقل :attribute عنوان IP ذي بُنية صحيحة', |
| 63 | + 'ipv4' => 'The :attribute must be a valid IPv4 address.', |
| 64 | + 'ipv6' => 'The :attribute must be a valid IPv6 address.', |
| 65 | + 'json' => 'يجب أن يكون الحقل :attribute نصآ من نوع JSON.', |
| 66 | + 'lt' => [ |
| 67 | + 'numeric' => 'The :attribute must be less than :value.', |
| 68 | + 'file' => 'The :attribute must be less than :value kilobytes.', |
| 69 | + 'string' => 'The :attribute must be less than :value characters.', |
| 70 | + 'array' => 'The :attribute must have less than :value items.', |
| 71 | + ], |
| 72 | + 'lte' => [ |
| 73 | + 'numeric' => 'The :attribute must be less than or equal :value.', |
| 74 | + 'file' => 'The :attribute must be less than or equal :value kilobytes.', |
| 75 | + 'string' => 'The :attribute must be less than or equal :value characters.', |
| 76 | + 'array' => 'The :attribute must not have more than :value items.', |
| 77 | + ], |
| 78 | + 'max' => [ |
| 79 | + 'numeric' => 'يجب أن تكون قيمة الحقل :attribute أصغر من :max.', |
| 80 | + 'file' => 'يجب أن يكون حجم الملف :attribute أصغر من :max كيلوبايت', |
| 81 | + 'string' => 'يجب أن لا يتجاوز طول النّص :attribute :max حروفٍ/حرفًا', |
| 82 | + 'array' => 'يجب أن لا يحتوي الحقل :attribute على أكثر من :max عناصر/عنصر.', |
| 83 | + ], |
| 84 | + 'mimes' => 'يجب أن يكون الحقل ملفًا من نوع : :values.', |
| 85 | + 'min' => [ |
| 86 | + 'numeric' => 'يجب أن تكون قيمة الحقل :attribute أكبر من :min.', |
| 87 | + 'file' => 'يجب أن يكون حجم الملف :attribute أكبر من :min كيلوبايت', |
| 88 | + 'string' => 'يجب أن يكون طول النص :attribute أكبر من :min حروفٍ/حرفًا', |
| 89 | + 'array' => 'يجب أن يحتوي الحقل :attribute على الأقل على :min عُنصرًا/عناصر', |
| 90 | + ], |
| 91 | + 'not_in' => 'الحقل :attribute لاغٍ', |
| 92 | + 'not_regex' => 'The :attribute format is invalid.', |
| 93 | + 'numeric' => 'يجب على الحقل :attribute أن يكون رقمًا', |
| 94 | + 'present' => 'The :attribute field must be present.', |
| 95 | + 'regex' => 'صيغة الحقل :attribute .غير صحيحة', |
| 96 | + 'required' => 'الحقل :attribute مطلوب.', |
| 97 | + 'required_if' => 'الحقل :attribute مطلوب في حال ما إذا كان :other يساوي :value.', |
| 98 | + 'required_unless' => 'الحقل :attribute مطلوب في حال ما لم يكن :other يساوي :values.', |
| 99 | + 'required_with' => 'الحقل :attribute إذا توفّر :values.', |
| 100 | + 'required_with_all' => 'الحقل :attribute إذا توفّر :values.', |
| 101 | + 'required_without' => 'الحقل :attribute إذا لم يتوفّر :values.', |
| 102 | + 'required_without_all' => 'الحقل :attribute إذا لم يتوفّر :values.', |
| 103 | + 'same' => 'يجب أن يتطابق الحقل :attribute مع :other', |
| 104 | + 'size' => [ |
| 105 | + 'numeric' => 'يجب أن تكون قيمة :attribute أكبر من :size.', |
| 106 | + 'file' => 'يجب أن يكون حجم الملف :attribute أكبر من :size كيلو بايت.', |
| 107 | + 'string' => 'يجب أن يحتوي النص :attribute عن ما لا يقل عن :size حرفٍ/أحرف.', |
| 108 | + 'array' => 'يجب أن يحتوي الحقل :attribute عن ما لا يقل عن:min عنصرٍ/عناصر', |
| 109 | + ], |
| 110 | + 'starts_with' => 'The :attribute must start with one of the following: :values', |
| 111 | + 'string' => 'يجب أن يكون الحقل :attribute نصآ.', |
| 112 | + 'timezone' => 'يجب أن يكون :attribute نطاقًا زمنيًا صحيحًا', |
| 113 | + 'unique' => 'قيمة الحقل :attribute مُستخدمة من قبل', |
| 114 | + 'url' => 'صيغة الرابط :attribute غير صحيحة', |
| 115 | + 'uuid' => 'The :attribute must be a valid UUID.', |
| 116 | + |
| 117 | + /* |
| 118 | + |-------------------------------------------------------------------------- |
| 119 | + | Custom Validation Language Lines |
| 120 | + |-------------------------------------------------------------------------- |
| 121 | + | |
| 122 | + | Here you may specify custom validation messages for attributes using the |
| 123 | + | convention "attribute.rule" to name the lines. This makes it quick to |
| 124 | + | specify a specific custom language line for a given attribute rule. |
| 125 | + | |
| 126 | + */ |
| 127 | + |
| 128 | + 'custom' => [ |
| 129 | + 'attribute-name' => [ |
| 130 | + 'rule-name' => 'custom-message', |
| 131 | + ], |
| 132 | + ], |
| 133 | + |
| 134 | + /* |
| 135 | + |-------------------------------------------------------------------------- |
| 136 | + | Custom Validation Attributes |
| 137 | + |-------------------------------------------------------------------------- |
| 138 | + | |
| 139 | + | The following language lines are used to swap attribute place-holders |
| 140 | + | with something more reader friendly such as E-Mail Address instead |
| 141 | + | of "email". This simply helps us make messages a little cleaner. |
| 142 | + | |
| 143 | + */ |
| 144 | + |
| 145 | + 'attributes' => [], |
| 146 | +]; |
0 commit comments