From fa9b8693ecd001e3ef04987eb2a1be26e05c67bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=B1=E5=BA=A6=E5=AD=A6=E4=B9=A0?= <33132228+Kucashu@users.noreply.github.com> Date: Sat, 30 Mar 2019 20:41:24 +0800 Subject: [PATCH 1/2] Add: local&Version's i18n --- shadowsocks-csharp/View/ConfigForm.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shadowsocks-csharp/View/ConfigForm.cs b/shadowsocks-csharp/View/ConfigForm.cs index 5072d34f..8f0f891c 100755 --- a/shadowsocks-csharp/View/ConfigForm.cs +++ b/shadowsocks-csharp/View/ConfigForm.cs @@ -141,9 +141,9 @@ private Font CreateFont() private void UpdateTexts() { - this.Text = I18N.GetString("Edit Servers") + "(" - + (controller.GetCurrentConfiguration().shareOverLan ? "any" : "local") + ":" + controller.GetCurrentConfiguration().localPort.ToString() - + I18N.GetString(" Version") + UpdateChecker.FullVersion + this.Text = I18N.GetString("Edit Servers") + "(" + + (controller.GetCurrentConfiguration().shareOverLan ? "any" : I18N.GetString("local")) + ": " + controller.GetCurrentConfiguration().localPort.ToString() + +" " +I18N.GetString("Version")+": " + UpdateChecker.FullVersion + ")"; AddButton.Text = I18N.GetString("&Add"); From 4035966c4b401e56846a2e868c57e7f6e6e3b44c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=B1=E5=BA=A6=E5=AD=A6=E4=B9=A0?= <33132228+Kucashu@users.noreply.github.com> Date: Sat, 30 Mar 2019 20:43:10 +0800 Subject: [PATCH 2/2] Add: Version&local 's CN translate --- shadowsocks-csharp/Data/cn.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shadowsocks-csharp/Data/cn.txt b/shadowsocks-csharp/Data/cn.txt index ffac358f..dd8c3f10 100644 --- a/shadowsocks-csharp/Data/cn.txt +++ b/shadowsocks-csharp/Data/cn.txt @@ -62,7 +62,8 @@ Global Settings=选项设置 &Delete=删除(&D) Up=上移 Down=下移 - +Verion=版本 +local=本地端口 New server=未配置的服务器 Server=服务器(截图打码)