PageRenderTime 51ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/resources/lang/ar/validation.php

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