opnform-host-nginx/api/resources/lang/ko/validation.php

124 lines
7.7 KiB
PHP
Raw Normal View History

<?php
return [
'accepted' => ':attribute을(를) 동의해야 합니다.',
'active_url' => ':attribute은(는) 유효한 URL이 아닙니다.',
'after' => ':attribute은(는) :date 이후 날짜여야 합니다.',
'after_or_equal' => ':attribute은(는) :date 이후 날짜이거나 같은 날짜여야 합니다.',
'alpha' => ':attribute은(는) 문자만 포함할 수 있습니다.',
'alpha_dash' => ':attribute은(는) 문자, 숫자, 대시(-), 밑줄(_)만 포함할 수 있습니다.',
'alpha_num' => ':attribute은(는) 문자와 숫자만 포함할 수 있습니다.',
'array' => ':attribute은(는) 배열이어야 합니다.',
'before' => ':attribute은(는) :date 이전 날짜여야 합니다.',
'before_or_equal' => ':attribute은(는) :date 이전 날짜이거나 같은 날짜여야 합니다.',
'between' => [
'numeric' => ':attribute은(는) :min에서 :max 사이여야 합니다.',
'file' => ':attribute은(는) :min에서 :max 킬로바이트 사이여야 합니다.',
'string' => ':attribute은(는) :min에서 :max 문자 사이여야 합니다.',
'array' => ':attribute은(는) :min에서 :max 개의 항목이 있어야 합니다.',
],
'boolean' => ':attribute은(는) true 또는 false 이어야 합니다.',
'confirmed' => ':attribute 확인이 일치하지 않습니다.',
'date' => ':attribute은(는) 유효한 날짜가 아닙니다.',
'date_equals' => ':attribute은(는) :date와(과) 같은 날짜여야 합니다.',
'date_format' => ':attribute이(가) :format 형식과 일치하지 않습니다.',
'different' => ':attribute와(과) :other은(는) 서로 달라야 합니다.',
'digits' => ':attribute은(는) :digits 자리 숫자여야 합니다.',
'digits_between' => ':attribute은(는) :min에서 :max 자리 사이여야 합니다.',
'dimensions' => ':attribute은(는) 유효하지 않은 이미지 크기입니다.',
'distinct' => ':attribute 필드에 중복된 값이 있습니다.',
'email' => ':attribute은(는) 유효한 이메일 주소여야 합니다.',
'ends_with' => ':attribute은(는) 다음 중 하나로 끝나야 합니다: :values',
'exists' => '선택된 :attribute이(가) 유효하지 않습니다.',
'file' => ':attribute은(는) 파일이어야 합니다.',
'filled' => ':attribute 필드는 값이 있어야 합니다.',
'gt' => [
'numeric' => ':attribute은(는) :value보다 커야 합니다.',
'file' => ':attribute은(는) :value킬로바이트보다 커야 합니다.',
'string' => ':attribute은(는) :value자보다 길어야 합니다.',
'array' => ':attribute은(는) :value개보다 많은 항목이 있어야 합니다.',
],
'gte' => [
'numeric' => ':attribute은(는) :value보다 크거나 같아야 합니다.',
'file' => ':attribute은(는) :value킬로바이트보다 크거나 같아야 합니다.',
'string' => ':attribute은(는) :value자보다 길거나 같아야 합니다.',
'array' => ':attribute은(는) :value개 이상의 항목이 있어야 합니다.',
],
'image' => ':attribute은(는) 이미지여야 합니다.',
'in' => '선택된 :attribute이(가) 유효하지 않습니다.',
'in_array' => ':attribute 필드가 :other에 존재하지 않습니다.',
'integer' => ':attribute은(는) 정수여야 합니다.',
'ip' => ':attribute은(는) 유효한 IP 주소여야 합니다.',
'ipv4' => ':attribute은(는) 유효한 IPv4 주소여야 합니다.',
'ipv6' => ':attribute은(는) 유효한 IPv6 주소여야 합니다.',
'json' => ':attribute은(는) 유효한 JSON 문자열이어야 합니다.',
'lt' => [
'numeric' => ':attribute은(는) :value보다 작아야 합니다.',
'file' => ':attribute은(는) :value킬로바이트보다 작아야 합니다.',
'string' => ':attribute은(는) :value자보다 짧아야 합니다.',
'array' => ':attribute은(는) :value개보다 적은 항목이 있어야 합니다.',
],
'lte' => [
'numeric' => ':attribute은(는) :value보다 작거나 같아야 합니다.',
'file' => ':attribute은(는) :value킬로바이트보다 작거나 같아야 합니다.',
'string' => ':attribute은(는) :value자보다 짧거나 같아야 합니다.',
'array' => ':attribute은(는) :value개보다 많은 항목이 있어서는 안 됩니다.',
],
'max' => [
'numeric' => ':attribute은(는) :max보다 클 수 없습니다.',
'file' => ':attribute은(는) :max킬로바이트보다 클 수 없습니다.',
'string' => ':attribute은(는) :max자보다 클 수 없습니다.',
'array' => ':attribute은(는) :max개보다 많은 항목을 가질 수 없습니다.',
],
'mimes' => ':attribute은(는) 다음의 파일 형식이어야 합니다: :values.',
'mimetypes' => ':attribute은(는) 다음의 파일 형식이어야 합니다: :values.',
'min' => [
'numeric' => ':attribute은(는) 최소한 :min이어야 합니다.',
'file' => ':attribute은(는) 최소한 :min킬로바이트이어야 합니다.',
'string' => ':attribute은(는) 최소한 :min자이어야 합니다.',
'array' => ':attribute은(는) 최소한 :min개의 항목이 있어야 합니다.',
],
'multiple_of' => ':attribute은(는) :value의 배수여야 합니다',
'not_in' => '선택된 :attribute이(가) 유효하지 않습니다.',
'not_regex' => ':attribute의 형식이 올바르지 않습니다.',
'numeric' => ':attribute은(는) 숫자여야 합니다.',
'password' => '비밀번호가 올바르지 않습니다.',
'present' => ':attribute 필드가 있어야 합니다.',
'regex' => ':attribute 형식이 올바르지 않습니다.',
'required' => ':attribute 필드는 필수입니다.',
'required_if' => ':other이(가) :value 일 때 :attribute 필드는 필수입니다.',
'required_unless' => ':other이(가) :values에 없다면 :attribute 필드는 필수입니다.',
'required_with' => ':values이(가) 있는 경우 :attribute 필드는 필수입니다.',
'required_with_all' => ':values이(가) 모두 있는 경우 :attribute 필드는 필수입니다.',
'required_without' => ':values이(가) 없는 경우 :attribute 필드는 필수입니다.',
'required_without_all' => ':values이(가) 모두 없는 경우 :attribute 필드는 필수입니다.',
'same' => ':attribute와(과) :other은(는) 일치해야 합니다.',
'size' => [
'numeric' => ':attribute은(는) :size이어야 합니다.',
'file' => ':attribute은(는) :size킬로바이트여야 합니다.',
'string' => ':attribute은(는) :size자여야 합니다.',
'array' => ':attribute은(는) :size개의 항목을 포함해야 합니다.',
],
'starts_with' => ':attribute은(는) 다음 중 하나로 시작해야 합니다: :values',
'string' => ':attribute은(는) 문자열이어야 합니다.',
'timezone' => ':attribute은(는) 올바른 시간대여야 합니다.',
'unique' => ':attribute은(는) 이미 사용 중입니다.',
'uploaded' => ':attribute을(를) 업로드하지 못했습니다.',
'url' => ':attribute의 형식이 올바르지 않습니다.',
'uuid' => ':attribute은(는) 유효한 UUID여야 합니다.',
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
'attributes' => [],
'invalid_json' => '잘못된 입력입니다. 수정 후 다시 시도해 주세요.',
Add reCAPTCHA support and update captcha provider handling (#647) * Add reCAPTCHA support and update captcha provider handling - Introduced reCAPTCHA as an additional captcha provider alongside hCaptcha. - Updated form request validation to handle different captcha providers based on user selection. - Added a new validation rule for reCAPTCHA. - Modified the forms model to include a 'captcha_provider' field. - Created a migration to add the 'captcha_provider' column to the forms table. - Updated frontend components to support dynamic rendering of captcha based on the selected provider. - Enhanced tests to cover scenarios for both hCaptcha and reCAPTCHA. These changes improve the flexibility of captcha options available to users, enhancing form security and user experience. * fix pint * change comment text * Refactor captcha implementation and integrate new captcha components - Removed the old RecaptchaV2 component and replaced it with a new implementation that supports both reCAPTCHA and hCaptcha through a unified CaptchaInput component. - Updated the OpenForm component to utilize the new CaptchaInput for dynamic captcha rendering based on user-selected provider. - Cleaned up the package.json by removing the deprecated @hcaptcha/vue3-hcaptcha dependency. - Enhanced form initialization to set a default captcha provider. - Improved error handling and cleanup for both reCAPTCHA and hCaptcha scripts. These changes streamline captcha integration, improve maintainability, and enhance user experience by providing a more flexible captcha solution. * Refactor captcha error messages and localization support * Refactor registration process to integrate reCAPTCHA - Replaced hCaptcha implementation with reCAPTCHA in RegisterController and related test cases. - Updated validation rules to utilize g-recaptcha-response instead of h-captcha-response. - Modified RegisterForm component to support reCAPTCHA, including changes to the form data structure and component references. - Enhanced test cases to reflect the new reCAPTCHA integration, ensuring proper validation and response handling. These changes improve security and user experience during the registration process by adopting a more widely used captcha solution. * Fix reCAPTCHA configuration and update RegisterForm styling - Corrected the configuration key for reCAPTCHA in RegisterController from 'services.recaptcha.secret_key' to 'services.re_captcha.secret_key'. - Updated the styling of the Captcha input section in RegisterForm.vue to improve layout consistency. These changes ensure proper reCAPTCHA functionality and enhance the user interface during the registration process. * Fix reCAPTCHA configuration in RegisterTest to use the correct key format - Updated the configuration key for reCAPTCHA in RegisterTest from 'services.recaptcha.secret_key' to 'services.re_captcha.secret_key' to ensure proper functionality during tests. This change aligns the test setup with the recent updates in the reCAPTCHA integration, improving the accuracy of the registration process tests. --------- Co-authored-by: Julien Nahum <julien@nahum.net>
2024-12-18 16:35:09 +01:00
'invalid_captcha' => '잘못된 캡차입니다. 봇이 아님을 증명해 주세요.',
'complete_captcha' => '캡차를 완료해 주세요.',
'yes' => '예',
'no' => '아니오',
];