|
|
@@ -1261,15 +1261,15 @@ public partial class DeviceDetailsWindow : Window
|
|
|
var lines = new List<string> { DisplayLabel };
|
|
|
if (IsAddressModified)
|
|
|
{
|
|
|
- lines.Add($"IP:{FormatAddressSummary(_originalDhcp4, _originalAddressKeys)} -> {FormatAddressSummary(Dhcp4, GetAddressKeys())}");
|
|
|
+ lines.Add($"IP:{FormatAddressSummary(_originalDhcp4, _originalAddressKeys)} 将改为 {FormatAddressSummary(Dhcp4, GetAddressKeys())}");
|
|
|
}
|
|
|
if (IsGatewayModified)
|
|
|
{
|
|
|
- lines.Add($"网关:{FormatGatewaySummary(_originalDhcp4, _originalGatewayKeys)} -> {FormatGatewaySummary(Dhcp4, GetGatewayKeys())}");
|
|
|
+ lines.Add($"网关:{FormatGatewaySummary(_originalDhcp4, _originalGatewayKeys)} 将改为 {FormatGatewaySummary(Dhcp4, GetGatewayKeys())}");
|
|
|
}
|
|
|
if (IsDnsModified)
|
|
|
{
|
|
|
- lines.Add($"DNS:{FormatKeys(_originalDnsKeys)} -> {FormatKeys(GetDnsKeys())}");
|
|
|
+ lines.Add($"DNS:{FormatKeys(_originalDnsKeys)} 将改为 {FormatKeys(GetDnsKeys())}");
|
|
|
}
|
|
|
|
|
|
return lines.Count == 1 ? string.Empty : string.Join(Environment.NewLine, lines);
|