validation.php 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <?php
  2. return [
  3. 'accepted' => ':attribute는(은) 수락되어야 합니다.',
  4. 'accepted_if' => ':other가 :value일 때 :attribute는(은) 수락되어야 합니다.',
  5. 'active_url' => ':attribute는(은) 유효한 URL이 아닙니다.',
  6. 'after' => ':attribute는(은) :date 이후의 날짜여야 합니다.',
  7. 'after_or_equal' => ':attribute는(은) :date 이후 또는 같은 날짜여야 합니다.',
  8. 'alpha' => ':attribute는(은) 문자만 포함해야 합니다.',
  9. 'alpha_dash' => ':attribute는(은) 문자, 숫자, 하이픈 및 밑줄만 포함해야 합니다.',
  10. 'alpha_num' => ':attribute는(은) 문자와 숫자만 포함해야 합니다.',
  11. 'array' => ':attribute는(은) 배열이어야 합니다.',
  12. 'ascii' => ':attribute는(은) 단일 바이트 알파벳 숫자 및 기호만 포함해야 합니다.',
  13. 'before' => ':attribute는(은) :date 이전의 날짜여야 합니다.',
  14. 'before_or_equal' => ':attribute는(은) :date 이전 또는 같은 날짜여야 합니다.',
  15. 'between' => [
  16. 'array' => ':attribute는(은) :min에서 :max개의 항목을 가져야 합니다.',
  17. 'file' => ':attribute는(은) :min에서 :max킬로바이트 사이여야 합니다.',
  18. 'numeric' => ':attribute는(은) :min에서 :max 사이여야 합니다.',
  19. 'string' => ':attribute는(은) :min에서 :max자 사이여야 합니다.',
  20. ],
  21. 'boolean' => ':attribute 필드는 true 또는 false이어야 합니다.',
  22. 'confirmed' => ':attribute 확인이 일치하지 않습니다.',
  23. 'current_password' => '비밀번호가 올바르지 않습니다.',
  24. 'date' => ':attribute는(은) 유효한 날짜가 아닙니다.',
  25. 'date_equals' => ':attribute는(은) :date와 같은 날짜여야 합니다.',
  26. 'date_format' => ':attribute는(은) :format 형식과 일치하지 않습니다.',
  27. 'decimal' => ':attribute는(은) :decimal 자리수의 소수점이 있어야 합니다.',
  28. 'declined' => ':attribute는(은) 거부되어야 합니다.',
  29. 'declined_if' => ':other가 :value일 때 :attribute는(은) 거부되어야 합니다.',
  30. 'different' => ':attribute와(과) :other는(은) 달라야 합니다.',
  31. 'digits' => ':attribute는(은) :digits 자리여야 합니다.',
  32. 'digits_between' => ':attribute는(은) :min에서 :max 자리 사이여야 합니다.',
  33. 'dimensions' => ':attribute는(은) 유효하지 않은 이미지 크기를 가지고 있습니다.',
  34. 'distinct' => ':attribute 필드는 중복된 값을 가지고 있습니다.',
  35. 'doesnt_end_with' => ':attribute는(은) 다음 중 하나로 끝나서는 안 됩니다: :values.',
  36. 'doesnt_start_with' => ':attribute는(은) 다음 중 하나로 시작해서는 안 됩니다: :values.',
  37. 'email' => ':attribute는(은) 유효한 이메일 주소여야 합니다.',
  38. 'ends_with' => ':attribute는(은) 다음 중 하나로 끝나야 합니다: :values.',
  39. 'enum' => '선택한 :attribute는(은) 유효하지 않습니다.',
  40. 'exists' => '선택한 :attribute는(은) 유효하지 않습니다.',
  41. 'file' => ':attribute는(은) 파일이어야 합니다.',
  42. 'filled' => ':attribute 필드는 값이 있어야 합니다.',
  43. 'gt' => [
  44. 'array' => ':attribute는(은) :value 개 이상의 항목을 가져야 합니다.',
  45. 'file' => ':attribute는(은) :value 킬로바이트보다 커야 합니다.',
  46. 'numeric' => ':attribute는(은) :value보다 커야 합니다.',
  47. 'string' => ':attribute는(은) :value자보다 커야 합니다.',
  48. ],
  49. 'gte' => [
  50. 'array' => ':attribute는(은) :value 개 이상의 항목을 가져야 합니다.',
  51. 'file' => ':attribute는(은) :value 킬로바이트 이상이어야 합니다.',
  52. 'numeric' => ':attribute는(은) :value 이상이어야 합니다.',
  53. 'string' => ':attribute는(은) :value자 이상이어야 합니다.',
  54. ],
  55. 'image' => ':attribute는(은) 이미지여야 합니다.',
  56. 'in' => '선택한 :attribute는(은) 유효하지 않습니다.',
  57. 'in_array' => ':attribute 필드는 :other에 존재하지 않습니다.',
  58. 'integer' => ':attribute는(은) 정수여야 합니다.',
  59. 'ip' => ':attribute는(은) 유효한 IP 주소여야 합니다.',
  60. 'ipv4' => ':attribute는(은) 유효한 IPv4 주소여야 합니다.',
  61. 'ipv6' => ':attribute는(은) 유효한 IPv6 주소여야 합니다.',
  62. 'json' => ':attribute는(은) 유효한 JSON 문자열이어야 합니다.',
  63. 'lowercase' => ':attribute는(은) 소문자여야 합니다.',
  64. 'lt' => [
  65. 'array' => ':attribute는(은) :value 개 미만의 항목을 가져야 합니다.',
  66. 'file' => ':attribute는(은) :value 킬로바이트보다 작아야 합니다.',
  67. 'numeric' => ':attribute는(은) :value보다 작아야 합니다.',
  68. 'string' => ':attribute는(은) :value자 미만이어야 합니다.',
  69. ],
  70. 'lte' => [
  71. 'array' => ':attribute는(은) :value 개 이상의 항목을 가져서는 안 됩니다.',
  72. 'file' => ':attribute는(은) :value 킬로바이트 이하이어야 합니다.',
  73. 'numeric' => ':attribute는(은) :value 이하이어야 합니다.',
  74. 'string' => ':attribute는(은) :value자 이하이어야 합니다.',
  75. ],
  76. 'mac_address' => ':attribute는(은) 유효한 MAC 주소여야 합니다.',
  77. 'max' => [
  78. 'array' => ':attribute는(은) :max 개 이상의 항목을 가질 수 없습니다.',
  79. 'file' => ':attribute는(은) :max 킬로바이트를 초과할 수 없습니다.',
  80. 'numeric' => ':attribute는(은) :max보다 클 수 없습니다.',
  81. 'string' => ':attribute는(은) :max자보다 클 수 없습니다.',
  82. ],
  83. 'max_digits' => ':attribute는(은) :max 자리수를 초과할 수 없습니다.',
  84. 'mimes' => ':attribute는(은) 다음 유형의 파일이어야 합니다: :values.',
  85. 'mimetypes' => ':attribute는(은) 다음 유형의 파일이어야 합니다: :values.',
  86. 'min' => [
  87. 'array' => ':attribute는(은) 최소한 :min 개의 항목을 가져야 합니다.',
  88. 'file' => ':attribute는(은) 최소한 :min 킬로바이트여야 합니다.',
  89. 'numeric' => ':attribute는(은) 최소한 :min 이어야 합니다.',
  90. 'string' => ':attribute는(은) 최소한 :min 자여야 합니다.',
  91. ],
  92. 'min_digits' => ':attribute는(은) 최소한 :min 자리수를 가져야 합니다.',
  93. 'missing' => ':attribute 필드는 없어야 합니다.',
  94. 'missing_if' => ':other가 :value일 때 :attribute 필드는 없어야 합니다.',
  95. 'missing_unless' => ':other가 :value가 아니면 :attribute 필드는 없어야 합니다.',
  96. 'missing_with' => ':values가 존재할 때 :attribute 필드는 없어야 합니다.',
  97. 'missing_with_all' => ':values가 존재할 때 :attribute 필드는 없어야 합니다.',
  98. 'multiple_of' => ':attribute는(은) :value의 배수여야 합니다.',
  99. 'not_in' => '선택한 :attribute는(은) 유효하지 않습니다.',
  100. 'not_regex' => ':attribute 형식이 유효하지 않습니다.',
  101. 'numeric' => ':attribute는(은) 숫자여야 합니다.',
  102. 'password' => [
  103. 'letters' => ':attribute에는 최소한 하나의 문자가 포함되어야 합니다.',
  104. 'mixed' => ':attribute에는 최소한 하나의 대문자와 하나의 소문자가 포함되어야 합니다.',
  105. 'numbers' => ':attribute에는 최소한 하나의 숫자가 포함되어야 합니다.',
  106. 'symbols' => ':attribute에는 최소한 하나의 기호가 포함되어야 합니다.',
  107. 'uncompromised' => '주어진 :attribute가 데이터 유출에 노출되었습니다. 다른 :attribute를 선택해 주세요.',
  108. ],
  109. 'present' => ':attribute 필드는 존재해야 합니다.',
  110. 'prohibited' => ':attribute 필드는 금지되어 있습니다.',
  111. 'prohibited_if' => ':other가 :value일 때 :attribute 필드는 금지되어 있습니다.',
  112. 'prohibited_unless' => ':other가 :values에 포함되지 않으면 :attribute 필드는 금지되어 있습니다.',
  113. 'prohibits' => ':attribute 필드는 :other가 존재하는 것을 금지합니다.',
  114. 'regex' => ':attribute 형식이 유효하지 않습니다.',
  115. 'required' => ':attribute 필드는 필수입니다.',
  116. 'required_array_keys' => ':attribute 필드는 다음 항목을 포함해야 합니다: :values.',
  117. 'required_if' => ':other가 :value일 때 :attribute 필드는 필수입니다.',
  118. 'required_if_accepted' => ':other가 수락될 때 :attribute 필드는 필수입니다.',
  119. 'required_unless' => ':other가 :values에 포함되지 않으면 :attribute 필드는 필수입니다.',
  120. 'required_with' => ':values가 존재할 때 :attribute 필드는 필수입니다.',
  121. 'required_with_all' => ':values가 존재할 때 :attribute 필드는 필수입니다.',
  122. 'required_without' => ':values가 존재하지 않을 때 :attribute 필드는 필수입니다.',
  123. 'required_without_all' => ':values가 아무것도 존재하지 않을 때 :attribute 필드는 필수입니다.',
  124. 'same' => ':attribute와 :other는 일치해야 합니다.',
  125. 'size' => [
  126. 'array' => ':attribute는(은) :size 개의 항목을 포함해야 합니다.',
  127. 'file' => ':attribute는(은) :size 킬로바이트여야 합니다.',
  128. 'numeric' => ':attribute는(은) :size 여야 합니다.',
  129. 'string' => ':attribute는(은) :size 자여야 합니다.',
  130. ],
  131. 'starts_with' => ':attribute는(은) 다음 중 하나로 시작해야 합니다: :values.',
  132. 'string' => ':attribute는(은) 문자열이어야 합니다.',
  133. 'timezone' => ':attribute는(은) 유효한 시간대여야 합니다.',
  134. 'unique' => ':attribute는(은) 이미 사용 중입니다.',
  135. 'uploaded' => ':attribute를(을) 업로드하는 데 실패했습니다.',
  136. 'uppercase' => ':attribute는(은) 대문자여야 합니다.',
  137. 'url' => ':attribute는(은) 유효한 URL이어야 합니다.',
  138. 'ulid' => ':attribute는(은) 유효한 ULID여야 합니다.',
  139. 'uuid' => ':attribute는(은) 유효한 UUID여야 합니다.',
  140. 'custom' => [
  141. 'attribute-name' => [
  142. 'rule-name' => 'custom-message',
  143. ],
  144. ],
  145. 'attributes' => [],
  146. ];