홈 화면, 메뉴, 네비게이션, 계정 관리 다국어화 완료

- 홈 화면 일/월 탭, 매출/정산 현황 다국어화
- 매출/정산 상세 정보 라벨 다국어화 (승인/취소 건수, 정산한도 등)
- 거래 인사이트 및 랭킹 섹션 다국어화
- 요일 이름 동적 번역 기능 추가 (월요일-일요일 → 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:
Jay Sheen
2025-10-29 16:53:23 +09:00
parent 8c352e0c2c
commit 4faa8affb0
10 changed files with 195 additions and 132 deletions

View File

@@ -11,6 +11,7 @@ import { useLocation } from 'react-router';
import { setHomeReloadKey } from '@/pages/home/home-page';
import { useShortcutSaveMutation } from '@/entities/user/api/use-shortcut-save-mutation';
import { ShortcutSaveParams, ShortcutSaveResponse } from '@/entities/user/model/types';
import { useTranslation } from 'react-i18next';
// 상수 정의
const SCROLL_ANIMATION_DURATION = 800;
@@ -35,6 +36,7 @@ export const Menu = ({
setMenuOn,
favoriteEdit
}: MenuProps) => {
const { i18n } = useTranslation();
const userMids = useStore.getState().UserStore.userMids;
const userInfo = useStore.getState().UserStore.userInfo;
const location = useLocation();
@@ -166,7 +168,7 @@ export const Menu = ({
const shortBtnsSetting = () => {
const shortList: ShortButton[] = MenuItems.map((item, index) => ({
menuId: item.menuId,
menuName: item.menuName,
menuName: i18n.language === 'en' && item.menuNameEng ? item.menuNameEng : item.menuName,
index
}));
setShortBtns(shortList);
@@ -227,7 +229,8 @@ export const Menu = ({
useEffect(() => {
shortBtnsSetting();
}, []);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [i18n.language]);
useEffect(() => {
if(favoriteEdit){