mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-15 17:45:03 +03:00
fix(clients): balance renewal form layout and mode guidance (#6672)
* fix(clients): balance renewal form layout and mode guidance Move renewal out of the traffic-reset half-column so its help and preview no longer leave a tall empty area beside the reset selector. Keep the mode, active schedule field and renewal limit in equal desktop columns, stack them on small screens, and preserve the bulk form's stacked layout. Keep monthly traffic-reset controls together in their own row and allow the first-cutoff button to wrap without shrinking its click target. Show fixed-duration guidance only for interval renewal and the month-end boundary note only for monthly renewal. Synchronize all thirteen locales and the client docs, remove obsolete zero-value mode-switching tooltips, and cover the help transitions through the real client form. Keep preview markup and existing monthly copy intact so the independent date-display work in #6662 can merge without overlapping these edits. This is presentation-only: saved values, expiry selection, renewal and traffic-reset calculations, APIs and database formats are unchanged. * refactor(clients): drop the renewal CSS that #6662 made redundant #6662 landed the full-width preview Space and the wrapping first-cutoff Button as inline styles, so ClientRenewalFields.css and its wrapper div styled the same two elements a second time; both are removed. * test(tuic): wait for downstream association activity refresh The UDP lifecycle regression can receive its QUIC response before the server's sending goroutine updates the association timestamp. Reading the protected field once then mistakes a valid scheduling order for a missing refresh, intermittently failing the race-enabled CI job. Wait for lastActive to advance under the registry mutex, bounded by a one-second deadline, before checking idle reaping. Retain the payload, association ID, idle-survival and shutdown assertions so a missing activity update still fails the test. This only changes test synchronization. Production relay behavior, renewal logic, network timeouts and CI configuration remain unchanged. --------- Co-authored-by: JacktheRanger <219502738+JacktheRanger@users.noreply.github.com> Co-authored-by: MHSanaei <ho3ein.sanaei@gmail.com>
This commit is contained in:
@@ -745,7 +745,7 @@
|
||||
"delayedStart": "شروع پس از اولین استفاده",
|
||||
"expireDays": "مدت اعتبار (روز)",
|
||||
"renew": "تمدید خودکار",
|
||||
"renewDesc": "تمدید خودکار پس از انقضا. (۰ = غیرفعال) (واحد: روز)",
|
||||
"renewDesc": "تمدید خودکار پس از انقضا. (واحد: روز)",
|
||||
"renewDays": "تمدید خودکار (روز)",
|
||||
"searchPlaceholder": "جستجوی ایمیل، توضیح، Sub ID، UUID، رمز، احراز، Telegram ID...",
|
||||
"filterTitle": "فیلتر کاربران",
|
||||
@@ -966,9 +966,11 @@
|
||||
"renewNeedsExpiry": "An expiry must be set before auto-renewal can run.",
|
||||
"renewPreviewError": "Could not preview renewal dates.",
|
||||
"renewOnDay": "روز تمدید",
|
||||
"renewOnDayDesc": "در این روز از هر ماه تقویمی، در نیمهشب به وقت پنل تمدید میشود، به جای هر N روز. اگر ماه کوتاهتر از روز انتخابی باشد، در آخرین روز آن ماه تمدید میشود. مقدار ۰ حالت بازهٔ روزانه را حفظ میکند.",
|
||||
"renewOnDayDesc": "در این روز از هر ماه تقویمی، در نیمهشب به وقت پنل تمدید میشود، به جای هر N روز. اگر ماه کوتاهتر از روز انتخابی باشد، در آخرین روز آن ماه تمدید میشود.",
|
||||
"renewsUsed": "تمدیدهای استفادهشده",
|
||||
"bulkAdTagHint": "یک برچسب هگز ۳۲ کاراکتری برای تنظیم وارد کنید، یا 'none' برای پاک کردن در MTProto."
|
||||
"bulkAdTagHint": "یک برچسب هگز ۳۲ کاراکتری برای تنظیم وارد کنید، یا 'none' برای پاک کردن در MTProto.",
|
||||
"renewIntervalDesc": "پس از انقضا، تعداد روزهای تعیینشده (هر روز ۲۴ ساعت) به مهلت قبلی اضافه و ترافیک کاربر بازنشانی میشود. بازنشانی مستقل ترافیک را غیرفعال نگه دارید، مگر اینکه بازنشانی دیگری میخواهید.",
|
||||
"renewWeeklyDesc": "تمدید تقویمی در نیمهشب به وقت پنل انجام میشود و ترافیک کاربر را نیز بازنشانی میکند. بازنشانی مستقل ترافیک را غیرفعال نگه دارید، مگر اینکه بازنشانی دیگری میخواهید."
|
||||
},
|
||||
"groups": {
|
||||
"name": "نام",
|
||||
|
||||
Reference in New Issue
Block a user