feat(ui): improve client form modal UX

- Rename tabs: "Basic" → "Basics", "Config" → "Credentials"
- Move reverseTag field from Credentials tab to Basics tab
- Move IP log button inline with limitIp field (tooltip button, edit mode only)
- Hide random email button when editing an existing client
- Add tooltips to totalGB and limitIp fields with descriptive hints
- Rename labels: "Total Sent/Received (GB)" → "Traffic Limit (GB)", "Duration" → "Duration (days)"
- Add renewDays translation key for auto-renew label with unit hint
- Remove redundant filterOption and width style from AutoComplete group selectors
- Update all 15 locale files with new and renamed translation keys
This commit is contained in:
MHSanaei
2026-06-12 10:38:26 +02:00
parent 253063b785
commit 7ae3ea66d1
16 changed files with 149 additions and 113 deletions
+8 -5
View File
@@ -637,8 +637,8 @@
}
},
"clients": {
"tabBasic": "Основные",
"tabConfig": "Конфигурация",
"tabBasics": "Основные",
"tabCredentials": "Учетные данные",
"add": "Добавить клиента",
"edit": "Изменить клиента",
"submitAdd": "Добавить клиента",
@@ -666,10 +666,11 @@
"prefix": "Префикс",
"postfix": "Постфикс",
"delayedStart": "Старт после первого использования",
"expireDays": "Длительность",
"expireDays": "Длительность (дней)",
"days": "Дни",
"renew": "Автопродление",
"renewDesc": "Автоматическое продление после окончания. (0 = отключено) (единица: день)",
"renewDays": "Автопродление (дней)",
"searchPlaceholder": "Поиск email, комментария, sub ID, UUID, пароля, auth…",
"filterTitle": "Фильтр клиентов",
"clearAllFilters": "Очистить все",
@@ -691,10 +692,12 @@
"hasNot": "Нет",
"title": "Клиенты",
"actions": "Действия",
"totalGB": "Всего отправлено/получено (ГБ)",
"totalGB": "Лимит трафика (ГБ)",
"totalGBDesc": "Квота трафика для этого клиента. 0 = без ограничений.",
"expiryTime": "Срок действия",
"addClients": "Добавить клиентов",
"limitIp": "Лимит IP",
"limitIpDesc": "Максимум одновременных IP-адресов. 0 = без ограничений.",
"password": "Пароль",
"subId": "ID подписки",
"online": "В сети",
@@ -1733,4 +1736,4 @@
"chooseInbound": "Выберите входящее подключение"
}
}
}
}