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": "搜尋電子郵件、備註、sub ID、UUID、密碼、auth…",
"filterTitle": "篩選客戶端",
"clearAllFilters": "清除全部",
@@ -691,10 +692,12 @@
"hasNot": "不擁有",
"title": "客戶端",
"actions": "操作",
"totalGB": "總上傳/下載 (GB)",
"totalGB": "流量上限 (GB)",
"totalGBDesc": "該客戶端的流量配額。0 = 不限制。",
"expiryTime": "到期時間",
"addClients": "新增客戶端",
"limitIp": "IP 限制",
"limitIpDesc": "最大同時連線 IP 數。0 = 不限制。",
"password": "密碼",
"subId": "訂閱 ID",
"online": "上線",
@@ -1733,4 +1736,4 @@
"chooseInbound": "選擇一個入站"
}
}
}
}