Minor changes to strings to make translation easier

This commit is contained in:
Tim Young 2015-11-18 12:12:20 -05:00
parent ba35de1f21
commit 32afc5a7f6
2 changed files with 2 additions and 2 deletions

View File

@ -833,7 +833,7 @@ namespace EduNetworkBuilder
NB.SetProgress(Duration.TotalSeconds, NumberOfSecondsForTimeout); NB.SetProgress(Duration.TotalSeconds, NumberOfSecondsForTimeout);
if (Duration.TotalSeconds > NumberOfSecondsForTimeout) if (Duration.TotalSeconds > NumberOfSecondsForTimeout)
{ {
Console.WriteLine("Total seconds = " + Duration.TotalSeconds.ToString() + " Stopping."); Console.WriteLine(string.Format("Total seconds = {0} Stopping.", Duration.TotalSeconds.ToString()));
foreach (Packet pkt in myPackets) foreach (Packet pkt in myPackets)
{ {
pkt.Tracking.AddMessage(DebugLevel.packet, "Network", "The packet timed out."); pkt.Tracking.AddMessage(DebugLevel.packet, "Network", "The packet timed out.");

View File

@ -437,7 +437,7 @@ namespace EduNetworkBuilder
byte[] item = (byte[])myManager.GetObject(str); byte[] item = (byte[])myManager.GetObject(str);
if(item == null) if(item == null)
{ {
MessageBox.Show("Skipping Invalid Puzzle: '" + str + "'"); MessageBox.Show(String.Format("Skipping Invalid Puzzle: '{0}'",str));
continue; continue;
} }
myString = new StreamReader(new MemoryStream(item), true).ReadToEnd(); myString = new StreamReader(new MemoryStream(item), true).ReadToEnd();