summaryrefslogtreecommitdiff
path: root/components/docu-list-rule/docu-list-rule-client.tsx
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-12-08 14:19:37 +0900
committerjoonhoekim <26rote@gmail.com>2025-12-08 14:19:37 +0900
commit2ac7deb8494cf4123f0cff3321860585a44f157c (patch)
tree789b6980c8f863a0f675fad38c4a17d91ba28bf3 /components/docu-list-rule/docu-list-rule-client.tsx
parent71c0ba1f01b98770ec2c60cdb935ffb36c1830a9 (diff)
parente37cce51ccfa3dcb91904b2492df3a29970fadf7 (diff)
Merge remote-tracking branch 'origin/sec-patch' into table-v2
Diffstat (limited to 'components/docu-list-rule/docu-list-rule-client.tsx')
-rw-r--r--components/docu-list-rule/docu-list-rule-client.tsx9
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>