validation.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. 'accepted_if' => ':other යනු :value වන විට :attribute පිළිගත යුතුය.',
  15. 'active_url' => ':attribute වලංගු URL එකක් නොවේ.',
  16. 'after' => ':attribute යනු :date ට පසු දිනයක් විය යුතුය.',
  17. 'after_or_equal' => ':attribute යනු :date ට සමාන හෝ ඊට පසු දිනයක් විය යුතුය.',
  18. 'alpha' => ':attribute හි අකුරු පමණක් අඩංගු විය යුතුය.',
  19. 'alpha_dash' => ':attribute හි අකුරු, සංඛ්‍යා, ඉරි සහ යටි ඉරි පමණක් අඩංගු විය යුතුය.',
  20. 'alpha_num' => ':attribute හි අකුරු සහ සංඛ්‍යා පමණක් අඩංගු විය යුතුය.',
  21. 'array' => ':attribute අරාවක් විය යුතුය.',
  22. 'before' => ':attribute යනු :date ට පෙර දිනයක් විය යුතුය.',
  23. 'before_or_equal' => ':attribute යනු :date ට සමාන හෝ ඊට පෙර දිනයක් විය යුතුය.',
  24. 'between' => [
  25. 'numeric' => ':attribute යනු :min සහ :max අතර විය යුතුය.',
  26. 'file' => ':attribute යනු :min සහ :max කිලෝබයිට් අතර විය යුතුය.',
  27. 'string' => ':attribute යනු :min සහ :max අක්ෂර අතර විය යුතුය.',
  28. 'array' => ':attribute හි :min සිට :max දක්වා අයිතම තිබිය යුතුය.',
  29. ],
  30. 'boolean' => ':attribute ක්ෂේත්‍රය සත්‍ය හෝ අසත්‍ය විය යුතුය.',
  31. 'confirmed' => ':attribute තහවුරු කිරීම නොගැලපේ.',
  32. 'current_password' => 'මුරපදය වැරදිය.',
  33. 'date' => ':attribute වලංගු දිනයක් නොවේ.',
  34. 'date_equals' => ':attribute යනු :date ට සමාන දිනයක් විය යුතුය.',
  35. 'date_format' => ':attribute :format ආකෘතිය සමඟ නොගැලපේ.',
  36. 'declined' => ':attribute ප්‍රතික්ෂේප කළ යුතුය.',
  37. 'declined_if' => ':other යනු :value වන විට :attribute ප්‍රතික්ෂේප කළ යුතුය.',
  38. 'different' => ':attribute සහ :other වෙනස් විය යුතුය.',
  39. 'digits' => ':attribute :digits ඉලක්කම් විය යුතුය.',
  40. 'digits_between' => ':attribute :min සහ :max ඉලක්කම් අතර විය යුතුය.',
  41. 'dimensions' => ':attribute හි වලංගු නොවන රූප මිම්ම් ඇත.',
  42. 'distinct' => ':attribute ක්ෂේත්‍රයේ අනුපිටපත් අගයක් ඇත.',
  43. 'email' => ':attribute වලංගු විද්‍යුත් තැපෑල් ලිපිනයක් විය යුතුය.',
  44. 'ends_with' => ':attribute පහත ඒවායින් එකක් සමඟ අවසන් විය යුතුය: :values.',
  45. 'enum' => 'තෝරාගත් :attribute වලංගු නොවේ.',
  46. 'exists' => 'තෝරාගත් :attribute දැනටමත් පවතී.',
  47. 'file' => ':attribute ගොනුවක් විය යුතුය.',
  48. 'filled' => ':attribute ක්ෂේත්‍රයේ අගයක් තිබිය යුතුය.',
  49. 'gt' => [
  50. 'numeric' => ':attribute :value ට වඩා වැඩි විය යුතුය.',
  51. 'file' => ':attribute :value කිලෝබයිට් ට වඩා වැඩි විය යුතුය.',
  52. 'string' => ':attribute :value අක්ෂරයන්ට වඩා වැඩි විය යුතුය.',
  53. 'array' => ':attribute හි :value ට වඩා වැඩි අයිතම තිබිය යුතුය.',
  54. ],
  55. 'gte' => [
  56. 'numeric' => ':attribute :value ට සමාන හෝ වැඩි විය යුතුය.',
  57. 'file' => ':attribute :value කිලෝබයිට් ට සමාන හෝ වැඩි විය යුතුය.',
  58. 'string' => ':attribute :value අක්ෂරයන්ට සමාන හෝ වැඩි විය යුතුය.',
  59. 'array' => ':attribute හි :value හෝ ඊට වැඩි අයිතම තිබිය යුතුය.',
  60. ],
  61. 'image' => ':attribute රූපයක් විය යුතුය.',
  62. 'in' => 'තෝරාගත් :attribute වලංගු නොවේ.',
  63. 'in_array' => ':attribute ක්ෂේත්‍රය :other හි නොපවතී.',
  64. 'integer' => ':attribute පූර්ණ සංඛ්‍යාවක් විය යුතුය.',
  65. 'ip' => ':attribute වලංගු IP ලිපිනයක් විය යුතුය.',
  66. 'ipv4' => ':attribute වලංගු IPv4 ලිපිනයක් විය යුතුය.',
  67. 'ipv6' => ':attribute වලංගු IPv6 ලිපිනයක් විය යුතුය.',
  68. 'mac_address' => ':attribute වලංගු MAC ලිපිනයක් විය යුතුය.',
  69. 'json' => ':attribute වලංගු JSON තන්තුවක් විය යුතුය.',
  70. 'lt' => [
  71. 'numeric' => ':attribute :value ට වඩා අඩු විය යුතුය.',
  72. 'file' => ':attribute :value කිලෝබයිට් ට වඩා අඩු විය යුතුය.',
  73. 'string' => ':attribute :value අක්ෂරයන්ට වඩා අඩු විය යුතුය.',
  74. 'array' => ':attribute හි :value ට වඩා අඩු අයිතම තිබිය යුතුය.',
  75. ],
  76. 'lte' => [
  77. 'numeric' => ':attribute :value ට සමාන හෝ අඩු විය යුතුය.',
  78. 'file' => ':attribute :value කිලෝබයිට් ට සමාන හෝ අඩු විය යුතුය.',
  79. 'string' => ':attribute :value අක්ෂරයන්ට සමාන හෝ අඩු විය යුතුය.',
  80. 'array' => ':attribute හි :value ට වඩා වැඩි අයිතම නොතිබිය යුතුය.',
  81. ],
  82. 'max' => [
  83. 'numeric' => ':attribute :max ට වඩා වැඩි නොවිය යුතුය.',
  84. 'file' => ':attribute :max කිලෝබයිට් ට වඩා වැඩි නොවිය යුතුය.',
  85. 'string' => ':attribute :max අක්ෂරයන්ට වඩා වැඩි නොවිය යුතුය.',
  86. 'array' => ':attribute හි :max ට වඩා වැඩි අයිතම නොතිබිය යුතුය.',
  87. ],
  88. 'mimes' => ':attribute :values ආකාරයේ ගොනුවක් විය යුතුය.',
  89. 'mimetypes' => ':attribute :values ආකාරයේ ගොනුවක් විය යුතුය.',
  90. 'min' => [
  91. 'numeric' => ':attribute අවම වශයෙන් :min විය යුතුය.',
  92. 'file' => ':attribute අවම වශයෙන් :min කිලෝබයිට් විය යුතුය.',
  93. 'string' => ':attribute අවම වශයෙන් :min අක්ෂර විය යුතුය.',
  94. 'array' => ':attribute හි අවම වශයෙන් :min අයිතම තිබිය යුතුය.',
  95. ],
  96. 'multiple_of' => ':attribute :value ගුණයක් විය යුතුය.',
  97. 'not_in' => 'තෝරාගත් :attribute වලංගු නොවේ.',
  98. 'not_regex' => ':attribute ආකෘතිය වලංගු නොවේ.',
  99. 'numeric' => ':attribute සංඛ්‍යාවක් විය යුතුය.',
  100. 'password' => 'මුරපදය වැරදිය.',
  101. 'present' => ':attribute ක්ෂේත්‍රය තිබිය යුතුය.',
  102. 'prohibited' => ':attribute ක්ෂේත්‍රය තහනම් කර ඇත.',
  103. 'prohibited_if' => ':other යනු :value වන විට :attribute ක්ෂේත්‍රය තහනම් කර ඇත.',
  104. 'prohibited_unless' => ':other :values හි නොමැති නම් :attribute ක්ෂේත්‍රය තහනම් කර ඇත.',
  105. 'prohibits' => ':attribute ක්ෂේත්‍රය :other තිබීම තහනම් කරයි.',
  106. 'regex' => ':attribute ආකෘතිය වලංගු නොවේ.',
  107. 'required' => ':attribute ක්ෂේත්‍රය අවශ්‍ය වේ.',
  108. 'required_if' => ':other යනු :value වන විට :attribute ක්ෂේත්‍රය අවශ්‍ය වේ.',
  109. 'required_unless' => ':other :values හි නොමැති නම් :attribute ක්ෂේත්‍රය අවශ්‍ය වේ.',
  110. 'required_with' => ':values තිබෙන විට :attribute ක්ෂේත්‍රය අවශ්‍ය වේ.',
  111. 'required_with_all' => ':values තිබෙන විට :attribute ක්ෂේත්‍රය අවශ්‍ය වේ.',
  112. 'required_without' => ':values නොමැති විට :attribute ක්ෂේත්‍රය අවශ්‍ය වේ.',
  113. 'required_without_all' => ':values කිසිවක් නොමැති විට :attribute ක්ෂේත්‍රය අවශ්‍ය වේ.',
  114. 'same' => ':attribute සහ :other ගැලපිය යුතුය.',
  115. 'size' => [
  116. 'numeric' => ':attribute :size විය යුතුය.',
  117. 'file' => ':attribute :size කිලෝබයිට් විය යුතුය.',
  118. 'string' => ':attribute :size අක්ෂර විය යුතුය.',
  119. 'array' => ':attribute හි :size අයිතම අඩංගු විය යුතුය.',
  120. ],
  121. 'starts_with' => ':attribute පහත ඒවායින් එකක් සමඟ ආරම්භ විය යුතුය: :values.',
  122. 'string' => ':attribute තන්තුවක් විය යුතුය.',
  123. 'timezone' => ':attribute වලංගු වේලා කලාපයක් විය යුතුය.',
  124. 'unique' => ':attribute දැනටමත් ගෙන ඇත.',
  125. 'uploaded' => ':attribute උඩුගත කිරීම අසාර්ථක විය.',
  126. 'url' => ':attribute වලංගු URL එකක් විය යුතුය.',
  127. 'uuid' => ':attribute වලංගු UUID එකක් විය යුතුය.',
  128. /*
  129. |--------------------------------------------------------------------------
  130. | Custom Validation Language Lines
  131. |--------------------------------------------------------------------------
  132. |
  133. | Here you may specify custom validation messages for attributes using the
  134. | convention "attribute.rule" to name the lines. This makes it quick to
  135. | specify a specific custom language line for a given attribute rule.
  136. |
  137. */
  138. 'custom' => [
  139. 'attribute-name' => [
  140. 'rule-name' => 'custom-message',
  141. ],
  142. ],
  143. /*
  144. |--------------------------------------------------------------------------
  145. | Custom Validation Attributes
  146. |--------------------------------------------------------------------------
  147. |
  148. | The following language lines are used to swap our attribute placeholder
  149. | with something more reader friendly such as "E-Mail Address" instead
  150. | of "email". This simply helps us make our message more expressive.
  151. |
  152. */
  153. 'attributes' => [],
  154. ];