Adds Documents

This commit is contained in:
DHR60 2025-08-10 23:08:00 +08:00
parent 10ac9cfeea
commit 5c2370edb8
11 changed files with 46 additions and 26 deletions

View file

@ -2779,7 +2779,7 @@ namespace ServiceLib.Resx {
} }
/// <summary> /// <summary>
/// 查找类似 Add Outbound Config Only, routing.balancers and routing.rules.outboundTag 的本地化字符串。 /// 查找类似 Add Outbound Config Only, routing.balancers and routing.rules.outboundTag, Click to view the document 的本地化字符串。
/// </summary> /// </summary>
public static string TbRayFullConfigTemplateDesc { public static string TbRayFullConfigTemplateDesc {
get { get {
@ -2959,7 +2959,7 @@ namespace ServiceLib.Resx {
} }
/// <summary> /// <summary>
/// 查找类似 Add Outbound and Endpoint Config Only 的本地化字符串。 /// 查找类似 Add Outbound and Endpoint Config Only, Click to view the document 的本地化字符串。
/// </summary> /// </summary>
public static string TbSBFullConfigTemplateDesc { public static string TbSBFullConfigTemplateDesc {
get { get {

View file

@ -1483,7 +1483,7 @@
<value>v2ray Full Config Template</value> <value>v2ray Full Config Template</value>
</data> </data>
<data name="TbRayFullConfigTemplateDesc" xml:space="preserve"> <data name="TbRayFullConfigTemplateDesc" xml:space="preserve">
<value>Add Outbound Config Only, routing.balancers and routing.rules.outboundTag</value> <value>Add Outbound Config Only, routing.balancers and routing.rules.outboundTag, Click to view the document</value>
</data> </data>
<data name="TbAddProxyProtocolOutboundOnly" xml:space="preserve"> <data name="TbAddProxyProtocolOutboundOnly" xml:space="preserve">
<value>Do Not Add Non-Proxy Protocol Outbound</value> <value>Do Not Add Non-Proxy Protocol Outbound</value>
@ -1495,7 +1495,7 @@
<value>sing-box Full Config Template</value> <value>sing-box Full Config Template</value>
</data> </data>
<data name="TbSBFullConfigTemplateDesc" xml:space="preserve"> <data name="TbSBFullConfigTemplateDesc" xml:space="preserve">
<value>Add Outbound and Endpoint Config Only</value> <value>Add Outbound and Endpoint Config Only, Click to view the document</value>
</data> </data>
<data name="TbFullConfigTemplateDesc" xml:space="preserve"> <data name="TbFullConfigTemplateDesc" xml:space="preserve">
<value>This feature is intended for advanced users and those with special requirements. Once enabled, it will ignore the Core's basic settings, DNS settings, and routing settings. You must ensure that the system proxy port, traffic statistics, and other related configurations are set correctly — everything will be configured by you.</value> <value>This feature is intended for advanced users and those with special requirements. Once enabled, it will ignore the Core's basic settings, DNS settings, and routing settings. You must ensure that the system proxy port, traffic statistics, and other related configurations are set correctly — everything will be configured by you.</value>

View file

@ -1483,7 +1483,7 @@
<value>v2ray Full Config Template</value> <value>v2ray Full Config Template</value>
</data> </data>
<data name="TbRayFullConfigTemplateDesc" xml:space="preserve"> <data name="TbRayFullConfigTemplateDesc" xml:space="preserve">
<value>Add Outbound Config Only, routing.balancers and routing.rules.outboundTag</value> <value>Add Outbound Config Only, routing.balancers and routing.rules.outboundTag, Click to view the document</value>
</data> </data>
<data name="TbAddProxyProtocolOutboundOnly" xml:space="preserve"> <data name="TbAddProxyProtocolOutboundOnly" xml:space="preserve">
<value>Do Not Add Non-Proxy Protocol Outbound</value> <value>Do Not Add Non-Proxy Protocol Outbound</value>
@ -1495,7 +1495,7 @@
<value>sing-box Full Config Template</value> <value>sing-box Full Config Template</value>
</data> </data>
<data name="TbSBFullConfigTemplateDesc" xml:space="preserve"> <data name="TbSBFullConfigTemplateDesc" xml:space="preserve">
<value>Add Outbound and Endpoint Config Only</value> <value>Add Outbound and Endpoint Config Only, Click to view the document</value>
</data> </data>
<data name="TbFullConfigTemplateDesc" xml:space="preserve"> <data name="TbFullConfigTemplateDesc" xml:space="preserve">
<value>This feature is intended for advanced users and those with special requirements. Once enabled, it will ignore the Core's basic settings, DNS settings, and routing settings. You must ensure that the system proxy port, traffic statistics, and other related configurations are set correctly — everything will be configured by you.</value> <value>This feature is intended for advanced users and those with special requirements. Once enabled, it will ignore the Core's basic settings, DNS settings, and routing settings. You must ensure that the system proxy port, traffic statistics, and other related configurations are set correctly — everything will be configured by you.</value>

View file

@ -1483,7 +1483,7 @@
<value>v2ray Full Config Template</value> <value>v2ray Full Config Template</value>
</data> </data>
<data name="TbRayFullConfigTemplateDesc" xml:space="preserve"> <data name="TbRayFullConfigTemplateDesc" xml:space="preserve">
<value>Add Outbound Config Only, routing.balancers and routing.rules.outboundTag</value> <value>Add Outbound Config Only, routing.balancers and routing.rules.outboundTag, Click to view the document</value>
</data> </data>
<data name="TbAddProxyProtocolOutboundOnly" xml:space="preserve"> <data name="TbAddProxyProtocolOutboundOnly" xml:space="preserve">
<value>Do Not Add Non-Proxy Protocol Outbound</value> <value>Do Not Add Non-Proxy Protocol Outbound</value>
@ -1495,7 +1495,7 @@
<value>sing-box Full Config Template</value> <value>sing-box Full Config Template</value>
</data> </data>
<data name="TbSBFullConfigTemplateDesc" xml:space="preserve"> <data name="TbSBFullConfigTemplateDesc" xml:space="preserve">
<value>Add Outbound and Endpoint Config Only</value> <value>Add Outbound and Endpoint Config Only, Click to view the document</value>
</data> </data>
<data name="TbFullConfigTemplateDesc" xml:space="preserve"> <data name="TbFullConfigTemplateDesc" xml:space="preserve">
<value>This feature is intended for advanced users and those with special requirements. Once enabled, it will ignore the Core's basic settings, DNS settings, and routing settings. You must ensure that the system proxy port, traffic statistics, and other related configurations are set correctly — everything will be configured by you.</value> <value>This feature is intended for advanced users and those with special requirements. Once enabled, it will ignore the Core's basic settings, DNS settings, and routing settings. You must ensure that the system proxy port, traffic statistics, and other related configurations are set correctly — everything will be configured by you.</value>

View file

@ -1483,7 +1483,7 @@
<value>v2ray Full Config Template</value> <value>v2ray Full Config Template</value>
</data> </data>
<data name="TbRayFullConfigTemplateDesc" xml:space="preserve"> <data name="TbRayFullConfigTemplateDesc" xml:space="preserve">
<value>Add Outbound Config Only, routing.balancers and routing.rules.outboundTag</value> <value>Add Outbound Config Only, routing.balancers and routing.rules.outboundTag, Click to view the document</value>
</data> </data>
<data name="TbAddProxyProtocolOutboundOnly" xml:space="preserve"> <data name="TbAddProxyProtocolOutboundOnly" xml:space="preserve">
<value>Do Not Add Non-Proxy Protocol Outbound</value> <value>Do Not Add Non-Proxy Protocol Outbound</value>
@ -1495,7 +1495,7 @@
<value>sing-box Full Config Template</value> <value>sing-box Full Config Template</value>
</data> </data>
<data name="TbSBFullConfigTemplateDesc" xml:space="preserve"> <data name="TbSBFullConfigTemplateDesc" xml:space="preserve">
<value>Add Outbound and Endpoint Config Only</value> <value>Add Outbound and Endpoint Config Only, Click to view the document</value>
</data> </data>
<data name="TbFullConfigTemplateDesc" xml:space="preserve"> <data name="TbFullConfigTemplateDesc" xml:space="preserve">
<value>This feature is intended for advanced users and those with special requirements. Once enabled, it will ignore the Core's basic settings, DNS settings, and routing settings. You must ensure that the system proxy port, traffic statistics, and other related configurations are set correctly — everything will be configured by you.</value> <value>This feature is intended for advanced users and those with special requirements. Once enabled, it will ignore the Core's basic settings, DNS settings, and routing settings. You must ensure that the system proxy port, traffic statistics, and other related configurations are set correctly — everything will be configured by you.</value>

View file

@ -1480,7 +1480,7 @@
<value>v2ray 完整配置模板</value> <value>v2ray 完整配置模板</value>
</data> </data>
<data name="TbRayFullConfigTemplateDesc" xml:space="preserve"> <data name="TbRayFullConfigTemplateDesc" xml:space="preserve">
<value>仅添加出站配置routing.balancers 和 routing.rules.outboundTag</value> <value>仅添加出站配置routing.balancers 和 routing.rules.outboundTag,点击查看文档</value>
</data> </data>
<data name="TbAddProxyProtocolOutboundOnly" xml:space="preserve"> <data name="TbAddProxyProtocolOutboundOnly" xml:space="preserve">
<value>不添加非代理协议出站</value> <value>不添加非代理协议出站</value>
@ -1492,7 +1492,7 @@
<value>sing-box 完整配置模板</value> <value>sing-box 完整配置模板</value>
</data> </data>
<data name="TbSBFullConfigTemplateDesc" xml:space="preserve"> <data name="TbSBFullConfigTemplateDesc" xml:space="preserve">
<value>仅添加出站和端点配置</value> <value>仅添加出站和端点配置,点击查看文档</value>
</data> </data>
<data name="TbFullConfigTemplateDesc" xml:space="preserve"> <data name="TbFullConfigTemplateDesc" xml:space="preserve">
<value>此功能供高级用户和有特殊需求的用户使用。 启用此功能后,将忽略 Core 的基础设置DNS 设置 ,路由设置。你需要保证系统代理的端口和流量统计等功能的配置正确,一切都由你来设置。</value> <value>此功能供高级用户和有特殊需求的用户使用。 启用此功能后,将忽略 Core 的基础设置DNS 设置 ,路由设置。你需要保证系统代理的端口和流量统计等功能的配置正确,一切都由你来设置。</value>

View file

@ -1480,7 +1480,7 @@
<value>v2ray Full Config Template</value> <value>v2ray Full Config Template</value>
</data> </data>
<data name="TbRayFullConfigTemplateDesc" xml:space="preserve"> <data name="TbRayFullConfigTemplateDesc" xml:space="preserve">
<value>Add Outbound Config Only, routing.balancers and routing.rules.outboundTag</value> <value>Add Outbound Config Only, routing.balancers and routing.rules.outboundTag, Click to view the document</value>
</data> </data>
<data name="TbAddProxyProtocolOutboundOnly" xml:space="preserve"> <data name="TbAddProxyProtocolOutboundOnly" xml:space="preserve">
<value>Do Not Add Non-Proxy Protocol Outbound</value> <value>Do Not Add Non-Proxy Protocol Outbound</value>
@ -1492,7 +1492,7 @@
<value>sing-box Full Config Template</value> <value>sing-box Full Config Template</value>
</data> </data>
<data name="TbSBFullConfigTemplateDesc" xml:space="preserve"> <data name="TbSBFullConfigTemplateDesc" xml:space="preserve">
<value>Add Outbound and Endpoint Config Only</value> <value>Add Outbound and Endpoint Config Only, Click to view the document</value>
</data> </data>
<data name="TbFullConfigTemplateDesc" xml:space="preserve"> <data name="TbFullConfigTemplateDesc" xml:space="preserve">
<value>This feature is intended for advanced users and those with special requirements. Once enabled, it will ignore the Core's basic settings, DNS settings, and routing settings. You must ensure that the system proxy port, traffic statistics, and other related configurations are set correctly — everything will be configured by you.</value> <value>This feature is intended for advanced users and those with special requirements. Once enabled, it will ignore the Core's basic settings, DNS settings, and routing settings. You must ensure that the system proxy port, traffic statistics, and other related configurations are set correctly — everything will be configured by you.</value>

View file

@ -49,9 +49,11 @@
<TextBlock <TextBlock
Grid.Row="1" Grid.Row="1"
Margin="{StaticResource Margin4}" Margin="{StaticResource Margin4}"
VerticalAlignment="Center" VerticalAlignment="Center">
Text="{x:Static resx:ResUI.TbRayFullConfigTemplateDesc}" <HyperlinkButton Classes="WithIcon" Click="linkFullConfigTemplateDoc_Click">
TextWrapping="Wrap" /> <TextBlock Text="{x:Static resx:ResUI.TbRayFullConfigTemplateDesc}" />
</HyperlinkButton>
</TextBlock>
<StackPanel Grid.Row="2" Orientation="Horizontal"> <StackPanel Grid.Row="2" Orientation="Horizontal">
<TextBlock <TextBlock
@ -117,9 +119,11 @@
<TextBlock <TextBlock
Grid.Row="1" Grid.Row="1"
Margin="{StaticResource Margin4}" Margin="{StaticResource Margin4}"
VerticalAlignment="Center" VerticalAlignment="Center">
Text="{x:Static resx:ResUI.TbSBFullConfigTemplateDesc}" <HyperlinkButton Classes="WithIcon" Click="linkFullConfigTemplateDoc_Click">
TextWrapping="Wrap" /> <TextBlock Text="{x:Static resx:ResUI.TbSBFullConfigTemplateDesc}" />
</HyperlinkButton>
</TextBlock>
<StackPanel Grid.Row="2" Orientation="Horizontal"> <StackPanel Grid.Row="2" Orientation="Horizontal">
<TextBlock <TextBlock

View file

@ -43,4 +43,9 @@ public partial class FullConfigTemplateWindow : WindowBase<FullConfigTemplateVie
} }
return await Task.FromResult(true); return await Task.FromResult(true);
} }
private void linkFullConfigTemplateDoc_Click(object sender, RoutedEventArgs e)
{
ProcUtils.ProcessStart("https://github.com/2dust/v2rayN/wiki/Description-of-some-ui#%E5%AE%8C%E6%95%B4%E9%85%8D%E7%BD%AE%E6%A8%A1%E6%9D%BF%E8%AE%BE%E7%BD%AE");
}
} }

View file

@ -62,9 +62,12 @@
Grid.Row="1" Grid.Row="1"
Margin="{StaticResource Margin8}" Margin="{StaticResource Margin8}"
VerticalAlignment="Center" VerticalAlignment="Center"
Style="{StaticResource ToolbarTextBlock}" Style="{StaticResource ToolbarTextBlock}">
Text="{x:Static resx:ResUI.TbRayFullConfigTemplateDesc}" <Hyperlink Click="linkFullConfigTemplateDoc_Click">
TextWrapping="Wrap" /> <TextBlock Text="{x:Static resx:ResUI.TbRayFullConfigTemplateDesc}" />
<materialDesign:PackIcon Kind="Link" />
</Hyperlink>
</TextBlock>
<StackPanel Grid.Row="2" Orientation="Horizontal"> <StackPanel Grid.Row="2" Orientation="Horizontal">
<TextBlock <TextBlock
@ -139,9 +142,12 @@
Grid.Row="1" Grid.Row="1"
Margin="{StaticResource Margin8}" Margin="{StaticResource Margin8}"
VerticalAlignment="Center" VerticalAlignment="Center"
Style="{StaticResource ToolbarTextBlock}" Style="{StaticResource ToolbarTextBlock}">
Text="{x:Static resx:ResUI.TbSBFullConfigTemplateDesc}" <Hyperlink Click="linkFullConfigTemplateDoc_Click">
TextWrapping="Wrap" /> <TextBlock Text="{x:Static resx:ResUI.TbSBFullConfigTemplateDesc}" />
<materialDesign:PackIcon Kind="Link" />
</Hyperlink>
</TextBlock>
<StackPanel Grid.Row="2" Orientation="Horizontal"> <StackPanel Grid.Row="2" Orientation="Horizontal">
<TextBlock <TextBlock

View file

@ -44,4 +44,9 @@ public partial class FullConfigTemplateWindow
} }
return await Task.FromResult(true); return await Task.FromResult(true);
} }
private void linkFullConfigTemplateDoc_Click(object sender, RoutedEventArgs e)
{
ProcUtils.ProcessStart("https://github.com/2dust/v2rayN/wiki/Description-of-some-ui#%E5%AE%8C%E6%95%B4%E9%85%8D%E7%BD%AE%E6%A8%A1%E6%9D%BF%E8%AE%BE%E7%BD%AE");
}
} }