Minor changes

- display user-friendly server name
- clarify proxy type

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
This commit is contained in:
Syrone Wong
2016-08-09 08:24:44 +08:00
parent dc591413ce
commit 93e7641446
3 changed files with 3 additions and 3 deletions
@@ -519,7 +519,7 @@ namespace Shadowsocks.Controller
if (_config.isVerboseLogging)
{
Logging.Info($"Socket connected to ss server {remote.DestEndPoint}");
Logging.Info($"Socket connected to ss server: {server.FriendlyName()}");
}
var latency = DateTime.Now - _startConnectTime;
+1 -1
View File
@@ -12,7 +12,7 @@ Servers=服务器
Edit Servers...=编辑服务器...
Statistics Config...=统计配置...
Start on Boot=开机启动
Proxy...=代理设置...
SOCKS5 Proxy...=SOCKS5代理设置...
Allow Clients from LAN=允许来自局域网的连接
Local PAC=使用本地 PAC
Online PAC=使用在线 PAC
@@ -264,7 +264,7 @@ namespace Shadowsocks.View
this.editGFWUserRuleItem = CreateMenuItem("Edit User Rule for GFWList...", new EventHandler(this.EditUserRuleFileForGFWListItem_Click)),
this.editOnlinePACItem = CreateMenuItem("Edit Online PAC URL...", new EventHandler(this.UpdateOnlinePACURLItem_Click)),
}),
this.proxyItem = CreateMenuItem("Proxy...", new EventHandler(this.proxyItem_Click)),
this.proxyItem = CreateMenuItem("SOCKS5 Proxy...", new EventHandler(this.proxyItem_Click)),
new MenuItem("-"),
this.AutoStartupItem = CreateMenuItem("Start on Boot", new EventHandler(this.AutoStartupItem_Click)),
this.ShareOverLANItem = CreateMenuItem("Allow Clients from LAN", new EventHandler(this.ShareOverLANItem_Click)),