mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-18 19:15:03 +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": "Sử dụng file hosts từ hệ thống đã cài đặt",
|
||||
"usePreset": "Dùng mẫu",
|
||||
"dnsPresetTitle": "Mẫu DNS",
|
||||
"dnsPresetFamily": "Gia đình"
|
||||
"dnsPresetFamily": "Gia đình",
|
||||
"serveStale": "Phục vụ kết quả hết hạn",
|
||||
"serveStaleDesc": "Trả về kết quả cache đã hết hạn trong khi làm mới ở chế độ nền",
|
||||
"serveExpiredTTL": "TTL hết hạn",
|
||||
"serveExpiredTTLDesc": "Thời gian hiệu lực (giây) của các mục cache hết hạn; 0 = không bao giờ hết hạn",
|
||||
"timeoutMs": "Thời gian chờ (ms)",
|
||||
"skipFallback": "Bỏ qua Fallback",
|
||||
"finalQuery": "Truy vấn cuối",
|
||||
"hosts": "Hosts",
|
||||
"hostsAdd": "Thêm Host",
|
||||
"hostsEmpty": "Chưa có Host nào",
|
||||
"hostsDomain": "Tên miền (vd. domain:example.com)",
|
||||
"hostsValues": "IP hoặc tên miền — nhập và nhấn Enter",
|
||||
"clearAll": "Xóa tất cả",
|
||||
"clearAllTitle": "Xóa tất cả máy chủ DNS?",
|
||||
"clearAllConfirm": "Thao tác này sẽ xóa toàn bộ máy chủ DNS khỏi danh sách. Không thể hoàn tác."
|
||||
},
|
||||
"fakedns": {
|
||||
"add": "Thêm DNS giả",
|
||||
|
||||
Reference in New Issue
Block a user