Advertisement
Guest User

prevod

a guest
May 22nd, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.52 KB | None | 0 0
  1. <?php
  2.  
  3. return [
  4.  
  5. /*
  6. |--------------------------------------------------------------------------
  7. | Validation Language Lines
  8. |--------------------------------------------------------------------------
  9. |
  10. | The following language lines contain the default error messages used by
  11. | the validator class. Some of these rules have multiple versions such
  12. | as the size rules. Feel free to tweak each of these messages here.
  13. |
  14. */
  15.  
  16. 'accepted' => ':Attribute mora biti prihvaćen.',
  17. 'active_url' => ':Attribute nije važeći link.',
  18. 'after' => ':Attribute mora biti datum poslije :date.',
  19. 'after_or_equal' => ':Attribute mora biti datum poslije ili isti kao :date.',
  20. 'alpha' => ':Attribute mora sadržati samo slova.',
  21. 'alpha_dash' => ':Attribute mora sadržati samo slova, brojeve i crtice.',
  22. 'alpha_num' => ':Attribute mora sadržati samo slova i brojeve.',
  23. 'array' => ':Attribute mora biti niz.',
  24. 'before' => ':Attribute mora biti datum prije :date.',
  25. 'before_or_equal' => ':Attribute mora biti datum prije ili jeti kao :date.',
  26. 'between' => [
  27. 'numeric' => ':Attribute mora biti između :min i :max.',
  28. 'file' => ':Attribute mora biti između :min i :max kilobita.',
  29. 'string' => ':Attribute mora biti između :min i :max karaktera.',
  30. 'array' => ':Attribute mora imati između :min i :max stavki.',
  31. ],
  32. 'boolean' => ':Attribute nije jepravan.',
  33. 'confirmed' => ':Attribute potvrda se ne podudara.',
  34. 'date' => ':Attribute nije važeći datum.',
  35. 'date_format' => ':Attribute se ne podudara sa traženim formatom :format.',
  36. 'different' => ':Attribute i :other mora biti različit.',
  37. 'digits' => ':Attribute moraju biti :digits cifre.',
  38. 'digits_između' => ':Attribute mora biti između :min i :max digits.',
  39. 'dimensions' => ':Attribute sadrži nevažeće dimenzije fotografije.',
  40. 'djetinct' => ':Attribute polje ima dupliciranu vrijednost.',
  41. 'email' => ':Attribute mora biti važeća email adresa.',
  42. 'exjets' => 'Odabrani :attribute je nevažeći.',
  43. 'file' => ':Attribute mora biti dotateka.',
  44. 'filled' => ':Attribute polje mora biti popunjeno.',
  45. 'image' => ':Attribute mora biti slika.',
  46. 'in' => 'Odabrani :attribute je nevažeći.',
  47. 'in_array' => ':Attribute polje ne postoji u :other.',
  48. 'integer' => ':Attribute mora biti cijeli broj.',
  49. 'ip' => ':Attribute mora biti važeća IP adresa.',
  50. 'ipv4' => ':Attribute mora biti važeća IPv4 adresa.',
  51. 'ipv6' => ':Attribute mora biti važeća IPv6 adresa.',
  52. 'json' => ':Attribute mora biti važeći JSON niz.',
  53. 'max' => [
  54. 'numeric' => ':Attribute ne smije biti veći od :max.',
  55. 'file' => ':Attribute ne smije biti veći od :max kilobita.',
  56. 'string' => ':Attribute ne smije biti veći od :max karaktera.',
  57. 'array' => ':Attribute ne smije imati više od :max stavki.',
  58. ],
  59. 'mimes' => ':Attribute mora biti fajl formata :values.',
  60. 'mimetypes' => ':Attribute mora biti fajl formata :values.',
  61. 'min' => [
  62. 'numeric' => ':Attribute mora biti bar :min.',
  63. 'file' => ':Attribute mora biti bar :min kilobitas.',
  64. 'string' => ':Attribute mora biti bar :min karaktera.',
  65. 'array' => ':Attribute mora imati bar :min stavki.',
  66. ],
  67. 'not_in' => 'Odabrani :attribute je nevažeći.',
  68. 'not_regex' => ':Attribute format je nevažeći.',
  69. 'numeric' => ':Attribute mora biti a number.',
  70. 'present' => ':Attribute polje mora biti prisutno.',
  71. 'regex' => ':Attribute format je nevažeći.',
  72. 'required' => ':Attribute polje je potrebno.',
  73. 'required_if' => ':Attribute polje je potrebano kada :other je :value.',
  74. 'required_unless' => ':Attribute polje je potrebano ukoliko :other nije u :values.',
  75. 'required_with' => ':Attribute polje je potrebano kada :values je present.',
  76. 'required_with_all' => ':Attribute polje je potrebano kada :values je present.',
  77. 'required_without' => ':Attribute polje je potrebano kada :values je not present.',
  78. 'required_without_all' => ':Attribute polje je potrebano kada ni jedna od :values nisu prisutne.',
  79. 'same' => ':Attribute i :other se moraju podudarati.',
  80. 'size' => [
  81. 'numeric' => ':Attribute mora biti :size.',
  82. 'file' => ':Attribute mora biti :size kilobita.',
  83. 'string' => ':Attribute mora biti :size karaktera.',
  84. 'array' => ':Attribute mora sadržati :size stavku.',
  85. ],
  86. 'string' => ':Attribute mora biti niz.',
  87. 'timezone' => ':Attribute mora biti važeća vremenska zona.',
  88. 'unique' => ':Attribute je već zazeto.',
  89. 'uploaded' => ':Attribute neuspješan prenos.',
  90. 'url' => ':Attribute format je nevažeći.',
  91.  
  92. /*
  93. |--------------------------------------------------------------------------
  94. | Custom Validation Language Lines
  95. |--------------------------------------------------------------------------
  96. |
  97. | Here you may specify custom validation messages for attributes using the
  98. | convention "attribute.rule" to name the lines. Thje makes it quick to
  99. | specify a specific custom language line for a given attribute rule.
  100. |
  101. */
  102.  
  103. 'custom' => [
  104. 'attribute-name' => [
  105. 'rule-name' => 'custom-message',
  106. ],
  107. ],
  108.  
  109. /*
  110. |--------------------------------------------------------------------------
  111. | Custom Validation Attributes
  112. |--------------------------------------------------------------------------
  113. |
  114. | The following language lines are used to swap attribute place-holders
  115. | with something more reader friendly such as E-Mail adresa instead
  116. | of "email". Thje simply helps us make messages a little cleaner.
  117. |
  118. */
  119.  
  120. 'attributes' => [
  121. 'email' =>'E-mail',
  122. 'password' => 'lozinka'
  123. ],
  124.  
  125. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement