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

@@ -2755,9 +2755,19 @@
"tabs": {
"overview": "نمای کلی",
"nodes": "گره‌ها",
"traffic": "ترافیک",
"squads": "گروه‌ها",
"sync": "همگام‌سازی"
},
"traffic": {
"noData": "داده ترافیکی موجود نیست",
"totalDownload": "دانلود",
"totalUpload": "آپلود",
"totalTraffic": "مجموع",
"online": "آنلاین",
"inbounds": "ورودی‌ها",
"outbounds": "خروجی‌ها"
},
"nodes": {
"confirmRestartAll": "آیا مطمئنید می‌خواهید همه گره‌ها را راه‌اندازی مجدد کنید؟",
"disable": "غیرفعال",