mirror of https://github.com/2dust/v2rayN
Add toolTip
parent
43bb2c0fb8
commit
97ea1c7a9e
|
@ -996,6 +996,15 @@ namespace v2rayN.Resx {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 查找类似 Auto column width adjustment 的本地化字符串。
|
||||||
|
/// </summary>
|
||||||
|
public static string menuProfileAutofitColumnWidth {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("menuProfileAutofitColumnWidth", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 查找类似 Promotion 的本地化字符串。
|
/// 查找类似 Promotion 的本地化字符串。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -1261,4 +1261,7 @@
|
||||||
<data name="TbSettingsDomainDNSAddress" xml:space="preserve">
|
<data name="TbSettingsDomainDNSAddress" xml:space="preserve">
|
||||||
<value>Outbound DNS address</value>
|
<value>Outbound DNS address</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="menuProfileAutofitColumnWidth" xml:space="preserve">
|
||||||
|
<value>Auto column width adjustment</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
|
@ -1258,4 +1258,7 @@
|
||||||
<data name="TbSettingsDomainDNSAddress" xml:space="preserve">
|
<data name="TbSettingsDomainDNSAddress" xml:space="preserve">
|
||||||
<value>Outbound域名解析地址</value>
|
<value>Outbound域名解析地址</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="menuProfileAutofitColumnWidth" xml:space="preserve">
|
||||||
|
<value>自动调整列宽</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
|
@ -1138,4 +1138,7 @@
|
||||||
<data name="menuOpenTheFileLocation" xml:space="preserve">
|
<data name="menuOpenTheFileLocation" xml:space="preserve">
|
||||||
<value>打開儲存所在的位置</value>
|
<value>打開儲存所在的位置</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="menuProfileAutofitColumnWidth" xml:space="preserve">
|
||||||
|
<value>自動調整列寬</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
|
@ -1209,11 +1209,12 @@ namespace v2rayN.ViewModels
|
||||||
y => y != null && !y.IsNullOrEmpty())
|
y => y != null && !y.IsNullOrEmpty())
|
||||||
.Subscribe(c =>
|
.Subscribe(c =>
|
||||||
{
|
{
|
||||||
if (!Utils.IsNullOrEmpty(CurrentLanguage))
|
if (!Utils.IsNullOrEmpty(CurrentLanguage) && _config.uiItem.currentLanguage != CurrentLanguage)
|
||||||
{
|
{
|
||||||
_config.uiItem.currentLanguage = CurrentLanguage;
|
_config.uiItem.currentLanguage = CurrentLanguage;
|
||||||
Thread.CurrentThread.CurrentUICulture = new(CurrentLanguage);
|
Thread.CurrentThread.CurrentUICulture = new(CurrentLanguage);
|
||||||
ConfigHandler.SaveConfig(_config);
|
ConfigHandler.SaveConfig(_config);
|
||||||
|
_noticeHandler?.Enqueue(ResUI.NeedRebootTips);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -268,7 +268,8 @@ namespace v2rayN.ViewModels
|
||||||
var needReboot = (EnableStatistics != _config.guiItem.enableStatistics
|
var needReboot = (EnableStatistics != _config.guiItem.enableStatistics
|
||||||
|| EnableDragDropSort != _config.uiItem.enableDragDropSort
|
|| EnableDragDropSort != _config.uiItem.enableDragDropSort
|
||||||
|| EnableHWA != _config.guiItem.enableHWA
|
|| EnableHWA != _config.guiItem.enableHWA
|
||||||
|| CurrentFontFamily != _config.uiItem.currentFontFamily);
|
|| CurrentFontFamily != _config.uiItem.currentFontFamily
|
||||||
|
|| MainGirdOrientation != (int)_config.uiItem.mainGirdOrientation);
|
||||||
|
|
||||||
//if (Utile.IsNullOrEmpty(Kcpmtu.ToString()) || !Utile.IsNumeric(Kcpmtu.ToString())
|
//if (Utile.IsNullOrEmpty(Kcpmtu.ToString()) || !Utile.IsNumeric(Kcpmtu.ToString())
|
||||||
// || Utile.IsNullOrEmpty(Kcptti.ToString()) || !Utile.IsNumeric(Kcptti.ToString())
|
// || Utile.IsNullOrEmpty(Kcptti.ToString()) || !Utile.IsNumeric(Kcptti.ToString())
|
||||||
|
|
|
@ -43,7 +43,8 @@
|
||||||
Width="24"
|
Width="24"
|
||||||
Height="24"
|
Height="24"
|
||||||
Margin="8,0"
|
Margin="8,0"
|
||||||
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}">
|
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}"
|
||||||
|
ToolTip="{x:Static resx:ResUI.menuConnectionCloseAll}">
|
||||||
<materialDesign:PackIcon VerticalAlignment="Center" Kind="Close" />
|
<materialDesign:PackIcon VerticalAlignment="Center" Kind="Close" />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,8 @@
|
||||||
Width="24"
|
Width="24"
|
||||||
Height="24"
|
Height="24"
|
||||||
Margin="8,0"
|
Margin="8,0"
|
||||||
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}">
|
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}"
|
||||||
|
ToolTip="{x:Static resx:ResUI.menuProxiesReload}">
|
||||||
<materialDesign:PackIcon VerticalAlignment="Center" Kind="Reload" />
|
<materialDesign:PackIcon VerticalAlignment="Center" Kind="Reload" />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
@ -70,7 +71,8 @@
|
||||||
Width="24"
|
Width="24"
|
||||||
Height="24"
|
Height="24"
|
||||||
Margin="8,0"
|
Margin="8,0"
|
||||||
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}">
|
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}"
|
||||||
|
ToolTip="{x:Static resx:ResUI.menuProxiesDelaytest}">
|
||||||
<materialDesign:PackIcon VerticalAlignment="Center" Kind="LightningBolt" />
|
<materialDesign:PackIcon VerticalAlignment="Center" Kind="LightningBolt" />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,8 @@
|
||||||
Height="24"
|
Height="24"
|
||||||
Margin="8,0"
|
Margin="8,0"
|
||||||
Click="menuMsgViewCopyAll_Click"
|
Click="menuMsgViewCopyAll_Click"
|
||||||
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}">
|
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}"
|
||||||
|
ToolTip="{x:Static resx:ResUI.menuMsgViewCopyAll}">
|
||||||
<materialDesign:PackIcon VerticalAlignment="Center" Kind="ContentCopy" />
|
<materialDesign:PackIcon VerticalAlignment="Center" Kind="ContentCopy" />
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
|
@ -40,7 +41,8 @@
|
||||||
Height="24"
|
Height="24"
|
||||||
Margin="8,0"
|
Margin="8,0"
|
||||||
Click="menuMsgViewClear_Click"
|
Click="menuMsgViewClear_Click"
|
||||||
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}">
|
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}"
|
||||||
|
ToolTip="{x:Static resx:ResUI.menuMsgViewClear}">
|
||||||
<materialDesign:PackIcon VerticalAlignment="Center" Kind="Delete" />
|
<materialDesign:PackIcon VerticalAlignment="Center" Kind="Delete" />
|
||||||
</Button>
|
</Button>
|
||||||
<TextBlock
|
<TextBlock
|
||||||
|
|
|
@ -39,7 +39,8 @@
|
||||||
Width="30"
|
Width="30"
|
||||||
Height="30"
|
Height="30"
|
||||||
Margin="4,0"
|
Margin="4,0"
|
||||||
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}">
|
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}"
|
||||||
|
ToolTip="{x:Static resx:ResUI.menuSubEdit}">
|
||||||
<materialDesign:PackIcon VerticalAlignment="Center" Kind="Edit" />
|
<materialDesign:PackIcon VerticalAlignment="Center" Kind="Edit" />
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
|
@ -47,7 +48,8 @@
|
||||||
Width="30"
|
Width="30"
|
||||||
Height="30"
|
Height="30"
|
||||||
Margin="4,0"
|
Margin="4,0"
|
||||||
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}">
|
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}"
|
||||||
|
ToolTip="{x:Static resx:ResUI.menuSubAdd}">
|
||||||
<materialDesign:PackIcon VerticalAlignment="Center" Kind="Plus" />
|
<materialDesign:PackIcon VerticalAlignment="Center" Kind="Plus" />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
@ -56,7 +58,8 @@
|
||||||
Width="30"
|
Width="30"
|
||||||
Height="30"
|
Height="30"
|
||||||
Margin="20,0"
|
Margin="20,0"
|
||||||
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}">
|
Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}"
|
||||||
|
ToolTip="{x:Static resx:ResUI.menuProfileAutofitColumnWidth}">
|
||||||
<materialDesign:PackIcon VerticalAlignment="Center" Kind="ArrowSplitVertical" />
|
<materialDesign:PackIcon VerticalAlignment="Center" Kind="ArrowSplitVertical" />
|
||||||
</Button>
|
</Button>
|
||||||
<TextBox
|
<TextBox
|
||||||
|
|
Loading…
Reference in New Issue