feat(web): add data retention settings to admin UI

This commit is contained in:
SnapOtter
2026-06-13 16:39:22 +08:00
parent 2520cdd556
commit 3016571c2b
22 changed files with 256 additions and 0 deletions
+10
View File
@@ -2851,6 +2851,16 @@ export const zhTW: TranslationKeys = {
startupCleanup: "啟動清理",
startupCleanupDescription: "伺服器啟動時清理舊的暫存檔案",
},
dataRetention: {
title: "Data Retention",
fileMaxAgeHours: "Processing file retention (hours)",
fileMaxAgeHoursDesc: "How long to keep uploaded and processed files. Default: 72 hours.",
jobsRetentionDays: "Job record retention (days)",
jobsRetentionDaysDesc: "How long to keep job metadata. 0 = keep forever. Default: 30 days.",
auditRetentionDays: "Audit log retention (days)",
auditRetentionDaysDesc:
"How long to keep audit log entries. 0 = keep forever. Default: forever.",
},
analytics: {
heading: "產品分析",
description: "分享匿名使用資料以協助改進SnapOtter。",