Skip to content

Commit 3126ab2

Browse files
authored
Merge pull request #187 from Kucashu/patch-1
Add: local&Version's i18n Add: Version&local 's CN translate
2 parents aa95ca8 + 4035966 commit 3126ab2

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

shadowsocks-csharp/Data/cn.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ Global Settings=选项设置
6363
&Delete=删除(&D)
6464
Up=上移
6565
Down=下移
66-
66+
Verion=版本
67+
local=本地端口
6768
New server=未配置的服务器
6869

6970
Server=服务器(截图打码)

shadowsocks-csharp/View/ConfigForm.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ private Font CreateFont()
141141

142142
private void UpdateTexts()
143143
{
144-
this.Text = I18N.GetString("Edit Servers") + "("
145-
+ (controller.GetCurrentConfiguration().shareOverLan ? "any" : "local") + ":" + controller.GetCurrentConfiguration().localPort.ToString()
146-
+ I18N.GetString(" Version") + UpdateChecker.FullVersion
144+
this.Text = I18N.GetString("Edit Servers") + "("
145+
+ (controller.GetCurrentConfiguration().shareOverLan ? "any" : I18N.GetString("local")) + ": " + controller.GetCurrentConfiguration().localPort.ToString()
146+
+" " +I18N.GetString("Version")+": " + UpdateChecker.FullVersion
147147
+ ")";
148148

149149
AddButton.Text = I18N.GetString("&Add");

0 commit comments

Comments
 (0)