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 committed 2026-06-12 10:38:26 +02:00
1 parent 253063b785
commit 7ae3ea66d1
16 files changed
+149 -113

No files matched your search

+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": "مجموع المرسل/المستقبل (جيجابايت)",
"totalGB": "حد البيانات (جيجابايت)",
"totalGBDesc": "حصة البيانات لهذا العميل. 0 = غير محدود.",
"expiryTime": "انتهاء الصلاحية",
"addClients": "إضافة عملاء",
"limitIp": "حد عناوين IP",
"limitIpDesc": "الحد الأقصى لعناوين IP المتزامنة. 0 = غير محدود.",
"password": "كلمة المرور",
"subId": "معرّف الاشتراك",
"online": "متصل",
@@ -1733,4 +1736,4 @@
"chooseInbound": "اختار الإدخال"
}
}
}
}
+8 -5
View File
@@ -638,8 +638,8 @@
}
},
"clients": {
"tabBasic": "Basic",
"tabConfig": "Config",
"tabBasics": "Basics",
"tabCredentials": "Credentials",
"add": "Add Client",
"edit": "Edit Client",
"submitAdd": "Add Client",
@@ -667,10 +667,11 @@
"prefix": "Prefix",
"postfix": "Postfix",
"delayedStart": "Start After First Use",
"expireDays": "Duration",
"expireDays": "Duration (days)",
"days": "Day(s)",
"renew": "Auto Renew",
"renewDesc": "Auto-renewal after expiration. (0 = disable)(unit: day)",
"renewDays": "Auto Renew (days)",
"searchPlaceholder": "Search email, comment, sub ID, UUID, password, auth…",
"filterTitle": "Filter clients",
"clearAllFilters": "Clear all",
@@ -692,10 +693,12 @@
"hasNot": "Doesn't have",
"title": "Clients",
"actions": "Actions",
"totalGB": "Total Sent/Received (GB)",
"totalGB": "Traffic Limit (GB)",
"totalGBDesc": "Data quota for this client. 0 = unlimited.",
"expiryTime": "Expiry",
"addClients": "Add Clients",
"limitIp": "IP Limit",
"limitIpDesc": "Maximum simultaneous IPs. 0 = unlimited.",
"password": "Password",
"subId": "Subscription ID",
"online": "Online",
@@ -1734,4 +1737,4 @@
"chooseInbound": "Choose an Inbound"
}
}
}
}
+8 -5
View File
@@ -637,8 +637,8 @@
}
},
"clients": {
"tabBasic": "Básico",
"tabConfig": "Configuración",
"tabBasics": "Básico",
"tabCredentials": "Credenciales",
"add": "Añadir cliente",
"edit": "Editar cliente",
"submitAdd": "Añadir cliente",
@@ -666,10 +666,11 @@
"prefix": "Prefijo",
"postfix": "Sufijo",
"delayedStart": "Iniciar tras el primer uso",
"expireDays": "Duración",
"expireDays": "Duración (días)",
"days": "Día(s)",
"renew": "Renovación automática",
"renewDesc": "Renovación automática tras la expiración. (0 = desactivado) (unidad: día)",
"renewDays": "Renovación automática (días)",
"searchPlaceholder": "Buscar email, comentario, sub ID, UUID, contraseña, auth…",
"filterTitle": "Filtrar clientes",
"clearAllFilters": "Limpiar todo",
@@ -691,10 +692,12 @@
"hasNot": "No tiene",
"title": "Clientes",
"actions": "Acciones",
"totalGB": "Total enviado/recibido (GB)",
"totalGB": "Límite de tráfico (GB)",
"totalGBDesc": "Cuota de datos para este cliente. 0 = ilimitado.",
"expiryTime": "Expiración",
"addClients": "Añadir clientes",
"limitIp": "Límite de IP",
"limitIpDesc": "Máximo de IP simultáneas. 0 = ilimitado.",
"password": "Contraseña",
"subId": "ID de suscripción",
"online": "En línea",
@@ -1733,4 +1736,4 @@
"chooseInbound": "Elige un Inbound"
}
}
}
}
Loaded 3 of 16 files, more files were not shown because too many files have changed in this diff. Show more