From 5791618ac5583a791e6ade6c466ed66fd4d93f17 Mon Sep 17 00:00:00 2001 From: Student Main Date: Sat, 2 Mar 2019 20:43:21 +0800 Subject: [PATCH] Replace 'Arguement' to 'Argument' --- shadowsocks-csharp/Data/zh_CN.txt | 2 +- shadowsocks-csharp/Util/SystemProxy/Sysproxy.cs | 2 +- shadowsocks-csharp/View/ConfigForm.Designer.cs | 2 +- shadowsocks-csharp/View/ConfigForm.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/shadowsocks-csharp/Data/zh_CN.txt b/shadowsocks-csharp/Data/zh_CN.txt index c414bb6e..a9708b91 100644 --- a/shadowsocks-csharp/Data/zh_CN.txt +++ b/shadowsocks-csharp/Data/zh_CN.txt @@ -53,7 +53,7 @@ Show Password=显示密码 Encryption=加密 Plugin Program=插件程序 Plugin Options=插件选项 -Need Plugin Arguement=需要命令行参数 +Need Plugin Argument=需要命令行参数 Plugin Arguments=插件参数 Proxy Port=代理端口 Portable Mode=便携模式 diff --git a/shadowsocks-csharp/Util/SystemProxy/Sysproxy.cs b/shadowsocks-csharp/Util/SystemProxy/Sysproxy.cs index 9c7fe067..863be1df 100644 --- a/shadowsocks-csharp/Util/SystemProxy/Sysproxy.cs +++ b/shadowsocks-csharp/Util/SystemProxy/Sysproxy.cs @@ -195,7 +195,7 @@ namespace Shadowsocks.Util.SystemProxy } catch (System.ComponentModel.Win32Exception e) { - // log the arguements + // log the arguments throw new ProxyException(ProxyExceptionType.FailToRun, process.StartInfo.Arguments, e); } var stderr = error.ToString(); diff --git a/shadowsocks-csharp/View/ConfigForm.Designer.cs b/shadowsocks-csharp/View/ConfigForm.Designer.cs index 242da240..cffb5d28 100755 --- a/shadowsocks-csharp/View/ConfigForm.Designer.cs +++ b/shadowsocks-csharp/View/ConfigForm.Designer.cs @@ -354,7 +354,7 @@ this.NeedPluginArgCheckBox.Name = "NeedPluginArgCheckBox"; this.NeedPluginArgCheckBox.Size = new System.Drawing.Size(150, 16); this.NeedPluginArgCheckBox.TabIndex = 10; - this.NeedPluginArgCheckBox.Text = "Need Plugin Arguement"; + this.NeedPluginArgCheckBox.Text = "Need Plugin Argument"; this.NeedPluginArgCheckBox.UseVisualStyleBackColor = true; this.NeedPluginArgCheckBox.CheckedChanged += new System.EventHandler(this.UsePluginArgCheckBox_CheckedChanged); // diff --git a/shadowsocks-csharp/View/ConfigForm.cs b/shadowsocks-csharp/View/ConfigForm.cs index 1fc940aa..9c5a6ad6 100755 --- a/shadowsocks-csharp/View/ConfigForm.cs +++ b/shadowsocks-csharp/View/ConfigForm.cs @@ -53,7 +53,7 @@ namespace Shadowsocks.View PluginLabel.Text = I18N.GetString("Plugin Program"); PluginOptionsLabel.Text = I18N.GetString("Plugin Options"); PluginArgumentsLabel.Text = I18N.GetString("Plugin Arguments"); - NeedPluginArgCheckBox.Text = I18N.GetString("Need Plugin Arguement"); + NeedPluginArgCheckBox.Text = I18N.GetString("Need Plugin Argument"); ProxyPortLabel.Text = I18N.GetString("Proxy Port"); PortableModeCheckBox.Text = I18N.GetString("Portable Mode"); toolTip1.SetToolTip(this.PortableModeCheckBox, I18N.GetString("Restart required"));