From 0c570fcb381c2cd7fb7108290848241aaebecb30 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Mon, 6 Jul 2026 10:18:31 +0800 Subject: [PATCH] Add Legacy Protect Tip --- v2rayN/ServiceLib/Resx/ResUI.Designer.cs | 9 +++++++++ v2rayN/ServiceLib/Resx/ResUI.resx | 3 +++ v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx | 3 +++ v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx | 3 +++ v2rayN/v2rayN.Desktop/Views/OptionSettingWindow.axaml | 7 +++++++ v2rayN/v2rayN/Views/OptionSettingWindow.xaml | 8 ++++++++ 6 files changed, 33 insertions(+) diff --git a/v2rayN/ServiceLib/Resx/ResUI.Designer.cs b/v2rayN/ServiceLib/Resx/ResUI.Designer.cs index a960dbb6..39e170fc 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.Designer.cs +++ b/v2rayN/ServiceLib/Resx/ResUI.Designer.cs @@ -3339,6 +3339,15 @@ namespace ServiceLib.Resx { } } + /// + /// 查找类似 If enabled, use sing-box TUN; otherwise, use xray TUN. 的本地化字符串。 + /// + public static string TbLegacyProtectTip { + get { + return ResourceManager.GetString("TbLegacyProtectTip", resourceCulture); + } + } + /// /// 查找类似 Address (IPv4, IPv6) 的本地化字符串。 /// diff --git a/v2rayN/ServiceLib/Resx/ResUI.resx b/v2rayN/ServiceLib/Resx/ResUI.resx index 685676f4..a2cdf20f 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.resx @@ -1812,4 +1812,7 @@ The "Get Certificate" action may fail if a self-signed certificate is used or if Gecko Packet Size (min/max) + + If enabled, use sing-box TUN; otherwise, use xray TUN. + \ 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 b227a13d..98461818 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx @@ -1809,4 +1809,7 @@ Gecko 包大小 (最小/最大) + + 启用则使用 sing-box TUN ,否则使用 xray TUN + \ 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 cce86dcc..3d3d582b 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx @@ -1794,4 +1794,7 @@ DNS 透過 Bridge + + 啟用則使用 sing-box TUN ,否則使用 xray TUN + \ No newline at end of file diff --git a/v2rayN/v2rayN.Desktop/Views/OptionSettingWindow.axaml b/v2rayN/v2rayN.Desktop/Views/OptionSettingWindow.axaml index dedb36ae..94d5a690 100644 --- a/v2rayN/v2rayN.Desktop/Views/OptionSettingWindow.axaml +++ b/v2rayN/v2rayN.Desktop/Views/OptionSettingWindow.axaml @@ -1022,6 +1022,13 @@ Grid.Column="1" Margin="{StaticResource Margin4}" HorizontalAlignment="Left" /> + +