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

- 알림함 페이지 다국어화
  * 헤더 타이틀: 알림함 → 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

@@ -1,18 +1,20 @@
import { AlarmList } from '@/entities/alarm/ui/alarm-list';
import { HeaderType } from '@/entities/common/model/types';
import { useStore } from '@/shared/model/store';
import {
import {
useSetHeaderTitle,
useSetHeaderType,
useSetFooterMode
} from '@/widgets/sub-layout/use-sub-layout';
import { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
export const ListPage = () => {
const { t } = useTranslation();
let totalAppNotificationCategories = useStore.getState().CommonStore.appNotificationCategories;
const [appNotificationCategories, setAppNotificationCategories] = useState<Array<any>>(totalAppNotificationCategories);
useSetHeaderTitle('알림함');
useSetHeaderTitle(t('alarm.title'));
useSetHeaderType(HeaderType.LeftArrow);
useSetFooterMode(false);
@@ -37,10 +39,10 @@ export const ListPage = () => {
<main className="pop">
<div className="sub-wrap">
<div className="notice-tabs">
<button
<button
className={ `tab36 ${(appNotificationCategory === '')? 'on': ''}`}
onClick={ () => setAppNotificationCategory('') }
></button>
>{t('alarm.all')}</button>
{ !!appNotificationCategories &&
appNotificationCategories.map((value, index) => (
<button