summaryrefslogtreecommitdiff
path: root/lib/swp/table/swp-inbox-table-columns.tsx
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-11-27 17:48:28 +0900
committerjoonhoekim <26rote@gmail.com>2025-11-27 17:48:28 +0900
commit95984e67b8d57fbe1431fcfedf3bb682f28416b3 (patch)
tree79953157e70b30c3c65ae52a01adb65fd4344bee /lib/swp/table/swp-inbox-table-columns.tsx
parent647e2e487238aed36ff9a880648e5c3e8725160f (diff)
(김준회) swp 영문 처리
Diffstat (limited to 'lib/swp/table/swp-inbox-table-columns.tsx')
-rw-r--r--lib/swp/table/swp-inbox-table-columns.tsx14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/swp/table/swp-inbox-table-columns.tsx b/lib/swp/table/swp-inbox-table-columns.tsx
index dbf25c5d..f7596578 100644
--- a/lib/swp/table/swp-inbox-table-columns.tsx
+++ b/lib/swp/table/swp-inbox-table-columns.tsx
@@ -8,7 +8,7 @@ import type { SwpFileApiResponse } from "@/lib/swp/api-client";
export const swpInboxDocumentColumns: ColumnDef<SwpFileApiResponse>[] = [
{
accessorKey: "STAT_NM",
- header: "최신 리비전의 최신 파일 상태",
+ header: "Latest File Status of Latest Revision",
cell: ({ row }) => {
const statNm = row.original.STAT_NM;
const stat = row.original.STAT;
@@ -16,7 +16,7 @@ export const swpInboxDocumentColumns: ColumnDef<SwpFileApiResponse>[] = [
if (!stat) return displayStatus;
- // STAT 코드 기반 색상 결정
+ // Determine color based on STAT code
const color =
stat === "SCW03" || stat === "SCW08" ? "bg-green-100 text-green-800" : // Complete, Checked
stat === "SCW02" ? "bg-blue-100 text-blue-800" : // Processing
@@ -25,7 +25,7 @@ export const swpInboxDocumentColumns: ColumnDef<SwpFileApiResponse>[] = [
stat === "SCW07" ? "bg-purple-100 text-purple-800" : // Send for Eng Verification
stat === "SCW09" ? "bg-gray-100 text-gray-800" : // Cancelled
stat === "SCW00" ? "bg-orange-100 text-orange-800" : // Upload
- "bg-gray-100 text-gray-800"; // 기타
+ "bg-gray-100 text-gray-800"; // Others
return (
<Badge variant="outline" className={color}>
@@ -45,7 +45,7 @@ export const swpInboxDocumentColumns: ColumnDef<SwpFileApiResponse>[] = [
},
{
accessorKey: "FILE_NM",
- header: "파일명",
+ header: "File Name",
cell: ({ row }) => (
<div className="max-w-md truncate" title={row.original.FILE_NM}>
{row.original.FILE_NM}
@@ -55,7 +55,7 @@ export const swpInboxDocumentColumns: ColumnDef<SwpFileApiResponse>[] = [
},
{
accessorKey: "STAGE",
- header: "스테이지",
+ header: "Stage",
cell: ({ row }) => {
const stage = row.original.STAGE;
if (!stage) return "-";
@@ -91,7 +91,7 @@ export const swpInboxDocumentColumns: ColumnDef<SwpFileApiResponse>[] = [
},
{
accessorKey: "FILE_SZ",
- header: "파일 크기",
+ header: "File Size",
cell: ({ row }) => {
const size = row.original.FILE_SZ;
if (!size) return "-";
@@ -121,7 +121,7 @@ export const swpInboxDocumentColumns: ColumnDef<SwpFileApiResponse>[] = [
},
{
accessorKey: "CRTE_DTM",
- header: "생성일시",
+ header: "Created Date",
cell: ({ row }) => {
const date = row.original.CRTE_DTM;
if (!date) return "-";