Improve core tip

pull/2557/head
2dust 2 years ago
parent 7a0daee443
commit 54a122ae34

@ -361,7 +361,7 @@ namespace v2rayN.Handler
if (!File.Exists(filePath))
{
string msg = string.Format(ResUI.NotFoundCore, @"");
string msg = string.Format(ResUI.NotFoundCore, @"", "");
//ShowMsg(true, msg);
return "";
}
@ -403,7 +403,7 @@ namespace v2rayN.Handler
{
try
{
var gitHubReleases = Utils.FromJson<List<GitHubRelease>>(gitHubReleaseApi);
var gitHubReleases = Utils.FromJson<List<GitHubRelease>>(gitHubReleaseApi);
string version;
if (preRelease)
{

@ -186,7 +186,7 @@ namespace v2rayN.Handler
}
if (Utils.IsNullOrEmpty(fileName))
{
string msg = string.Format(ResUI.NotFoundCore, coreInfo.coreUrl);
string msg = string.Format(ResUI.NotFoundCore, string.Join(", ", lstCoreTemp.ToArray()), coreInfo.coreUrl);
ShowMsg(false, msg);
}
return fileName;

@ -736,7 +736,7 @@ namespace v2rayN.Resx {
}
/// <summary>
/// 查找类似 Core not found, please download: {0} 的本地化字符串。
/// 查找类似 Core not found({0}), please download: {1} 的本地化字符串。
/// </summary>
internal static string NotFoundCore {
get {

@ -295,7 +295,7 @@
<value> non-standard service, this feature is invalid</value>
</data>
<data name="NotFoundCore" xml:space="preserve">
<value>Core not found, please download: {0}</value>
<value>Core not found({0}), please download: {1}</value>
</data>
<data name="NoValidQRcodeFound" xml:space="preserve">
<value>Scan completed, no valid QR code found</value>

@ -295,7 +295,7 @@
<value>非标准服务,此功能无效</value>
</data>
<data name="NotFoundCore" xml:space="preserve">
<value>找不到Core,下载地址: {0}</value>
<value>找不到Core(文件名:{0}),下载地址: {1}</value>
</data>
<data name="NoValidQRcodeFound" xml:space="preserve">
<value>扫描完成,未发现有效二维码</value>

Loading…
Cancel
Save