diff --git a/Netch/Forms/Server/Vmess.cs b/Netch/Forms/Server/Vmess.cs index e1264259..cc97f835 100644 --- a/Netch/Forms/Server/Vmess.cs +++ b/Netch/Forms/Server/Vmess.cs @@ -116,6 +116,11 @@ namespace Netch.Forms.Server { return; } + if (AlterIDTextBox.Text == "") + { + MessageBox.Show(Utils.i18N.Translate("Please fill in alterID"), Utils.i18N.Translate("Information"), MessageBoxButtons.OK, MessageBoxIcon.Information); + return; + } if (Index == -1) { Global.Settings.Server.Add(new Models.Server diff --git a/Netch/Resources/zh-CN b/Netch/Resources/zh-CN index fd2c340b..1b36db31 100644 --- a/Netch/Resources/zh-CN +++ b/Netch/Resources/zh-CN @@ -145,6 +145,7 @@ "Link can not be empty": "链接不可为空", "Link must start with http:// or https://": "链接必须以 http:// 或 https:// 开头", "Successfully saved": "保存成功", + "Please fill in alterID": "请填写额外ID", "Settings": "设置", "Start when opened": "打开软件时启动加速", diff --git a/binaries b/binaries index 9c108bb4..385188a7 160000 --- a/binaries +++ b/binaries @@ -1 +1 @@ -Subproject commit 9c108bb4edc00911dad1b3f4e6b20d8904fc4c73 +Subproject commit 385188a7b6ffa965be2db49fff7ff0b29707791b diff --git a/modes b/modes index 74fcb7c3..5ed034a8 160000 --- a/modes +++ b/modes @@ -1 +1 @@ -Subproject commit 74fcb7c3e3f064daa0f0e8f08ff4e657d47ea5ca +Subproject commit 5ed034a88be50eebeba92abc6e1798d589c93ee0