Исправлено:

- Добавлена секция banSystem.stats с ключами для статистики
  - Добавлены недостающие ключи: ipCount, bans, ok, networkType, user, bannedAt, noBans, users, node, totalSent, totalDropped, status, active
This commit is contained in:
PEDZEO
2026-01-16 18:20:28 +03:00
parent 34c128fd87
commit 246c51d642
2 changed files with 59 additions and 3 deletions

View File

@@ -750,7 +750,7 @@
"title": "Ban Monitoring",
"subtitle": "BedolagaBan system management",
"notConfigured": "Ban system is not configured",
"notConfiguredDesc": "Set BAN_SYSTEM_API_URL and BAN_SYSTEM_API_TOKEN in configuration",
"configureHint": "Set BAN_SYSTEM_API_URL and BAN_SYSTEM_API_TOKEN in configuration",
"loadError": "Failed to load data",
"tabs": {
"dashboard": "Dashboard",
@@ -760,6 +760,19 @@
"agents": "Agents",
"violations": "Violations"
},
"stats": {
"activeUsers": "Active Users",
"total": "Total",
"usersOverLimit": "Over Limit",
"activeBans": "Active Bans",
"nodesOnline": "Nodes Online",
"agentsOnline": "Agents Online",
"totalRequests": "Total Requests",
"panelStatus": "Panel Status",
"connected": "Connected",
"disconnected": "Disconnected",
"uptime": "Uptime"
},
"dashboard": {
"totalUsers": "Total Users",
"activeUsers": "Active Users",
@@ -778,15 +791,19 @@
"searchPlaceholder": "Search by email...",
"email": "Email",
"uniqueIps": "Unique IPs",
"ipCount": "IPs",
"requests": "Requests",
"limit": "Limit",
"status": "Status",
"bans": "Bans",
"lastSeen": "Last Seen",
"overLimit": "Over Limit",
"ok": "OK",
"normal": "Normal",
"noLimit": "No Limit",
"noUsers": "No users found",
"viewDetails": "View Details",
"networkType": "Network Type",
"filter": {
"all": "All",
"overLimit": "Over Limit",
@@ -808,6 +825,7 @@
"lastSeen": "Last Seen",
"node": "Node",
"requestCount": "Requests",
"requests": "Requests",
"country": "Country",
"city": "City",
"timestamp": "Timestamp",
@@ -823,9 +841,11 @@
},
"punishments": {
"title": "Active Bans",
"user": "User",
"username": "User",
"reason": "Reason",
"punishedAt": "Banned At",
"bannedAt": "Banned At",
"enableAt": "Unban At",
"ipCount": "IPs",
"limit": "Limit",
@@ -833,6 +853,7 @@
"actions": "Actions",
"unban": "Unban",
"noPunishments": "No active bans",
"noBans": "No active bans",
"unbanConfirm": "Unban user {{username}}?",
"unbanSuccess": "User unbanned",
"unbanError": "Unban failed",
@@ -860,6 +881,7 @@
"status": "Status",
"lastSeen": "Last Seen",
"usersCount": "Users",
"users": "Users",
"online": "Online",
"offline": "Offline",
"noNodes": "No nodes found",
@@ -869,10 +891,13 @@
"agents": {
"title": "Agents",
"nodeName": "Node",
"node": "Node",
"status": "Status",
"health": "Health",
"sent": "Sent",
"dropped": "Dropped",
"totalSent": "Total Sent",
"totalDropped": "Total Dropped",
"batches": "Batches",
"reconnects": "Reconnects",
"failures": "Failures",
@@ -900,6 +925,7 @@
},
"violations": {
"title": "Traffic Violations",
"user": "User",
"username": "User",
"email": "Email",
"type": "Type",
@@ -907,7 +933,9 @@
"bytesUsed": "Used",
"bytesLimit": "Limit",
"detectedAt": "Detected At",
"status": "Status",
"resolved": "Resolved",
"active": "Active",
"noViolations": "No violations found",
"yes": "Yes",
"no": "No"