fix: add i18n keys for Traffic tab, prevent sort mutation

- Add traffic tab/section locale keys to ru, en, zh, fa
- Use spread copy before .sort() to avoid mutating React Query cache
This commit is contained in:
Fringg
2026-03-28 22:52:30 +03:00
parent 4ebc21b348
commit 5d7b94fc48
5 changed files with 42 additions and 2 deletions

View File

@@ -1493,9 +1493,19 @@
"tabs": {
"overview": "Overview",
"nodes": "Nodes",
"traffic": "Traffic",
"squads": "Squads",
"sync": "Sync"
},
"traffic": {
"noData": "No traffic data available",
"totalDownload": "Download",
"totalUpload": "Upload",
"totalTraffic": "Total",
"online": "online",
"inbounds": "Inbounds",
"outbounds": "Outbounds"
},
"overview": {
"system": "System",
"usersOnline": "Online",