diff --git a/Netch/Forms/MainForm.cs b/Netch/Forms/MainForm.cs index e82cc9de..0b4ff10b 100644 --- a/Netch/Forms/MainForm.cs +++ b/Netch/Forms/MainForm.cs @@ -1225,7 +1225,14 @@ namespace Netch.Forms } public void NatTypeStatusText(string text) { - NatTypeStatusLabel.Text = "NatType:" + text; + if (!string.IsNullOrWhiteSpace(text)) + { + NatTypeStatusLabel.Text = "NAT" + Utils.i18N.Translate(": ") + text; + } + else + { + NatTypeStatusLabel.Text = "NAT" + Utils.i18N.Translate(": ") + Utils.i18N.Translate("Test failed"); + } } } } diff --git a/Netch/Resources/zh-CN b/Netch/Resources/zh-CN index 5d5a581f..415c27b9 100644 --- a/Netch/Resources/zh-CN +++ b/Netch/Resources/zh-CN @@ -26,6 +26,7 @@ "Starting netfilter2 Service": "正在启动netfilter2服务", "Starting dns2tcp Service": "正在启动dns2tcp服务", "SetupBypass": "设置绕行规则", + "Test failed": "测试失败", "Server": "服务器", "Import Servers From Clipboard": "从剪贴板导入服务器",