diff --git a/src/entities/home/ui/auth-reguster.tsx b/src/entities/home/ui/auth-reguster.tsx
index 9ff2ed8..d9db7f8 100644
--- a/src/entities/home/ui/auth-reguster.tsx
+++ b/src/entities/home/ui/auth-reguster.tsx
@@ -3,12 +3,14 @@ import { AuthRegisterProps } from '../model/types';
import { motion } from 'framer-motion';
import { useAppBridge } from '@/hooks/useAppBridge';
import { BottomSheetMotionDuration, BottomSheetMotionVaiants } from '@/entities/common/model/constant';
+import { useTranslation } from 'react-i18next';
export const AuthRegister = ({
setAuthRegisterOn,
authRegisterOn,
}: AuthRegisterProps) => {
const { registerBiometric, closeBiometricRegistrationPopup } = useAppBridge();
+ const { t } = useTranslation();
const onClickToClose = () => {
closeBiometricRegistrationPopup();
@@ -33,14 +35,14 @@ export const AuthRegister = ({
>
-
간편 인증 등록
-
{t('home.biometricRegistration.title')}
+
- onClickToClose() }
/>
@@ -49,22 +51,26 @@ export const AuthRegister = ({
- 간편 인증 등록 한번으로,
- 비밀번호 없이 편리하게 로그인하세요.
+ {t('home.biometricRegistration.description').split('\n').map((line, index) => (
+
+ {line}
+ {index === 0 && }
+
+ ))}
- onClickToClose() }
- >다음에
- {t('home.biometricRegistration.later')}
+ onClickToRegister() }
- >지금 등록하기
+ >{t('home.biometricRegistration.registerNow')}
>
diff --git a/src/entities/home/ui/home-bottom-banner.tsx b/src/entities/home/ui/home-bottom-banner.tsx
index bf54b59..c01a53a 100644
--- a/src/entities/home/ui/home-bottom-banner.tsx
+++ b/src/entities/home/ui/home-bottom-banner.tsx
@@ -11,6 +11,7 @@ import { useEffect, useState } from 'react';
import { Swiper, SwiperSlide } from 'swiper/react';
import 'swiper/css';
import { Autoplay, Pagination } from 'swiper/modules';
+import { useTranslation } from 'react-i18next';
export const HomeBottomBanner = ({
setBottomBannerOn,
@@ -18,7 +19,8 @@ export const HomeBottomBanner = ({
bannerList
}: HomeBottomBannerProps) => {
const { navigate } = useNavigate();
-
+ const { t } = useTranslation();
+
const [isFirstOpen, setIsFirstOpen] = useState(false);
const [currentSlide, setCurrentSlide] = useState(1);
@@ -109,8 +111,8 @@ export const HomeBottomBanner = ({
- onClickToCloseDay() }>오늘 하루 보지 않기
- onClickToClose() }>닫기
+ onClickToCloseDay() }>{t('home.banner.doNotShowToday')}
+ onClickToClose() }>{t('home.banner.close')}
>
diff --git a/src/entities/home/ui/home-notice-item.tsx b/src/entities/home/ui/home-notice-item.tsx
index cd84e3a..0cbe040 100644
--- a/src/entities/home/ui/home-notice-item.tsx
+++ b/src/entities/home/ui/home-notice-item.tsx
@@ -34,9 +34,9 @@ export const HomeNoticeItem = ({
{ t(`support.notice.categories.${informCl}`) }{ moment(regDt).format('YY년 MM월 DD일') }
-
diff --git a/src/locales/en.json b/src/locales/en.json
index 3a8b631..853b9a3 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -325,7 +325,20 @@
"topSalesDays": "Top Sales Days",
"topSalesHours": "Top Sales Hours",
"topPaymentMethods": "Top Payment Methods",
- "noticesAndUpdates": "Notices & Updates"
+ "noticesAndUpdates": "Notices & Updates",
+ "banner": {
+ "doNotShowToday": "Don't show today",
+ "close": "Close"
+ },
+ "biometricRegistration": {
+ "title": "Biometric Authentication Setup",
+ "description": "Register biometric authentication once,\nand log in conveniently without a password.",
+ "later": "Later",
+ "registerNow": "Register Now"
+ },
+ "notice": {
+ "goTo": "Go to Notice"
+ }
},
"settlement": {
"title": "Settlement",
diff --git a/src/locales/ko.json b/src/locales/ko.json
index 0e9ca23..e5a73d8 100644
--- a/src/locales/ko.json
+++ b/src/locales/ko.json
@@ -329,7 +329,20 @@
"topSalesDays": "매출이 가장 높은 요일",
"topSalesHours": "매출이 가장 높은 시간",
"topPaymentMethods": "가장 많이쓰인 결제 수단",
- "noticesAndUpdates": "공지 & 최신정보"
+ "noticesAndUpdates": "공지 & 최신정보",
+ "banner": {
+ "doNotShowToday": "오늘 하루 보지 않기",
+ "close": "닫기"
+ },
+ "biometricRegistration": {
+ "title": "간편 인증 등록",
+ "description": "간편 인증 등록 한번으로,\n비밀번호 없이 편리하게 로그인하세요.",
+ "later": "다음에",
+ "registerNow": "지금 등록하기"
+ },
+ "notice": {
+ "goTo": "공지사항 바로가기"
+ }
},
"settlement": {
"title": "정산조회",