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": "选择一个入站"
}
}
}
}