From eddab895e9e35b17b0071f7af185a0b5c4870fa3 Mon Sep 17 00:00:00 2001 From: kyy Date: Fri, 15 May 2026 15:27:21 +0900 Subject: [PATCH] =?UTF-8?q?CSV=20=EB=82=B4=EB=B3=B4=EB=82=B4=EA=B8=B0=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=EA=B3=B5=ED=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adminfront/src/features/audit/AuditLogsPage.tsx | 8 ++++---- common/locales/en.toml | 7 +++++++ common/locales/ko.toml | 7 +++++++ common/locales/template.toml | 7 +++++++ devfront/src/features/audit/AuditLogsPage.tsx | 4 ++-- 5 files changed, 27 insertions(+), 6 deletions(-) diff --git a/adminfront/src/features/audit/AuditLogsPage.tsx b/adminfront/src/features/audit/AuditLogsPage.tsx index a561692d..56ec799a 100644 --- a/adminfront/src/features/audit/AuditLogsPage.tsx +++ b/adminfront/src/features/audit/AuditLogsPage.tsx @@ -1,6 +1,6 @@ import { useInfiniteQuery } from "@tanstack/react-query"; import type { AxiosError } from "axios"; -import { ListChecks, RefreshCw, Search } from "lucide-react"; +import { Download, RefreshCw, Search } from "lucide-react"; import * as React from "react"; import { formatAuditValue, @@ -92,7 +92,7 @@ function AuditLogsPage() { title={t("ui.common.audit.title", "감사 로그")} description={t( "msg.admin.audit.subtitle", - "Command 요청 기반 ClickHouse 로그를 조회합니다. 사용자/테넌트는 추후 세션 연동 시 자동 채워집니다.", + "관리자 작업 이력을 조회합니다.", )} actions={ <> @@ -110,8 +110,8 @@ function AuditLogsPage() { {t("ui.common.refresh", "새로고침")} } diff --git a/common/locales/en.toml b/common/locales/en.toml index 9f24c3df..df634aa2 100644 --- a/common/locales/en.toml +++ b/common/locales/en.toml @@ -19,6 +19,12 @@ loading = "Loading audit logs..." [msg.common.audit.registry] count = "{{count}} logs" +[msg.admin.audit] +subtitle = "View administrator activity history." + +[msg.dev.audit] +subtitle = "View developer activity history within the current app scope." + [ui.common] apply = "Apply" actions = "Actions" @@ -47,6 +53,7 @@ disabled = "Disabled" edit = "Edit" enabled = "Enabled" export = "Export" +export_csv = "Export CSV" export_with_ids = "Include UUID" export_without_ids = "Export without UUID" fail = "Fail" diff --git a/common/locales/ko.toml b/common/locales/ko.toml index 08b97c67..b30c14a5 100644 --- a/common/locales/ko.toml +++ b/common/locales/ko.toml @@ -19,6 +19,12 @@ loading = "Loading audit logs..." [msg.common.audit.registry] count = "총 {{count}}개 로그" +[msg.admin.audit] +subtitle = "관리자 작업 이력을 조회합니다." + +[msg.dev.audit] +subtitle = "현재 앱 범위의 개발자 작업 이력을 조회합니다." + [ui.common] apply = "적용" actions = "액션" @@ -47,6 +53,7 @@ disabled = "사용 안 함" edit = "편집" enabled = "사용" export = "내보내기" +export_csv = "CSV 내보내기" export_with_ids = "UUID 포함" export_without_ids = "UUID 제외 내보내기" fail = "실패" diff --git a/common/locales/template.toml b/common/locales/template.toml index ae4cc887..22107281 100644 --- a/common/locales/template.toml +++ b/common/locales/template.toml @@ -19,6 +19,12 @@ loading = "" [msg.common.audit.registry] count = "" +[msg.admin.audit] +subtitle = "" + +[msg.dev.audit] +subtitle = "" + [ui.common] apply = "Apply" actions = "" @@ -47,6 +53,7 @@ disabled = "" edit = "" enabled = "" export = "" +export_csv = "" export_with_ids = "" export_without_ids = "" fail = "" diff --git a/devfront/src/features/audit/AuditLogsPage.tsx b/devfront/src/features/audit/AuditLogsPage.tsx index 88595ddd..3985cf61 100644 --- a/devfront/src/features/audit/AuditLogsPage.tsx +++ b/devfront/src/features/audit/AuditLogsPage.tsx @@ -124,7 +124,7 @@ function AuditLogsPage() { title={t("ui.common.audit.title", "Audit Logs")} description={t( "msg.dev.audit.subtitle", - "Shows DevFront activity history within current tenant/app scope.", + "현재 앱 범위의 개발자 작업 이력을 조회합니다.", )} actions={ <> @@ -146,7 +146,7 @@ function AuditLogsPage() { onClick={handleExportCsv} > - {t("ui.dev.clients.consents.export_csv", "Export CSV")} + {t("ui.common.export_csv", "CSV 내보내기")} }