From 969c25b56f6d29d7ffa4bc2ce04c5fb4e5846b34 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Thu, 14 Aug 2025 11:54:47 +0000
Subject: (대표님) 정규벤더등록, 벤더문서관리, 벤더데이터입력, 첨부파일관리
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/document-lists/vendor-doc-list-client.tsx | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

(limited to 'components/document-lists/vendor-doc-list-client.tsx')

diff --git a/components/document-lists/vendor-doc-list-client.tsx b/components/document-lists/vendor-doc-list-client.tsx
index 0c4af106..4aa00ad7 100644
--- a/components/document-lists/vendor-doc-list-client.tsx
+++ b/components/document-lists/vendor-doc-list-client.tsx
@@ -5,6 +5,7 @@ import { useRouter, useParams } from "next/navigation"
 import DocumentContainer from "@/components/documents/document-container"
 import { ProjectInfo, ProjectSwitcher } from "@/components/documents/project-swicher"
 import { InformationButton } from "@/components/information/information-button"
+import { useTranslation } from "@/i18n/client"
 interface VendorDocumentsClientProps {
     projects: ProjectInfo[]
     children: React.ReactNode
@@ -16,6 +17,8 @@ export default function VendorDocumentListClient({
 }: VendorDocumentsClientProps) {
     const router = useRouter()
     const params = useParams()
+    const lng = (params?.lng as string) || "ko"
+    const { t } = useTranslation(lng, "engineering")
     
     // Get the contractId from route parameters
     const contractIdFromUrl = React.useMemo(() => {
@@ -51,7 +54,7 @@ export default function VendorDocumentListClient({
         setProjectType("plant")
         
         // Navigate to the contract's documents page
-        router.push(`/partners/document-list-only/${contractId}?projectType=plant`)
+        router.push(`/${lng}/partners/document-list-only/${contractId}?projectType=plant`)
     }
     
     return (
@@ -61,15 +64,15 @@ export default function VendorDocumentListClient({
                 {/* 왼쪽: 타이틀 & 설명 */}
                 <div>
                     <div className="flex items-center gap-2">
-                        <h2 className="text-2xl font-bold tracking-tight">협력업체 문서 리스트 관리</h2>
+                        <h2 className="text-2xl font-bold tracking-tight">{t("vendorDocuments.title")}</h2>
                         <InformationButton pagePath="partners/document-list" />
                     </div>
-                    {/* <p className="text-muted-foreground">
+                    <p className="text-muted-foreground">
                         {projectType === "ship" 
-                            ? "삼성중공업 문서시스템으로부터 목록을 가져오고 문서 파일을 등록하여 삼성중공업으로 전달할 수 있습니다."
-                            : "문서리스트와 이슈스테이지를 생성하고 관리할 수 있으며 문서 파일을 등록하여 삼성중공업으로 전달할 수 있습니다."
+                            ? t("vendorDocuments.shipDescription")
+                            : t("vendorDocuments.plantDescription")
                         }
-                    </p> */}
+                    </p>
                 </div>
                 
                 {/* 오른쪽: ProjectSwitcher */}
-- 
cgit v1.2.3

