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

@@ -2763,9 +2763,19 @@
"tabs": {
"overview": "概览",
"nodes": "节点",
"traffic": "流量",
"squads": "小队",
"sync": "同步"
},
"traffic": {
"noData": "暂无流量数据",
"totalDownload": "下载",
"totalUpload": "上传",
"totalTraffic": "总计",
"online": "在线",
"inbounds": "入站",
"outbounds": "出站"
},
"nodes": {
"confirmRestartAll": "确定要重启所有节点吗?",
"disable": "禁用",