Merge pull request #4432 from The-Mojoo/master

Add Update CoreTypeName
pull/4444/head
2dust 1 year ago committed by GitHub
commit 2a37a6a28e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -427,7 +427,7 @@ namespace v2rayN.Handler
case ECoreType.v2fly_v5:
{
curVersion = getCoreVersion(type);
message = string.Format(ResUI.IsLatestCore, curVersion.ToVersionString("v"));
message = string.Format(ResUI.IsLatestCore, type, curVersion.ToVersionString("v"));
string osBit = "64";
switch (RuntimeInformation.ProcessArchitecture)
{
@ -451,7 +451,7 @@ namespace v2rayN.Handler
case ECoreType.clash_meta:
{
curVersion = getCoreVersion(type);
message = string.Format(ResUI.IsLatestCore, curVersion);
message = string.Format(ResUI.IsLatestCore, type, curVersion);
switch (RuntimeInformation.ProcessArchitecture)
{
case Architecture.Arm64:
@ -472,7 +472,7 @@ namespace v2rayN.Handler
case ECoreType.sing_box:
{
curVersion = getCoreVersion(type);
message = string.Format(ResUI.IsLatestCore, curVersion.ToVersionString("v"));
message = string.Format(ResUI.IsLatestCore, type, curVersion.ToVersionString("v"));
switch (RuntimeInformation.ProcessArchitecture)
{
case Architecture.Arm64:
@ -493,7 +493,7 @@ namespace v2rayN.Handler
case ECoreType.v2rayN:
{
curVersion = new SemanticVersion(FileVersionInfo.GetVersionInfo(Utils.GetExePath()).FileVersion.ToString());
message = string.Format(ResUI.IsLatestN, curVersion);
message = string.Format(ResUI.IsLatestN, type, curVersion);
switch (RuntimeInformation.ProcessArchitecture)
{
case Architecture.Arm64:

@ -187,10 +187,10 @@
<value>پیکربندی اولیه</value>
</data>
<data name="IsLatestCore" xml:space="preserve">
<value>{0} در حال حاضر به روز است.</value>
<value>{0} {1} در حال حاضر به روز است.</value>
</data>
<data name="IsLatestN" xml:space="preserve">
<value>{0} در حال حاضر به روز است.</value>
<value>{0} {1} در حال حاضر به روز است.</value>
</data>
<data name="LvAddress" xml:space="preserve">
<value>آدرس</value>

@ -187,10 +187,10 @@
<value>Initial Configuration</value>
</data>
<data name="IsLatestCore" xml:space="preserve">
<value>{0} already up to date.</value>
<value>{0} {1} already up to date.</value>
</data>
<data name="IsLatestN" xml:space="preserve">
<value>{0} already up to date.</value>
<value>{0} {1} already up to date.</value>
</data>
<data name="LvAddress" xml:space="preserve">
<value>Address</value>

@ -187,10 +187,10 @@
<value>Исходная конфигурация</value>
</data>
<data name="IsLatestCore" xml:space="preserve">
<value>{0} является последней версией.</value>
<value>{0} {1} является последней версией.</value>
</data>
<data name="IsLatestN" xml:space="preserve">
<value>{0} является последней версией.</value>
<value>{0} {1} является последней версией.</value>
</data>
<data name="LvAddress" xml:space="preserve">
<value>Адрес</value>

@ -187,10 +187,10 @@
<value>初始化配置</value>
</data>
<data name="IsLatestCore" xml:space="preserve">
<value>{0} 已是最新版本。</value>
<value>{0} {1} 已是最新版本。</value>
</data>
<data name="IsLatestN" xml:space="preserve">
<value>{0} 已是最新版本。</value>
<value>{0} {1} 已是最新版本。</value>
</data>
<data name="LvAddress" xml:space="preserve">
<value>地址</value>

@ -187,10 +187,10 @@
<value>初始化配置</value>
</data>
<data name="IsLatestCore" xml:space="preserve">
<value>{0} 已是最新版本。</value>
<value>{0} {1} 已是最新版本。</value>
</data>
<data name="IsLatestN" xml:space="preserve">
<value>{0} 已是最新版本。</value>
<value>{0} {1} 已是最新版本。</value>
</data>
<data name="LvAddress" xml:space="preserve">
<value>位址</value>

Loading…
Cancel
Save