Browse Source

Minor changes

- display user-friendly server name
- clarify proxy type

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
tags/3.2
Syrone Wong 8 years ago
parent
commit
93e7641446
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      shadowsocks-csharp/Controller/Service/TCPRelay.cs
  2. +1
    -1
      shadowsocks-csharp/Data/cn.txt
  3. +1
    -1
      shadowsocks-csharp/View/MenuViewController.cs

+ 1
- 1
shadowsocks-csharp/Controller/Service/TCPRelay.cs View File

@@ -519,7 +519,7 @@ namespace Shadowsocks.Controller
if (_config.isVerboseLogging) 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; var latency = DateTime.Now - _startConnectTime;


+ 1
- 1
shadowsocks-csharp/Data/cn.txt View File

@@ -12,7 +12,7 @@ Servers=服务器
Edit Servers...=编辑服务器... Edit Servers...=编辑服务器...
Statistics Config...=统计配置... Statistics Config...=统计配置...
Start on Boot=开机启动 Start on Boot=开机启动
Proxy...=代理设置...
SOCKS5 Proxy...=SOCKS5代理设置...
Allow Clients from LAN=允许来自局域网的连接 Allow Clients from LAN=允许来自局域网的连接
Local PAC=使用本地 PAC Local PAC=使用本地 PAC
Online PAC=使用在线 PAC Online PAC=使用在线 PAC


+ 1
- 1
shadowsocks-csharp/View/MenuViewController.cs View File

@@ -264,7 +264,7 @@ namespace Shadowsocks.View
this.editGFWUserRuleItem = CreateMenuItem("Edit User Rule for GFWList...", new EventHandler(this.EditUserRuleFileForGFWListItem_Click)), 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.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("-"), new MenuItem("-"),
this.AutoStartupItem = CreateMenuItem("Start on Boot", new EventHandler(this.AutoStartupItem_Click)), this.AutoStartupItem = CreateMenuItem("Start on Boot", new EventHandler(this.AutoStartupItem_Click)),
this.ShareOverLANItem = CreateMenuItem("Allow Clients from LAN", new EventHandler(this.ShareOverLANItem_Click)), this.ShareOverLANItem = CreateMenuItem("Allow Clients from LAN", new EventHandler(this.ShareOverLANItem_Click)),


Loading…
Cancel
Save