mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-19 11:34:59 +03:00
feat(xray/dns): align DNS settings with Xray docs + UI polish
- DNS server modal: rename expectIPs -> expectedIPs (per docs); add per-server tag, clientIP, serveStale, serveExpiredTTL, timeoutMs; flip skipFallback default to false; hydration still accepts legacy expectIPs for back-compat. - DNS tab: add hosts editor (domain -> IP/array), serveStale + serveExpiredTTL controls, "Use Preset" button bringing back the legacy preset gallery (Google / Cloudflare / AdGuard + Family variants — fixed AdGuard Family IPs that were wrong in legacy), and a "Delete All" button to wipe the server list at once. - i18n: add 15 new dns.* keys across all 13 locales. - Frontend-wide formatter pass on Vue components (whitespace and attribute layout only, no behavior changes). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -754,7 +754,22 @@
|
||||
"useSystemHostsDesc": "استخدام ملف hosts من نظام مثبت",
|
||||
"usePreset": "استخدام النموذج",
|
||||
"dnsPresetTitle": "قوالب DNS",
|
||||
"dnsPresetFamily": "العائلي"
|
||||
"dnsPresetFamily": "العائلي",
|
||||
"serveStale": "تقديم النتائج المنتهية",
|
||||
"serveStaleDesc": "إرجاع نتائج الكاش المنتهية الصلاحية أثناء التحديث في الخلفية",
|
||||
"serveExpiredTTL": "مدة صلاحية النتائج المنتهية",
|
||||
"serveExpiredTTLDesc": "مدة صلاحية إدخالات الكاش المنتهية بالثواني؛ 0 = لا تنتهي أبدًا",
|
||||
"timeoutMs": "المهلة (مللي ثانية)",
|
||||
"skipFallback": "تخطي الاحتياطي",
|
||||
"finalQuery": "الاستعلام النهائي",
|
||||
"hosts": "Hosts",
|
||||
"hostsAdd": "إضافة Host",
|
||||
"hostsEmpty": "لم يتم تعريف أي Host",
|
||||
"hostsDomain": "النطاق (مثل domain:example.com)",
|
||||
"hostsValues": "عنوان IP أو نطاق — اكتب واضغط Enter",
|
||||
"clearAll": "حذف الكل",
|
||||
"clearAllTitle": "حذف جميع خوادم DNS؟",
|
||||
"clearAllConfirm": "سيؤدي هذا إلى إزالة جميع خوادم DNS من القائمة. لا يمكن التراجع عن هذا الإجراء."
|
||||
},
|
||||
"fakedns": {
|
||||
"add": "أضف Fake DNS",
|
||||
|
||||
Reference in New Issue
Block a user