From c4a2b669b0d25b1a023570f224e9ffeeef8187f4 Mon Sep 17 00:00:00 2001 From: DHR60 Date: Wed, 4 Feb 2026 14:03:24 +0800 Subject: [PATCH] Add Tips --- v2rayN/ServiceLib/Resx/ResUI.Designer.cs | 35 +++++++++++-- v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx | 21 +++++--- v2rayN/ServiceLib/Resx/ResUI.fr.resx | 21 +++++--- v2rayN/ServiceLib/Resx/ResUI.hu.resx | 21 +++++--- v2rayN/ServiceLib/Resx/ResUI.resx | 21 +++++--- v2rayN/ServiceLib/Resx/ResUI.ru.resx | 21 +++++--- v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx | 21 +++++--- v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx | 21 +++++--- .../Views/DNSSettingWindow.axaml | 51 +++++++++++++++---- v2rayN/v2rayN/Views/DNSSettingWindow.xaml | 24 +++++++++ 10 files changed, 202 insertions(+), 55 deletions(-) diff --git a/v2rayN/ServiceLib/Resx/ResUI.Designer.cs b/v2rayN/ServiceLib/Resx/ResUI.Designer.cs index 9bfb77a9..fd3b2d9f 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.Designer.cs +++ b/v2rayN/ServiceLib/Resx/ResUI.Designer.cs @@ -2728,7 +2728,7 @@ namespace ServiceLib.Resx { } /// - /// 查找类似 Direct Resolution Strategy 的本地化字符串。 + /// 查找类似 Direct Target Resolution Strategy 的本地化字符串。 /// public static string TbDirectResolveStrategy { get { @@ -2736,6 +2736,15 @@ namespace ServiceLib.Resx { } } + /// + /// 查找类似 If unset or "AsIs", DNS resolution uses the system DNS; otherwise, the internal DNS module is used. 的本地化字符串。 + /// + public static string TbDirectResolveStrategyTips { + get { + return ResourceManager.GetString("TbDirectResolveStrategyTips", resourceCulture); + } + } + /// /// 查找类似 Display GUI 的本地化字符串。 /// @@ -2808,6 +2817,15 @@ namespace ServiceLib.Resx { } } + /// + /// 查找类似 By default, invoked only during routing for resolution 的本地化字符串。 + /// + public static string TbDomesticDNSTips { + get { + return ResourceManager.GetString("TbDomesticDNSTips", resourceCulture); + } + } + /// /// 查找类似 EchConfigList 的本地化字符串。 /// @@ -3232,7 +3250,7 @@ namespace ServiceLib.Resx { } /// - /// 查找类似 Via proxy — please ensure remote availability 的本地化字符串。 + /// 查找类似 By default, invoked only during routing for resolution; ensure the remote server can reach this DNS 的本地化字符串。 /// public static string TbRemoteDNSTips { get { @@ -3241,7 +3259,7 @@ namespace ServiceLib.Resx { } /// - /// 查找类似 Remote Resolution Strategy 的本地化字符串。 + /// 查找类似 Proxy Target Resolution Strategy 的本地化字符串。 /// public static string TbRemoteResolveStrategy { get { @@ -3249,6 +3267,15 @@ namespace ServiceLib.Resx { } } + /// + /// 查找类似 If unset or "AsIs", DNS resolution is performed by the remote server's DNS; otherwise, the internal DNS module is used. 的本地化字符串。 + /// + public static string TbRemoteResolveStrategyTips { + get { + return ResourceManager.GetString("TbRemoteResolveStrategyTips", resourceCulture); + } + } + /// /// 查找类似 Camouflage domain(host) 的本地化字符串。 /// @@ -4429,7 +4456,7 @@ namespace ServiceLib.Resx { } /// - /// 查找类似 When configured, validates IPs returned for regional domains (e.g., geosite:cn), returning only expected IPs 的本地化字符串。 + /// 查找类似 When configured, validates IPs returned for regional domains (e.g., geosite:cn - geoip:cn), returning only expected IPs 的本地化字符串。 /// public static string TbValidateDirectExpectedIPsDesc { get { diff --git a/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx b/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx index 70ee0c54..16fe442f 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx @@ -1419,14 +1419,11 @@ Domestic DNS - - Via proxy — please ensure remote availability - - Direct Resolution Strategy + Direct Target Resolution Strategy - Remote Resolution Strategy + Proxy Target Resolution Strategy Add Common DNS Hosts @@ -1450,7 +1447,7 @@ Validate Regional Domain IPs - When configured, validates IPs returned for regional domains (e.g., geosite:cn), returning only expected IPs + When configured, validates IPs returned for regional domains (e.g., geosite:cn - geoip:cn), returning only expected IPs Enable Custom DNS @@ -1656,4 +1653,16 @@ The "Get Certificate" action may fail if a self-signed certificate is used or if Parallel Query + + By default, invoked only during routing for resolution + + + By default, invoked only during routing for resolution; ensure the remote server can reach this DNS + + + If unset or "AsIs", DNS resolution uses the system DNS; otherwise, the internal DNS module is used. + + + If unset or "AsIs", DNS resolution is performed by the remote server's DNS; otherwise, the internal DNS module is used. + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.fr.resx b/v2rayN/ServiceLib/Resx/ResUI.fr.resx index 6c5e9fef..a114ac21 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.fr.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.fr.resx @@ -1416,14 +1416,11 @@ DNS direct - - Via le proxy ; assurez-vous que le serveur distant est disponible - - Stratégie de résolution directe + Direct Target Resolution Strategy - Stratégie de résolution distante + Proxy Target Resolution Strategy Ajouter des hôtes DNS courants @@ -1447,7 +1444,7 @@ Valider les IP des domaines de la région concernée - Après config, les IP renvoyées des domaines régionaux (ex. geosite:cn) seront vérifiées ; seules les IP attendues seront retournées. + Après config, les IP renvoyées des domaines régionaux (ex. geosite:cn - geoip:cn) seront vérifiées ; seules les IP attendues seront retournées. Activer le DNS personnalisé @@ -1653,4 +1650,16 @@ The "Get Certificate" action may fail if a self-signed certificate is used or if Parallel Query + + By default, invoked only during routing for resolution + + + By default, invoked only during routing for resolution; ensure the remote server can reach this DNS + + + If unset or "AsIs", DNS resolution uses the system DNS; otherwise, the internal DNS module is used. + + + If unset or "AsIs", DNS resolution is performed by the remote server's DNS; otherwise, the internal DNS module is used. + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.hu.resx b/v2rayN/ServiceLib/Resx/ResUI.hu.resx index aa8c0762..21e4e68d 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.hu.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.hu.resx @@ -1419,14 +1419,11 @@ Domestic DNS - - Via proxy — please ensure remote availability - - Direct Resolution Strategy + Direct Target Resolution Strategy - Remote Resolution Strategy + Proxy Target Resolution Strategy Add Common DNS Hosts @@ -1450,7 +1447,7 @@ Validate Regional Domain IPs - When configured, validates IPs returned for regional domains (e.g., geosite:cn), returning only expected IPs + When configured, validates IPs returned for regional domains (e.g., geosite:cn - geoip:cn), returning only expected IPs Enable Custom DNS @@ -1656,4 +1653,16 @@ The "Get Certificate" action may fail if a self-signed certificate is used or if Parallel Query + + By default, invoked only during routing for resolution + + + By default, invoked only during routing for resolution; ensure the remote server can reach this DNS + + + If unset or "AsIs", DNS resolution uses the system DNS; otherwise, the internal DNS module is used. + + + If unset or "AsIs", DNS resolution is performed by the remote server's DNS; otherwise, the internal DNS module is used. + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.resx b/v2rayN/ServiceLib/Resx/ResUI.resx index da17f12f..91095de4 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.resx @@ -1419,14 +1419,11 @@ Domestic DNS - - Via proxy — please ensure remote availability - - Direct Resolution Strategy + Direct Target Resolution Strategy - Remote Resolution Strategy + Proxy Target Resolution Strategy Add Common DNS Hosts @@ -1450,7 +1447,7 @@ Validate Regional Domain IPs - When configured, validates IPs returned for regional domains (e.g., geosite:cn), returning only expected IPs + When configured, validates IPs returned for regional domains (e.g., geosite:cn - geoip:cn), returning only expected IPs Enable Custom DNS @@ -1656,4 +1653,16 @@ The "Get Certificate" action may fail if a self-signed certificate is used or if Parallel Query + + By default, invoked only during routing for resolution + + + By default, invoked only during routing for resolution; ensure the remote server can reach this DNS + + + If unset or "AsIs", DNS resolution uses the system DNS; otherwise, the internal DNS module is used. + + + If unset or "AsIs", DNS resolution is performed by the remote server's DNS; otherwise, the internal DNS module is used. + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.ru.resx b/v2rayN/ServiceLib/Resx/ResUI.ru.resx index da856d97..adc9cc98 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.ru.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.ru.resx @@ -1419,14 +1419,11 @@ Внутренний DNS - - Via proxy — please ensure remote availability - - Стратегия прямого резолвинга + Direct Target Resolution Strategy - Стратегия удалённого резолвинга + Proxy Target Resolution Strategy Добавить стандартные записи hosts (DNS) @@ -1450,7 +1447,7 @@ Проверять IP-адреса региональных доменов - При включении проверяет IP-адреса, возвращаемые для региональных доменов (например, geosite:cn), и оставляет только ожидаемые IP-адреса + При включении проверяет IP-адреса, возвращаемые для региональных доменов (например, geosite:cn - geoip:cn), и оставляет только ожидаемые IP-адреса Включить пользовательский DNS @@ -1656,4 +1653,16 @@ The "Get Certificate" action may fail if a self-signed certificate is used or if Parallel Query + + By default, invoked only during routing for resolution + + + By default, invoked only during routing for resolution; ensure the remote server can reach this DNS + + + If unset or "AsIs", DNS resolution uses the system DNS; otherwise, the internal DNS module is used. + + + If unset or "AsIs", DNS resolution is performed by the remote server's DNS; otherwise, the internal DNS module is used. + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx b/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx index 82f1fd47..b1675d48 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx @@ -1416,14 +1416,11 @@ 直连 DNS - - 通过代理,请确保远程可用 - - 直连解析策略 + 直连目标解析策略 - 远程解析策略 + 代理目标解析策略 添加常用 DNS Hosts @@ -1447,7 +1444,7 @@ 校验相应地区域名 IP - 配置后,会对相应地区域名(如 geosite:cn)的返回 IP 进行校验,仅返回期望 IP + 配置后,会对相应地区域名(如 geosite:cn - geoip:cn)的返回 IP 进行校验,仅返回期望 IP 启用自定义 DNS @@ -1653,4 +1650,16 @@ 并行查询 + + 默认仅在路由阶段被调用解析 + + + 默认仅在路由阶段被调用解析;请确保远程服务器可访问该 DNS + + + 当未选择或 "AsIs" 时,使用系统 DNS 进行解析;否则,使用内部 DNS 模块解析。 + + + 当未选择或 "AsIs" 时,由远程服务器端 DNS 解析;否则,使用内部 DNS 模块解析。 + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx b/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx index 389f1719..73a7dfe5 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx @@ -1416,14 +1416,11 @@ 直連 DNS - - 通过代理,请确保远程可用 - - 直連解析策略 + 直連目標解析策略 - 遠程解析策略 + 代理目標解析策略 新增常用 DNS Hosts @@ -1447,7 +1444,7 @@ 校驗相應地區域名 IP - 配置後,會對相應地區域名(如 geosite:cn)的返回 IP 進行校驗,僅返回期望 IP + 配置後,會對相應地區域名(如 geosite:cn - geoip:cn)的返回 IP 進行校驗,僅返回期望 IP 啟用自訂 DNS @@ -1653,4 +1650,16 @@ Parallel Query + + By default, invoked only during routing for resolution + + + By default, invoked only during routing for resolution; ensure the remote server can reach this DNS + + + If unset or "AsIs", DNS resolution uses the system DNS; otherwise, the internal DNS module is used. + + + If unset or "AsIs", DNS resolution is performed by the remote server's DNS; otherwise, the internal DNS module is used. + \ No newline at end of file diff --git a/v2rayN/v2rayN.Desktop/Views/DNSSettingWindow.axaml b/v2rayN/v2rayN.Desktop/Views/DNSSettingWindow.axaml index 0f839c58..705e79e2 100644 --- a/v2rayN/v2rayN.Desktop/Views/DNSSettingWindow.axaml +++ b/v2rayN/v2rayN.Desktop/Views/DNSSettingWindow.axaml @@ -61,7 +61,15 @@ Grid.Column="1" Width="300" Margin="{StaticResource Margin4}" + VerticalAlignment="Center" IsEditable="True" /> + - + + - + + - + HorizontalAlignment="Left" + VerticalAlignment="Center" /> + + HorizontalAlignment="Left" + VerticalAlignment="Center" /> @@ -189,7 +217,8 @@ Grid.Row="1" Grid.Column="1" Margin="{StaticResource Margin4}" - HorizontalAlignment="Left" /> + HorizontalAlignment="Left" + VerticalAlignment="Center" /> + HorizontalAlignment="Left" + VerticalAlignment="Center" /> + HorizontalAlignment="Left" + VerticalAlignment="Center" /> + HorizontalAlignment="Left" + VerticalAlignment="Center" /> + + +