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": "インバウンドを選択"
}
}
}
}