Add tip for custom log

pull/3568/head
2dust 2023-03-25 18:05:01 +08:00
parent 4e73b3ae28
commit f09efdad66
4 changed files with 25 additions and 3 deletions

View File

@ -2995,6 +2995,15 @@ namespace v2rayN.Resx {
} }
} }
/// <summary>
/// 查找类似 Please turn off when there is an abnormal disconnection 的本地化字符串。
/// </summary>
public static string TipDisplayLog {
get {
return ResourceManager.GetString("TipDisplayLog", resourceCulture);
}
}
/// <summary> /// <summary>
/// 查找类似 *Default value tcp 的本地化字符串。 /// 查找类似 *Default value tcp 的本地化字符串。
/// </summary> /// </summary>

View File

@ -1147,4 +1147,7 @@
<data name="SpeedtestingWait" xml:space="preserve"> <data name="SpeedtestingWait" xml:space="preserve">
<value>Waiting for testing</value> <value>Waiting for testing</value>
</data> </data>
<data name="TipDisplayLog" xml:space="preserve">
<value>Please turn off when there is an abnormal disconnection</value>
</data>
</root> </root>

View File

@ -1147,4 +1147,7 @@
<data name="SpeedtestingWait" xml:space="preserve"> <data name="SpeedtestingWait" xml:space="preserve">
<value>等待测试中...</value> <value>等待测试中...</value>
</data> </data>
<data name="TipDisplayLog" xml:space="preserve">
<value>当有异常断流时请关闭</value>
</data>
</root> </root>

View File

@ -137,12 +137,19 @@
VerticalAlignment="Center" VerticalAlignment="Center"
Style="{StaticResource ToolbarTextBlock}" Style="{StaticResource ToolbarTextBlock}"
Text="{x:Static resx:ResUI.TbDisplayLog}" /> Text="{x:Static resx:ResUI.TbDisplayLog}" />
<ToggleButton <StackPanel
x:Name="togDisplayLog"
Grid.Row="4" Grid.Row="4"
Grid.Column="1" Grid.Column="1"
Margin="4" Margin="4"
HorizontalAlignment="Left" /> Orientation="Horizontal">
<ToggleButton x:Name="togDisplayLog" HorizontalAlignment="Left" />
<TextBlock
Margin="8,0"
VerticalAlignment="Center"
Style="{StaticResource ToolbarTextBlock}"
Text="{x:Static resx:ResUI.TipDisplayLog}" />
</StackPanel>
<TextBlock <TextBlock
Grid.Row="5" Grid.Row="5"