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": "リファラーID",
"refererIdPlaceholder": "紹介者IDを入力してください",
"referralCode": "紹介コード",
"referralPercentage": "紹介割合",
"referralPercentagePlaceholder": "紹介割合を入力してください(0-100)",
"referrerUserId": "紹介者(ユーザーID",
"remove": "削除",
"resetLogs": "リセット履歴",