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:
web
2025-09-01 10:25:04 -07:00
parent d4b37e4997
commit 6ccf9b8bdc
88 changed files with 827 additions and 125 deletions
+1 -1
View File
@@ -7,8 +7,8 @@
"nodeTraffic": "नोड ट्रैफिक",
"nodes": "नोड्स",
"offlineNodeCount": "ऑफ़लाइन नोड की संख्या",
"onlineIPCount": "ऑनलाइन IP संख्या",
"onlineNodeCount": "ऑनलाइन नोड की संख्या",
"onlineUsersCount": "ऑनलाइन उपयोगकर्ता",
"pendingTickets": "लंबित टिकट",
"register": "पंजीकरण",
"repurchase": "पुनः खरीद",
+10
View File
@@ -33,6 +33,16 @@
"saveSuccess": "सहेजना सफल",
"title": "आमंत्रण सेटिंग्स"
},
"logCleanup": {
"autoClear": "स्वचालित क्लीनअप सक्षम करें",
"autoClearDescription": "जब सक्षम किया जाता है, तो सिस्टम स्वचालित रूप से समाप्त लॉग रिकॉर्ड को साफ करेगा",
"clearDays": "संरक्षण दिन",
"clearDaysDescription": "लॉग को बनाए रखने के लिए दिनों की संख्या; इससे पुराने लॉग को साफ किया जाएगा",
"clearDaysPlaceholder": "संरक्षण दिन दर्ज करें",
"description": "स्वचालित लॉग क्लीनअप नियम और संरक्षण अवधि कॉन्फ़िगर करें",
"title": "लॉग क्लीनअप सेटिंग्स"
},
"logSettings": "लॉग सेटिंग्स",
"privacyPolicy": {
"description": "गोपनीयता नीति सामग्री को संपादित और प्रबंधित करें",
"title": "गोपनीयता नीति"
+3
View File
@@ -50,6 +50,7 @@
"more": "और",
"notifySettingsTitle": "सूचना सेटिंग्स",
"onlineDevices": "ऑनलाइन डिवाइस",
"onlyFirstPurchase": "पहली खरीदारी केवल",
"orderList": "ऑर्डर सूची",
"password": "पासवर्ड",
"passwordPlaceholder": "नया पासवर्ड दर्ज करें (वैकल्पिक)",
@@ -59,6 +60,8 @@
"refererId": "रेफरर आईडी",
"refererIdPlaceholder": "रेफरर आईडी दर्ज करें",
"referralCode": "रेफरल कोड",
"referralPercentage": "रेफरल प्रतिशत",
"referralPercentagePlaceholder": "रेफरल प्रतिशत दर्ज करें (0-100)",
"referrerUserId": "रेफरर (उपयोगकर्ता आईडी)",
"remove": "हटाएं",
"resetLogs": "रीसेट लॉग",