Skip to content

Commit

Permalink
Merge pull request #187 from Kucashu/patch-1
Browse files Browse the repository at this point in the history
 Add: local&Version's i18n
 Add: Version&local 's CN translate
  • Loading branch information
Akkariiin authored Apr 19, 2019
2 parents aa95ca8 + 4035966 commit 3126ab2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion shadowsocks-csharp/Data/cn.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ Global Settings=选项设置
&Delete=删除(&D)
Up=上移
Down=下移

Verion=版本
local=本地端口
New server=未配置的服务器

Server=服务器(截图打码)
Expand Down
6 changes: 3 additions & 3 deletions shadowsocks-csharp/View/ConfigForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 3126ab2

Please sign in to comment.