diff --git a/v2rayN/ServiceLib/Global.cs b/v2rayN/ServiceLib/Global.cs index ca167fa3..0f28daa9 100644 --- a/v2rayN/ServiceLib/Global.cs +++ b/v2rayN/ServiceLib/Global.cs @@ -505,6 +505,7 @@ public class Global public static readonly List InboundTags = [ + "tun", "socks", "socks2", "socks3" diff --git a/v2rayN/ServiceLib/Resx/ResUI.Designer.cs b/v2rayN/ServiceLib/Resx/ResUI.Designer.cs index a763358a..98fba5a2 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.Designer.cs +++ b/v2rayN/ServiceLib/Resx/ResUI.Designer.cs @@ -3493,7 +3493,7 @@ namespace ServiceLib.Resx { } /// - /// 查找类似 socks: local port, socks2: second local port, socks3: LAN port 的本地化字符串。 + /// 查找类似 tun: TUN inbound, socks: local port, socks2: second local port, socks3: LAN port 的本地化字符串。 /// public static string TbRoutingInboundTagTips { get { diff --git a/v2rayN/ServiceLib/Resx/ResUI.resx b/v2rayN/ServiceLib/Resx/ResUI.resx index 92b9c83d..b989f719 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.resx @@ -1336,7 +1336,7 @@ Enable second mixed port - socks: local port, socks2: second local port, socks3: LAN port + tun: TUN inbound, socks: local port, socks2: second local port, socks3: LAN port Theme diff --git a/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx b/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx index 527d7b6b..c3cf5da5 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx @@ -1333,7 +1333,7 @@ 开启第二个本地监听端口 - Socks:本地端口,Socks2:第二个本地端口,Socks3:局域网端口 + Tun:TUN 入站,Socks:本地端口,Socks2:第二个本地端口,Socks3:局域网端口 主题 diff --git a/v2rayN/v2rayN.Desktop/Views/RoutingRuleDetailsWindow.axaml b/v2rayN/v2rayN.Desktop/Views/RoutingRuleDetailsWindow.axaml index 30f74a14..fc2ead45 100644 --- a/v2rayN/v2rayN.Desktop/Views/RoutingRuleDetailsWindow.axaml +++ b/v2rayN/v2rayN.Desktop/Views/RoutingRuleDetailsWindow.axaml @@ -16,7 +16,7 @@ + Text="{x:Static resx:ResUI.TbRuleTypeTips}" + TextWrapping="Wrap" /> - + + Text="{x:Static resx:ResUI.TbRuleMatchingTips}" + TextWrapping="Wrap" /> + VerticalAlignment="Center" + TextWrapping="Wrap"> @@ -160,7 +166,8 @@ Margin="{StaticResource Margin4}" HorizontalAlignment="Left" VerticalAlignment="Center" - Text="{x:Static resx:ResUI.TbRoutingInboundTagTips}" /> + Text="{x:Static resx:ResUI.TbRoutingInboundTagTips}" + TextWrapping="Wrap" /> + Text="{x:Static resx:ResUI.TbRoutingTips}" + TextWrapping="Wrap" />