홈 화면, 메뉴, 네비게이션, 계정 관리 다국어화 완료
- 홈 화면 일/월 탭, 매출/정산 현황 다국어화 - 매출/정산 상세 정보 라벨 다국어화 (승인/취소 건수, 정산한도 등) - 거래 인사이트 및 랭킹 섹션 다국어화 - 요일 이름 동적 번역 기능 추가 (월요일-일요일 → Monday-Sunday) - 계정 관리 화면 다국어화 (계정 상태, 로그인 범위, 권한 설정) - 메뉴 카테고리 다국어화 (en 언어시 menuNameEng 사용) - 즐겨찾기 메뉴 다국어화 - 하단 네비게이션 버튼 다국어화 - 공지사항 제목 다국어화 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import { PATHS } from '@/shared/constants/paths';
|
||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
import {
|
||||
import {
|
||||
FooterProps,
|
||||
FooterItemActiveKey
|
||||
} from '@/entities/common/model/types';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { useAppBridge } from '@/hooks';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
export const FooterNavigation = ({
|
||||
setMenuOn,
|
||||
@@ -14,6 +15,7 @@ export const FooterNavigation = ({
|
||||
setFavoriteEdit
|
||||
}: FooterProps) => {
|
||||
const { navigate } = useNavigate();
|
||||
const { t } = useTranslation();
|
||||
const [isFooterOn, setIsFooterOn] = useState<boolean>(true);
|
||||
|
||||
const onClickToNavigate = (path?: string) => {
|
||||
@@ -32,33 +34,33 @@ export const FooterNavigation = ({
|
||||
inactiveIcon: IMAGE_ROOT + '/home.svg',
|
||||
path: PATHS.home,
|
||||
activeKey: FooterItemActiveKey.Home,
|
||||
title: '홈'
|
||||
title: t('footer.home')
|
||||
},
|
||||
{
|
||||
activeIcon: IMAGE_ROOT + '/chart-active.svg',
|
||||
inactiveIcon: IMAGE_ROOT + '/chart.svg',
|
||||
path: PATHS.transaction.allTransaction.list,
|
||||
activeKey: FooterItemActiveKey.Transaction,
|
||||
title: '거래조회'
|
||||
title: t('footer.transaction')
|
||||
},
|
||||
{
|
||||
activeIcon: IMAGE_ROOT + '/money-active.svg',
|
||||
inactiveIcon: IMAGE_ROOT + '/money.svg',
|
||||
path: PATHS.settlement.list,
|
||||
activeKey: FooterItemActiveKey.Settlement,
|
||||
title: '정산내역'
|
||||
title: t('footer.settlement')
|
||||
},
|
||||
{
|
||||
activeIcon: IMAGE_ROOT + '/users-active.svg',
|
||||
inactiveIcon: IMAGE_ROOT + '/users.svg',
|
||||
path: PATHS.account.user.manage,
|
||||
activeKey: FooterItemActiveKey.Account,
|
||||
title: '사용자관리'
|
||||
title: t('footer.account')
|
||||
},
|
||||
{
|
||||
activeIcon: IMAGE_ROOT + '/more-active.svg',
|
||||
inactiveIcon: IMAGE_ROOT + '/more.svg',
|
||||
title: '더보기'
|
||||
title: t('footer.more')
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user