diff options
| author | joonhoekim <26rote@gmail.com> | 2025-11-27 17:48:28 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-11-27 17:48:28 +0900 |
| commit | 95984e67b8d57fbe1431fcfedf3bb682f28416b3 (patch) | |
| tree | 79953157e70b30c3c65ae52a01adb65fd4344bee /lib/swp/table/swp-help-dialog.tsx | |
| parent | 647e2e487238aed36ff9a880648e5c3e8725160f (diff) | |
(김준회) swp 영문 처리
Diffstat (limited to 'lib/swp/table/swp-help-dialog.tsx')
| -rw-r--r-- | lib/swp/table/swp-help-dialog.tsx | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/lib/swp/table/swp-help-dialog.tsx b/lib/swp/table/swp-help-dialog.tsx index 7b18c100..a355f5ad 100644 --- a/lib/swp/table/swp-help-dialog.tsx +++ b/lib/swp/table/swp-help-dialog.tsx @@ -18,21 +18,21 @@ export function SwpUploadHelpDialog() { <DialogTrigger asChild> <Button variant="outline" size="sm" className="gap-2"> <HelpCircle className="h-4 w-4" /> - SWP 제출 메뉴 가이드 + SWP Submission Menu Guide </Button> </DialogTrigger> <DialogContent className="max-w-2xl max-h-[80vh] overflow-y-auto"> <DialogHeader> - <DialogTitle>파일 업로드 가이드</DialogTitle> + <DialogTitle>File Upload Guide</DialogTitle> <DialogDescription> - 올바른 파일명 형식으로 업로드해주세요 + Please upload with the correct file name format </DialogDescription> </DialogHeader> <div className="space-y-6"> {/* 탭 설명 */} <div className="space-y-3"> - <h3 className="text-sm font-semibold">탭 설명</h3> + <h3 className="text-sm font-semibold">Tab Description</h3> <div className="rounded-lg border p-4 space-y-3"> <div> @@ -40,8 +40,8 @@ export function SwpUploadHelpDialog() { DOCUMENT REGISTRATION TAB </Badge> <p className="text-sm text-muted-foreground"> - 파일을 업로드한 현황입니다. SHI가 파일 접수 여부를 응답할 예정입니다. - 업로드한 파일의 승낙 여부 등을 확인할 수 있으며, 접수 전의 Standby 상태의 경우 업로드를 취소할 수 있습니다. + This shows the status of uploaded files. SHI will respond with file acceptance status. + You can check the acceptance status of uploaded files, and cancel uploads in Standby status before acceptance. </p> </div> @@ -50,8 +50,8 @@ export function SwpUploadHelpDialog() { DOCUMENT LIST TAB </Badge> <p className="text-sm text-muted-foreground"> - 파일을 업로드한 뒤, SHI가 업로드한 파일을 수락하면 Rev, Activity No가 만들어지며, 해당 테이블에 추가됩니다. - 수락시 Activity No 가 부여됩니다. + After uploading a file, if SHI accepts the uploaded file, Rev and Activity No are created and added to this table. + Activity No is assigned upon acceptance. </p> </div> </div> @@ -59,29 +59,29 @@ export function SwpUploadHelpDialog() { {/* 파일명 형식 */} <div className="space-y-2"> - <h3 className="text-sm font-semibold">파일명 형식</h3> + <h3 className="text-sm font-semibold">File Name Format</h3> <div className="rounded-lg bg-muted p-4 font-mono text-sm"> - [DOC_NO]_[REV_NO]_[STAGE].[확장자] + [DOC_NO]_[REV_NO]_[STAGE].[Extension] </div> <p className="text-xs text-muted-foreground"> - [주의] 언더스코어(_)가 최소 2개 이상 있어야 합니다 + [Note] Must contain at least 2 underscores (_) </p> <p className="text-xs text-muted-foreground"> - [선택사항] 4번째 항목으로 파일명을 추가할 수 있습니다 (예: [DOC_NO]_[REV_NO]_[STAGE]_[파일명].[확장자]) + [Optional] You can add a file name as the 4th item (e.g. [DOC_NO]_[REV_NO]_[STAGE]_[FileName].[Extension]) </p> </div> {/* 각 항목 설명 - 1라인 형태 */} <div className="space-y-3"> - <h3 className="text-sm font-semibold">항목 설명</h3> + <h3 className="text-sm font-semibold">Item Description</h3> <div className="flex items-center gap-3 rounded-lg border p-3"> <Badge variant="secondary" className="font-mono shrink-0"> DOC_NO </Badge> <div className="text-sm"> - <span className="font-medium">벤더의 문서번호</span> - <span className="text-muted-foreground"> - 프로젝트마다 유니크해야 합니다</span> + <span className="font-medium">Vendor Document Number</span> + <span className="text-muted-foreground"> - Must be unique per project</span> </div> </div> @@ -90,8 +90,8 @@ export function SwpUploadHelpDialog() { REV_NO </Badge> <div className="text-sm"> - <span className="font-medium">리비전 번호</span> - <span className="text-muted-foreground"> - 보통 01, 02 같은 식으로 피드백에 따라 증가합니다</span> + <span className="font-medium">Revision Number</span> + <span className="text-muted-foreground"> - Usually increments like 01, 02 based on feedback</span> </div> </div> @@ -100,32 +100,32 @@ export function SwpUploadHelpDialog() { STAGE </Badge> <div className="text-sm"> - <span className="font-medium">스테이지</span> - <span className="text-muted-foreground"> - 스테이지 정보를 입력해주세요. (예: IFA, IFC)</span> + <span className="font-medium">Stage</span> + <span className="text-muted-foreground"> - Please enter stage information. (e.g. IFA, IFC)</span> </div> </div> <div className="flex items-center gap-3 rounded-lg border p-3"> <Badge variant="secondary" className="font-mono shrink-0"> - 파일명 + File Name </Badge> <div className="text-sm"> - <span className="font-medium">자유 파일명 (선택사항)</span> - <span className="text-muted-foreground"> - 문서를 식별할 수 있는 이름 (언더스코어 포함 가능, 생략 가능)</span> + <span className="font-medium">Free File Name (Optional)</span> + <span className="text-muted-foreground"> - Name to identify the document (Underscores allowed, optional)</span> </div> </div> </div> {/* 예시 */} <div className="space-y-2"> - <h3 className="text-sm font-semibold">올바른 예시</h3> + <h3 className="text-sm font-semibold">Correct Examples</h3> <div className="space-y-2"> <div className="rounded-lg bg-green-50 dark:bg-green-950/30 border border-green-200 dark:border-green-800 p-3"> <code className="text-xs font-mono text-green-700 dark:text-green-300"> VD-DOC-001_01_IFA.pdf </code> <p className="text-xs text-green-600 dark:text-green-400 mt-1"> - [O] 기본 형식 (파일명 생략) + [O] Basic Format (File Name Omitted) </p> </div> <div className="rounded-lg bg-green-50 dark:bg-green-950/30 border border-green-200 dark:border-green-800 p-3"> @@ -133,7 +133,7 @@ export function SwpUploadHelpDialog() { VD-DOC-001_01_IFA_drawing_final.pdf </code> <p className="text-xs text-green-600 dark:text-green-400 mt-1"> - [O] 파일명 추가 (파일명에 언더스코어 포함 가능) + [O] File Name Added (Underscores allowed in file name) </p> </div> <div className="rounded-lg bg-green-50 dark:bg-green-950/30 border border-green-200 dark:border-green-800 p-3"> @@ -141,7 +141,7 @@ export function SwpUploadHelpDialog() { TECH-SPEC-002_02_IFC.dwg </code> <p className="text-xs text-green-600 dark:text-green-400 mt-1"> - [O] 기본 형식 사용 + [O] Basic Format Used </p> </div> <div className="rounded-lg bg-green-50 dark:bg-green-950/30 border border-green-200 dark:border-green-800 p-3"> @@ -149,7 +149,7 @@ export function SwpUploadHelpDialog() { DOC-003_03_IFA_test_result_data.xlsx </code> <p className="text-xs text-green-600 dark:text-green-400 mt-1"> - [O] 파일명 추가 (여러 단어 조합 가능) + [O] File Name Added (Multiple words allowed) </p> </div> </div> @@ -157,14 +157,14 @@ export function SwpUploadHelpDialog() { {/* 잘못된 예시 */} <div className="space-y-2"> - <h3 className="text-sm font-semibold">잘못된 예시</h3> + <h3 className="text-sm font-semibold">Incorrect Examples</h3> <div className="space-y-2"> <div className="rounded-lg bg-red-50 dark:bg-red-950/30 border border-red-200 dark:border-red-800 p-3"> <code className="text-xs font-mono text-red-700 dark:text-red-300"> VD-DOC-001-01-IFA.pdf </code> <p className="text-xs text-red-600 dark:text-red-400 mt-1"> - [X] 언더스코어(_) 대신 하이픈(-) 사용 + [X] Hyphen (-) used instead of Underscore (_) </p> </div> <div className="rounded-lg bg-red-50 dark:bg-red-950/30 border border-red-200 dark:border-red-800 p-3"> @@ -172,7 +172,7 @@ export function SwpUploadHelpDialog() { VD-DOC-001_01.pdf </code> <p className="text-xs text-red-600 dark:text-red-400 mt-1"> - [X] STAGE 정보 누락 (최소 3개 항목 필요) + [X] STAGE info missing (Minimum 3 items required) </p> </div> <div className="rounded-lg bg-red-50 dark:bg-red-950/30 border border-red-200 dark:border-red-800 p-3"> @@ -180,7 +180,7 @@ export function SwpUploadHelpDialog() { VD DOC 001_01_IFA.pdf </code> <p className="text-xs text-red-600 dark:text-red-400 mt-1"> - [X] 공백 포함 (언더스코어 사용 필요) + [X] Contains spaces (Use underscores) </p> </div> <div className="rounded-lg bg-red-50 dark:bg-red-950/30 border border-red-200 dark:border-red-800 p-3"> @@ -188,7 +188,7 @@ export function SwpUploadHelpDialog() { VD-DOC-001__IFA.pdf </code> <p className="text-xs text-red-600 dark:text-red-400 mt-1"> - [X] REV_NO 비어있음 (빈 항목 불가) + [X] REV_NO empty (Cannot be empty) </p> </div> </div> @@ -197,15 +197,15 @@ export function SwpUploadHelpDialog() { {/* 주의사항 */} <div className="rounded-lg bg-amber-50 dark:bg-amber-950/30 border border-amber-200 dark:border-amber-800 p-4"> <h3 className="text-sm font-semibold text-amber-900 dark:text-amber-100 mb-2"> - [주의사항] + [Precautions] </h3> <ul className="text-xs text-amber-800 dark:text-amber-200 space-y-1 list-disc list-inside"> - <li>파일명은 최소 [DOC_NO]_[REV_NO]_[STAGE].[확장자] 형식이어야 합니다</li> - <li>DOC_NO는 현재 프로젝트에 할당된 문서번호여야 합니다</li> - <li>4번째 항목(파일명)은 선택사항으로 생략 가능합니다</li> - <li>업로드 날짜/시간은 시스템에서 자동으로 생성됩니다</li> - <li>같은 파일명으로 이미 업로드된 파일이 있으면 덮어쓰지 않고 오류 처리됩니다</li> - <li>프로젝트를 먼저 선택해야 업로드 버튼이 활성화됩니다</li> + <li>File name must be at least in [DOC_NO]_[REV_NO]_[STAGE].[Extension] format</li> + <li>DOC_NO must be a document number assigned to the current project</li> + <li>The 4th item (File Name) is optional and can be omitted</li> + <li>Upload date/time is automatically generated by the system</li> + <li>If a file with the same name is already uploaded, it will not be overwritten and will be treated as an error</li> + <li>You must select a project first to enable the upload button</li> </ul> </div> </div> |
