알림함 페이지 및 컴포넌트 다국어화 완료

- 알림함 페이지 다국어화
  * 헤더 타이틀: 알림함 → Notifications
  * 전체 탭 버튼 다국어화
- 알림 컴포넌트 다국어화
  * alarm-list: 90일 보관 안내 메시지
  * alarm-item: 바로가기 alt 텍스트 (파라미터 지원)
- 번역 키 추가: alarm 네임스페이스 4개 키
  * title, all, retentionNotice, goTo
- 파라미터화된 번역 지원 ({{category}})

🤖 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 18:24:48 +09:00
parent f0a157b2c3
commit 9a73626422
5 changed files with 24 additions and 8 deletions

View File

@@ -6,6 +6,7 @@ import { useAppAlarmMarkMutation } from '../api/use-app-alarm-mark-mutation';
import { AppAlarmMarkParams, AppAlarmMarkResponse } from '../model/types';
import { useStore } from '@/shared/model/store';
import { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
export interface AlarmItemProps {
appNotificationSequence?: number;
@@ -27,6 +28,7 @@ export const AlarmItem = ({
appNotificationCategories
}: AlarmItemProps) => {
const { navigate } = useNavigate();
const { t } = useTranslation();
let userInfo = useStore.getState().UserStore.userInfo;
const {mutateAsync: appAlarmMark} = useAppAlarmMarkMutation();
@@ -107,9 +109,9 @@ export const AlarmItem = ({
</div>
</div>
<div className="notice-arrow">
<img
<img
src={ IMAGE_ROOT + '/Forward.svg' }
alt={ appNotificationCategoryName + ' 바로가기' }
alt={t('alarm.goTo', { category: appNotificationCategoryName })}
/>
</div>
</div>

View File

@@ -123,7 +123,7 @@ export const AlarmList = ({
{ getAlarmItems() }
</div>
<div ref={ setTarget }></div>
<div className="notice-alert"> 90 .</div>
<div className="notice-alert">{t('alarm.retentionNotice')}</div>
</>
);
};