validation.php 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Validation Language Lines
  5. |--------------------------------------------------------------------------
  6. |
  7. | The following language lines contain the default error messages used by
  8. | the validator class. Some of these rules have multiple versions such
  9. | as the size rules. Feel free to tweak each of these messages here.
  10. |
  11. */
  12. return [
  13. 'accepted' => 'Kenttä :attribute tulee hyväksyä.',
  14. 'accepted_if' => 'The :attribute must be accepted when :other is :value.',
  15. 'active_url' => 'Kentän :attribute tulee olla kelvollinen URL-osoite.',
  16. 'after' => 'Kentän :attribute päiväyksen tulee olla jälkeen :date.',
  17. 'after_or_equal' => 'Kentän :attribute päiväyksen tulee olla sama ja jälkeen :date',
  18. 'alpha' => 'Kenttä :attribute voi sisältää vain kirjaimia.',
  19. 'alpha_dash' => 'Kenttä :attribute voi sisältää vain kirjaimia, numeroita ja viivoja.',
  20. 'alpha_num' => 'Kenttä :attribute voi sisältää vain kirjaimia ja numeroita.',
  21. 'array' => 'Kenttä :attribute tulee olla taulukko.',
  22. 'attached' => 'Tämä :attribute on jo kiinnitetty.',
  23. 'before' => 'Kentän :attribute päiväyksen tulee olla ennen :date.',
  24. 'before_or_equal' => 'Kentän :attribute päiväyksen tulee olla sama tai ennen kuin :date.',
  25. 'between' => [
  26. 'array' => 'Kentän :attribute tulee sisältää välillä :min - :max arvoa.',
  27. 'file' => 'Tiedoston :attribute tulee olla :min - :max kilotavua.',
  28. 'numeric' => 'Kentän :attribute tulee olla välillä :min - :max.',
  29. 'string' => 'Kentän :attribute tulee olla :min - :max merkkiä pitkä.',
  30. ],
  31. 'boolean' => 'Kentän :attribute arvon tulee olla tosi tai epätosi.',
  32. 'confirmed' => 'Kentän :attribute vahvistus ei täsmää.',
  33. 'current_password' => 'The password is incorrect.',
  34. 'date' => 'Kentän :attribute arvo ei ole kelvollinen päivämäärä.',
  35. 'date_equals' => ':attribute on oltava sama päivämäärä kuin :date.',
  36. 'date_format' => 'Kentän :attribute arvo ei vastaa muotoa :format.',
  37. 'declined' => 'The :attribute must be declined.',
  38. 'declined_if' => 'The :attribute must be declined when :other is :value.',
  39. 'different' => 'Kenttien :attribute ja :other tulee olla eriarvoisia.',
  40. 'digits' => 'Kentän :attribute arvon on oltava :digits numeroa.',
  41. 'digits_between' => 'Kentän :attribute arvon tulee olla :min - :max numeroa.',
  42. 'dimensions' => 'Kentän :attribute kuvalla on virheelliset mitat.',
  43. 'distinct' => 'Kentän :attribute arvo ei ole uniikki.',
  44. 'email' => 'Kentän :attribute arvo ei ole validi sähköpostiosoite.',
  45. 'ends_with' => ':attribute: n on päätyttävä jompaankumpaan seuraavista: :values.',
  46. 'exists' => 'Kentän :attribute valittu arvo on virheellinen.',
  47. 'file' => 'Kentän :attribute arvon tulee olla tiedosto.',
  48. 'filled' => 'Kenttä :attribute on pakollinen.',
  49. 'gt' => [
  50. 'array' => 'Kentän :attribute tulee sisältää enemmän kuin :value arvoa.',
  51. 'file' => 'Tiedoston :attribute tulee olla suurempi kuin :value kilotavua.',
  52. 'numeric' => 'Kentän :attribute arvo tulee olla suurempi kuin :value.',
  53. 'string' => 'Kentän :attribute arvo tulee olla pidempi kuin :value merkkiä.',
  54. ],
  55. 'gte' => [
  56. 'array' => 'Kentän :attribute tulee sisältää :value arvoa tai enemmän.',
  57. 'file' => 'Tiedoston :attribute tulee olla suurempi tai yhtäsuuri kuin :value kilotavua.',
  58. 'numeric' => 'Kentän :attribute arvo tulee olla suurempi tai yhtäsuuri kuin :value.',
  59. 'string' => 'Kentän :attribute arvo tulee olla pidempi tai yhtä pitkä kuin :value merkkiä.',
  60. ],
  61. 'image' => 'Kentän :attribute arvon tulee olla kuva.',
  62. 'in' => 'Kentän :attribute arvo on virheellinen.',
  63. 'in_array' => 'Kentän :attribute arvo ei sisälly kentän :other arvoon.',
  64. 'integer' => 'Kentän :attribute arvon tulee olla numero.',
  65. 'ip' => 'Kentän :attribute arvon tulee olla validi IP-osoite.',
  66. 'ipv4' => 'Kentän :attribute arvon tulee olla validi IPv4-osoite.',
  67. 'ipv6' => 'Kentän :attribute arvon tulee olla validi IPv6-osoite.',
  68. 'json' => 'Kentän :attribute arvon tulee olla validia JSON:ia.',
  69. 'lt' => [
  70. 'array' => 'Kentän :attribute tulee sisältää vähemmän kuin :value arvoa.',
  71. 'file' => 'Tiedoston :attribute tulee olla pienempi kuin :value kilotavua.',
  72. 'numeric' => 'Kentän :attribute arvo tulee olla pienempi kuin :value.',
  73. 'string' => 'Kentän :attribute arvo tulee olla lyhyempi kuin :value merkkiä.',
  74. ],
  75. 'lte' => [
  76. 'array' => 'Kentän :attribute tulee sisältää :value arvoa tai vähemmän.',
  77. 'file' => 'Tiedoston :attribute tulee olla pienempi tai yhtäsuuri kuin :value kilotavua.',
  78. 'numeric' => 'Kentän :attribute arvo tulee olla pienempi tai yhtäsuuri kuin :value.',
  79. 'string' => 'Kentän :attribute arvo tulee olla lyhyempi tai yhtä pitkä kuin :value merkkiä.',
  80. ],
  81. 'max' => [
  82. 'array' => 'Kentän :attribute ei tule sisältää enempää kuin :max arvoa.',
  83. 'file' => 'Tiedoston :attribute tulee olla enintään :max kilobittiä.',
  84. 'numeric' => 'Kentän arvon :attribute tulee olla enintään :max.',
  85. 'string' => 'Kentän :attribute arvon tulee olla enintään :max merkkiä pitkä.',
  86. ],
  87. 'mimes' => 'Kentän :attribute arvon tulee olla tiedostotyyppiä: :values.',
  88. 'mimetypes' => 'Kentän :attribute arvon tulee olla tiedostotyyppiä: :values.',
  89. 'min' => [
  90. 'array' => 'Kentän :attribute tulee sisältää vähintään :min arvoa.',
  91. 'file' => 'Tiedoston :attribute tulee olla vähintään :min kilobittiä.',
  92. 'numeric' => 'Kentän :attribute arvon tulee olla vähintään :min.',
  93. 'string' => 'Kentän :attribute arvon tulee olla vähintään :min merkkiä.',
  94. ],
  95. 'multiple_of' => ':attribute: n on oltava :value: n kerrannainen',
  96. 'not_in' => 'Kentän :attribute arvo on virheellinen.',
  97. 'not_regex' => 'Kentän :attribute formaatti on virheellinen.',
  98. 'numeric' => 'Kentän :attribute arvon tulee olla numero.',
  99. 'password' => 'Salasana on väärä.',
  100. 'present' => 'Kenttä :attribute vaaditaan.',
  101. 'prohibited' => ':attribute-kenttä on kielletty.',
  102. 'prohibited_if' => ':attribute-kenttä on kielletty, kun :other on :value.',
  103. 'prohibited_unless' => ':attribute-kenttä on kielletty, ellei :other ole kohteessa :values.',
  104. 'prohibits' => 'The :attribute field prohibits :other from being present.',
  105. 'regex' => 'Kentän :attribute arvo on väärää muotoa.',
  106. 'relatable' => 'Tätä :attribute: ää ei saa yhdistää tähän resurssiin.',
  107. 'required' => 'Kenttä :attribute vaaditaan.',
  108. 'required_if' => 'Kenttä :attribute vaaditaan kun :other on :value.',
  109. 'required_unless' => 'Kenttä :attribute vaaditaan jos :other ei sisälly arvoihin :values.',
  110. 'required_with' => 'Kenttä :attribute vaaditaan kun arvo :values on annettu.',
  111. 'required_with_all' => 'Kenttä :attribute vaaditaan kun arvo :values on annettu.',
  112. 'required_without' => 'Kenttä :attribute vaaditaan kun arvoa :values ei ole annettu.',
  113. 'required_without_all' => 'Kenttä :attribute vaaditaan kun mitään arvoista :values ei ole annettu.',
  114. 'same' => 'Kenttien :attribute ja :other on oltava samanarvoiset.',
  115. 'size' => [
  116. 'array' => 'Kentän :attribute tulee sisältää :size arvoa.',
  117. 'file' => 'Tiedoston :attribute tulee olla kokoa :size kilobittiä.',
  118. 'numeric' => 'Kentän :attribute arvon tulee olla kokoa :size.',
  119. 'string' => 'Kentän :attribute arvon tulee olla kokoa :size merkkiä.',
  120. ],
  121. 'starts_with' => 'Attribuutin :attribute tulee alkaa yhdellä seuraavista: :values',
  122. 'string' => 'Kentän :attribute arvon tulee olla tekstiä.',
  123. 'timezone' => 'Kentän :attribute arvon tulee olla validi aikavyöhyketunniste.',
  124. 'unique' => 'Kentän :attribute arvo ei ole uniikki.',
  125. 'uploaded' => 'Tiedoston :attribute lataus epäonnistui.',
  126. 'url' => 'Kentän :attribute arvon tulee olla validi URL-osoite.',
  127. 'uuid' => ':attribute tulee olla kelvollinen UUID.',
  128. 'custom' => [
  129. 'attribute-name' => [
  130. 'rule-name' => 'custom-message',
  131. ],
  132. ],
  133. ];