✨ feat: Add log cleanup settings and update localization files
- Introduced log cleanup settings in the admin panel, allowing configuration of automatic log clearing and retention periods. - Updated English, Spanish, French, German, and other localization files to include new log cleanup settings. - Added new fields for referral percentage and first purchase only in user settings. - Implemented API endpoints for getting and updating log settings. - Enhanced the admin dashboard with a new log cleanup form component.
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
"nodeTraffic": "節點流量",
|
||||
"nodes": "節點",
|
||||
"offlineNodeCount": "離線節點數",
|
||||
"onlineIPCount": "線上IP數",
|
||||
"onlineNodeCount": "線上節點數",
|
||||
"onlineUsersCount": "線上用戶數",
|
||||
"pendingTickets": "待處理工單",
|
||||
"register": "註冊",
|
||||
"repurchase": "回購",
|
||||
|
||||
@@ -33,6 +33,16 @@
|
||||
"saveSuccess": "保存成功",
|
||||
"title": "邀請設置"
|
||||
},
|
||||
"logCleanup": {
|
||||
"autoClear": "啟用自動清理",
|
||||
"autoClearDescription": "啟用後,系統將自動清除過期的日誌記錄",
|
||||
"clearDays": "保留天數",
|
||||
"clearDaysDescription": "保留日誌的天數;超過此天數的日誌將被清除",
|
||||
"clearDaysPlaceholder": "輸入保留天數",
|
||||
"description": "配置自動日誌清理規則和保留期限",
|
||||
"title": "日誌清理設置"
|
||||
},
|
||||
"logSettings": "日誌設置",
|
||||
"privacyPolicy": {
|
||||
"description": "編輯和管理隱私政策內容",
|
||||
"title": "隱私政策"
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
"more": "更多",
|
||||
"notifySettingsTitle": "通知設定",
|
||||
"onlineDevices": "在線裝置",
|
||||
"onlyFirstPurchase": "首次購買專享",
|
||||
"orderList": "訂單列表",
|
||||
"password": "密碼",
|
||||
"passwordPlaceholder": "輸入新密碼(可選)",
|
||||
@@ -59,6 +60,8 @@
|
||||
"refererId": "推薦人 ID",
|
||||
"refererIdPlaceholder": "輸入推薦人 ID",
|
||||
"referralCode": "推薦碼",
|
||||
"referralPercentage": "推薦百分比",
|
||||
"referralPercentagePlaceholder": "輸入推薦百分比(0-100)",
|
||||
"referrerUserId": "推薦人(用戶 ID)",
|
||||
"remove": "移除",
|
||||
"resetLogs": "重置日誌",
|
||||
|
||||
Reference in New Issue
Block a user