Minor changes to strings to make translation easier
This commit is contained in:
parent
ba35de1f21
commit
32afc5a7f6
@ -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.");
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user