From 827622100f899937ced99ee0cc31a172ec9e92ad Mon Sep 17 00:00:00 2001 From: Tim Young Date: Thu, 19 Nov 2015 12:03:03 -0500 Subject: [PATCH 1/2] network link cleanup for translation --- EduNetworkBuilder/NetworkLink.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EduNetworkBuilder/NetworkLink.cs b/EduNetworkBuilder/NetworkLink.cs index 6ecb40e..015008c 100644 --- a/EduNetworkBuilder/NetworkLink.cs +++ b/EduNetworkBuilder/NetworkLink.cs @@ -331,7 +331,7 @@ namespace EduNetworkBuilder if(movingTo == null) { tPacket.AddMessage(DebugLevel.info, "Oops! We do not have anything at the end of the network wire. This should not happen!"); - tPacket.Tracking.Status = hostname + " Nothing at far end of the wire. This should never happen.."; + tPacket.Tracking.Status = hostname + string.Format(" Nothing at far end of the wire. This should never happen.."); tPacket.MyStatus = PacketStatus.finished_failed; } else From eaca4dc8ccb5076800e1b850b3299c5ed779ad5e Mon Sep 17 00:00:00 2001 From: Tim Young Date: Thu, 19 Nov 2015 12:06:59 -0500 Subject: [PATCH 2/2] packet cleanup strings for translation --- EduNetworkBuilder/Packet.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EduNetworkBuilder/Packet.cs b/EduNetworkBuilder/Packet.cs index 2adf66e..ebc66b4 100644 --- a/EduNetworkBuilder/Packet.cs +++ b/EduNetworkBuilder/Packet.cs @@ -121,7 +121,7 @@ namespace EduNetworkBuilder sourceMAC = source; destMAC = dest; OutboundDestMAC = dest; - Tracking.AddMessage(DebugLevel.info, start, theType.ToString() + "Packet Created"); + Tracking.AddMessage(DebugLevel.info, start, theType.ToString() + string.Format("Packet Created")); Tracking.AddMessage(DebugLevel.routing, start, string.Format(" MAC: {0} -> {1}", source, dest)); } else