From 95984e67b8d57fbe1431fcfedf3bb682f28416b3 Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Thu, 27 Nov 2025 17:48:28 +0900 Subject: (김준회) swp 영문 처리 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/swp/table/swp-uploaded-files-dialog.tsx | 62 ++++++++++++++--------------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'lib/swp/table/swp-uploaded-files-dialog.tsx') diff --git a/lib/swp/table/swp-uploaded-files-dialog.tsx b/lib/swp/table/swp-uploaded-files-dialog.tsx index 14d69df4..e92cb0ad 100644 --- a/lib/swp/table/swp-uploaded-files-dialog.tsx +++ b/lib/swp/table/swp-uploaded-files-dialog.tsx @@ -90,8 +90,8 @@ export function SwpUploadedFilesDialog({ projNo, vndrCd, userId }: SwpUploadedFi if (!projNo) { toast({ variant: "destructive", - title: "조회 불가", - description: "프로젝트 정보가 필요합니다.", + title: "Unable to retrieve files", + description: "Project information is required.", }); return; } @@ -102,15 +102,15 @@ export function SwpUploadedFilesDialog({ projNo, vndrCd, userId }: SwpUploadedFi const result = await fetchVendorUploadedFiles(projNo); setFiles(result); toast({ - title: "조회 완료", - description: `${result.length}개의 파일을 조회했습니다.`, + title: "Files retrieved successfully", + description: `${result.length} files retrieved.`, }); } catch (error) { - console.error("파일 목록 조회 실패:", error); + console.error("Failed to retrieve files:", error); toast({ variant: "destructive", - title: "조회 실패", - description: error instanceof Error ? error.message : "알 수 없는 오류", + title: "Failed to retrieve files", + description: error instanceof Error ? error.message : "Unknown error", }); } }); @@ -121,8 +121,8 @@ export function SwpUploadedFilesDialog({ projNo, vndrCd, userId }: SwpUploadedFi if (!file.BOX_SEQ || !file.ACTV_SEQ) { toast({ variant: "destructive", - title: "취소 불가", - description: "파일 정보가 올바르지 않습니다.", + title: "Unable to cancel file", + description: "File information is invalid.", }); return; } @@ -138,18 +138,18 @@ export function SwpUploadedFilesDialog({ projNo, vndrCd, userId }: SwpUploadedFi }); toast({ - title: "취소 완료", - description: `${file.FILE_NM} 파일이 취소되었습니다.`, + title: "File canceled successfully", + description: `${file.FILE_NM} file canceled.`, }); // 목록 새로고침 loadFiles(); } catch (error) { - console.error("파일 취소 실패:", error); + console.error("Failed to cancel file:", error); toast({ variant: "destructive", - title: "취소 실패", - description: error instanceof Error ? error.message : "알 수 없는 오류", + title: "Failed to cancel file", + description: error instanceof Error ? error.message : "Unknown error", }); } finally { setCancellingFiles((prev) => { @@ -192,14 +192,14 @@ export function SwpUploadedFilesDialog({ projNo, vndrCd, userId }: SwpUploadedFi - 업로드한 파일 목록 + Uploaded File List - 프로젝트: {projNo} | 업체: {vndrCd} + Project: {projNo} | Company: {vndrCd} @@ -207,7 +207,7 @@ export function SwpUploadedFilesDialog({ projNo, vndrCd, userId }: SwpUploadedFi {/* 액션 바 */}
- 총 {files.length}개 파일 + Total {files.length} files
@@ -234,11 +234,11 @@ export function SwpUploadedFilesDialog({ projNo, vndrCd, userId }: SwpUploadedFi {isLoading && files.length === 0 ? (
- 파일 목록을 조회하는 중... + Loading files...
) : files.length === 0 ? (
- 업로드한 파일이 없습니다. + No files uploaded.
) : (
@@ -257,7 +257,7 @@ export function SwpUploadedFilesDialog({ projNo, vndrCd, userId }: SwpUploadedFi {docNo} - {docNode.revisions.size}개 리비전 + {docNode.revisions.size} revisions
@@ -280,7 +280,7 @@ export function SwpUploadedFilesDialog({ projNo, vndrCd, userId }: SwpUploadedFi )} Rev: {revNo} - {revNode.files.files.length}개 파일 + {revNode.files.files.length} files
@@ -303,7 +303,7 @@ export function SwpUploadedFilesDialog({ projNo, vndrCd, userId }: SwpUploadedFi
Stage: {file.STAGE} - 상태: {file.STAT_NM || file.STAT || "알 수 없음"} + Status: {file.STAT_NM || file.STAT || "Unknown"}
@@ -348,8 +348,8 @@ export function SwpUploadedFilesDialog({ projNo, vndrCd, userId }: SwpUploadedFi {/* 안내 메시지 */}
-

ℹ️ 접수 전(SCW01) 상태의 파일만 취소할 수 있습니다.

-

ℹ️ 취소된 파일은 목록에서 제거됩니다.

+

Files in the 'SCW01' status can only be canceled.

+

Canceled files will be removed from the list.

-- cgit v1.2.3