✨ 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": "Node Traffic",
|
||||
"nodes": "Nodes",
|
||||
"offlineNodeCount": "Offline Nodes",
|
||||
"onlineIPCount": "Online IPs",
|
||||
"onlineNodeCount": "Online Nodes",
|
||||
"onlineUsersCount": "Online Users",
|
||||
"pendingTickets": "Pending Tickets",
|
||||
"register": "Register",
|
||||
"repurchase": "Repurchase",
|
||||
|
||||
@@ -33,6 +33,16 @@
|
||||
"saveSuccess": "Save Successful",
|
||||
"saveFailed": "Save Failed"
|
||||
},
|
||||
"logCleanup": {
|
||||
"title": "Log Cleanup Settings",
|
||||
"description": "Configure automatic log cleanup rules and retention period",
|
||||
"autoClear": "Enable Auto Cleanup",
|
||||
"autoClearDescription": "When enabled, the system will automatically clear expired log records",
|
||||
"clearDays": "Retention Days",
|
||||
"clearDaysDescription": "Number of days to retain logs; logs older than this will be cleaned up",
|
||||
"clearDaysPlaceholder": "Enter retention days"
|
||||
},
|
||||
"logSettings": "Log Settings",
|
||||
"privacyPolicy": {
|
||||
"title": "Privacy Policy",
|
||||
"description": "Edit and manage privacy policy content"
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
"more": "More",
|
||||
"notifySettingsTitle": "Notification Settings",
|
||||
"onlineDevices": "Online Devices",
|
||||
"onlyFirstPurchase": "First Purchase Only",
|
||||
"orderList": "Order List",
|
||||
"password": "Password",
|
||||
"passwordPlaceholder": "Enter new password (optional)",
|
||||
@@ -59,6 +60,8 @@
|
||||
"refererId": "Referer ID",
|
||||
"refererIdPlaceholder": "Enter referer ID",
|
||||
"referralCode": "Referral Code",
|
||||
"referralPercentage": "Referral Percentage",
|
||||
"referralPercentagePlaceholder": "Enter referral percentage (0-100)",
|
||||
"referrerUserId": "Referrer (User ID)",
|
||||
"remove": "Remove",
|
||||
"resetLogs": "Reset Logs",
|
||||
|
||||
Reference in New Issue
Block a user