From f199641c64f8f3e207c53dc7702fefafe4e69119 Mon Sep 17 00:00:00 2001 From: Amazing_DM Date: Sat, 25 Apr 2020 14:53:04 +0800 Subject: [PATCH] fix error translation --- Netch/Forms/SettingForm.cs | 2 +- Netch/Resources/zh-CN | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Netch/Forms/SettingForm.cs b/Netch/Forms/SettingForm.cs index 33e86da7..8d34a17c 100644 --- a/Netch/Forms/SettingForm.cs +++ b/Netch/Forms/SettingForm.cs @@ -364,7 +364,7 @@ namespace Netch.Forms catch (FormatException) { ProfileCount_TextBox.Text = Global.Settings.ProfileCount.ToString(); - MessageBox.Show(Utils.i18N.Translate("STUN_ServerPort value illegal. Try again."), Utils.i18N.Translate("Information"), MessageBoxButtons.OK, MessageBoxIcon.Information); + MessageBox.Show(Utils.i18N.Translate("Detection interval value illegal. Try again."), Utils.i18N.Translate("Information"), MessageBoxButtons.OK, MessageBoxIcon.Information); return; } diff --git a/Netch/Resources/zh-CN b/Netch/Resources/zh-CN index be5258a6..4f6ddfff 100644 --- a/Netch/Resources/zh-CN +++ b/Netch/Resources/zh-CN @@ -160,6 +160,7 @@ "ProfileCount": "快捷配置数量(重启软件生效)", "ProfileCount value illegal. Try again.": "快捷配置数值非法。请重试。", "STUN_ServerPort value illegal. Try again.": "STUN 端口数值非法。请重试。", + "Detection interval value illegal. Try again.": "检测间隔值非法。请重试。", "TUN/TAP driver is not detected. Is it installed now?": "未检测到 TUN/TAP 驱动,是否现在安装?", "Experimental function": "实验性功能", "Delay test after startup": "启动后延迟测试",