From fc4d70fb019dd9c8aff9664ab4a9ef88c6930bfa Mon Sep 17 00:00:00 2001 From: HireDiversity Date: Wed, 23 Aug 2023 12:10:29 +0900 Subject: [PATCH] =?UTF-8?q?FIX:=20=EC=9E=90=EC=B2=B4=ED=8F=BC=20=EC=8B=A0?= =?UTF-8?q?=EC=B2=AD=20=EA=B8=B0=EA=B0=84=20=EC=95=84=EB=8B=90=20=EB=95=8C?= =?UTF-8?q?=20=ED=91=9C=EC=8B=9C=EB=90=98=EB=8A=94=20=EA=B8=B0=EB=B3=B8=20?= =?UTF-8?q?=EB=AC=B8=EA=B5=AC=20=EB=B0=8F=20=EC=8B=9C=EC=9E=91=EC=9D=BC/?= =?UTF-8?q?=EC=A2=85=EB=A3=8C=EC=9D=BC=20=EB=AC=B8=EA=B5=AC=20=EB=B2=88?= =?UTF-8?q?=EC=97=AD=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/FormPage/PageSorry.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/components/FormPage/PageSorry.tsx b/components/FormPage/PageSorry.tsx index 1f499ad..120d088 100644 --- a/components/FormPage/PageSorry.tsx +++ b/components/FormPage/PageSorry.tsx @@ -6,12 +6,16 @@ import { Auth } from 'fe-modules/models/auth'; import { FormPageProps } from 'fe-modules/models/FormPage/FormPage'; import { FormUISetting } from 'fe-modules/models/FormUI/FormUI'; import { SupportLanguage } from 'fe-modules/models/lang'; +import { useTranslation } from 'next-i18next'; import { useForm } from 'react-hook-form'; export default function PageSorry({ props, lang, auth }: { props: FormPageProps; lang: SupportLanguage; auth: Auth }) { + const { t } = useTranslation('customForm'); + useEffect(() => { scrollTo(0, 0); }, []); + return ( <> @@ -20,13 +24,13 @@ export default function PageSorry({ props, lang, auth }: { props: FormPageProps; - Start Date + {t('신청기간아님.시작일')} {props.startDate ? new Date(props.startDate).toLocaleString() : '-'} - End Date + {t('신청기간아님.종료일')} {props.endDate ? new Date(props.endDate).toLocaleString() : '-'} @@ -40,10 +44,8 @@ export default function PageSorry({ props, lang, auth }: { props: FormPageProps; auth={auth} /> ) : ( - - The application period is not open now. -
- Please check the application period. + + {t('신청기간아님.본문')} )}