diff --git a/Netch/Controllers/NFController.cs b/Netch/Controllers/NFController.cs index ea5c1399..8626ed69 100644 --- a/Netch/Controllers/NFController.cs +++ b/Netch/Controllers/NFController.cs @@ -1,4 +1,5 @@ -using System; +using Netch.Forms; +using System; using System.Diagnostics; using System.IO; using System.ServiceProcess; @@ -39,6 +40,7 @@ namespace Netch.Controllers /// 是否成功 public bool Start(Models.Server server, Models.Mode mode) { + MainForm.Instance.StatusText($"{Utils.i18N.Translate("Status")}{Utils.i18N.Translate(": ")}{Utils.i18N.Translate("Starting Redirector")}"); if (!File.Exists("bin\\Redirector.exe")) { return false; @@ -98,6 +100,7 @@ namespace Netch.Controllers var service = new ServiceController("netfilter2"); if (service.Status == ServiceControllerStatus.Stopped) { + MainForm.Instance.StatusText($"{Utils.i18N.Translate("Status")}{Utils.i18N.Translate(": ")}{Utils.i18N.Translate("Starting netfilter2 Service")}"); service.Start(); } } diff --git a/Netch/Controllers/SSRController.cs b/Netch/Controllers/SSRController.cs index b5b270a1..f363cb85 100644 --- a/Netch/Controllers/SSRController.cs +++ b/Netch/Controllers/SSRController.cs @@ -26,7 +26,7 @@ namespace Netch.Controllers /// 是否启动成功 public bool Start(Models.Server server, Models.Mode mode) { - MainForm.Instance.StatusText($"{Utils.i18N.Translate("Status")}{Utils.i18N.Translate(": ")}{Utils.i18N.Translate("Starting Shadowsocks")}"); + MainForm.Instance.StatusText($"{Utils.i18N.Translate("Status")}{Utils.i18N.Translate(": ")}{Utils.i18N.Translate("Starting ShadowsocksR")}"); if (!File.Exists("bin\\ShadowsocksR.exe")) { return false; diff --git a/Netch/Controllers/UpdateChecker.cs b/Netch/Controllers/UpdateChecker.cs index b1892ebe..444ff6c8 100644 --- a/Netch/Controllers/UpdateChecker.cs +++ b/Netch/Controllers/UpdateChecker.cs @@ -26,7 +26,7 @@ namespace Netch.Controllers public const string Name = @"Netch"; public const string Copyright = @"Copyright © 2019 - 2020"; - public const string Version = @"1.3.8"; + public const string Version = @"1.3.9"; public async void Check(bool notifyNoFound, bool isPreRelease) { diff --git a/Netch/Resources/zh-CN b/Netch/Resources/zh-CN index e99612ff..eecc1fc4 100644 --- a/Netch/Resources/zh-CN +++ b/Netch/Resources/zh-CN @@ -22,6 +22,8 @@ "Starting Tap": "正在启动Tap", "Starting NatTester": "正在启动Nat测试", "Starting LocalDns service": "正在启动本地DNS服务", + "Starting Redirector": "正在启动Redirector", + "Starting netfilter2 Service": "正在启动netfilter2服务", "SetupBypass": "设置绕行规则", "Server": "服务器",