diff options
| author | Kimdonghan <dh32110@gmail.com> | 2025-12-03 18:27:43 +0900 |
|---|---|---|
| committer | Kimdonghan <dh32110@gmail.com> | 2025-12-03 18:27:43 +0900 |
| commit | 2f02e9ea125c3ec42afac84ec903767930335dd3 (patch) | |
| tree | 70f8e0ee57f868d29e7a338db49c5cf228468376 /components/docu-list-rule | |
| parent | 7b2718ba47b69ed4b1bf20977cebe93393191839 (diff) | |
(김동한) 메뉴명과 화면 내 h태그 일치 작업
Diffstat (limited to 'components/docu-list-rule')
| -rw-r--r-- | components/docu-list-rule/docu-list-rule-client.tsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/components/docu-list-rule/docu-list-rule-client.tsx b/components/docu-list-rule/docu-list-rule-client.tsx index ae3cdece..587ec7ff 100644 --- a/components/docu-list-rule/docu-list-rule-client.tsx +++ b/components/docu-list-rule/docu-list-rule-client.tsx @@ -2,9 +2,10 @@ import * as React from "react" import { useRouter, useParams } from "next/navigation" import { ProjectSelector } from "../ProjectSelector" +import { useTranslation } from "@/i18n/client" interface DocuListRuleClientProps { - children: React.ReactNode + children: React.ReactNode; } export default function DocuListRuleClient({ @@ -13,7 +14,7 @@ export default function DocuListRuleClient({ const router = useRouter() const params = useParams() const lng = (params?.lng as string) || "ko" - + const { t } = useTranslation(lng, 'menu') // Get the projectId from route parameters const projectIdFromUrl = React.useMemo(() => { if (params?.projectId) { @@ -53,10 +54,10 @@ export default function DocuListRuleClient({ {/* 왼쪽: 타이틀 & 설명 */} <div> <div className="flex items-center gap-2"> - <h2 className="text-2xl font-bold tracking-tight">Document Numbering Rule (해양)</h2> + <h2 className="text-2xl font-bold tracking-tight">{t('menu.master_data.document_numbering_rule')}</h2> </div> <p className="text-muted-foreground"> - 벤더 제출 문서 리스트 작성 시에 사용되는 넘버링 + {t('menu.master_data.document_numbering_rule_desc')} </p> </div> |
