diff --git a/EduNetworkBuilder/Network.cs b/EduNetworkBuilder/Network.cs
index 69a2285..5160b1a 100644
--- a/EduNetworkBuilder/Network.cs
+++ b/EduNetworkBuilder/Network.cs
@@ -51,8 +51,8 @@ namespace EduNetworkBuilder
{
TheNetImage = new Bitmap(myWidth, myHeight);
PuzzleName = Name;
- NetMessage = new LanguageStrings("message");
- NetTitle = new LanguageStrings("title");
+ NetMessage = new LanguageStrings("message"); //Do not translate this string "message" It is an important word
+ NetTitle = new LanguageStrings("title"); //Do not translate this string "title". It is an important word
}
private bool isDirty()
diff --git a/EduNetworkBuilder/PacketMessage.cs b/EduNetworkBuilder/PacketMessage.cs
index 62d57c2..c1ff9ab 100644
--- a/EduNetworkBuilder/PacketMessage.cs
+++ b/EduNetworkBuilder/PacketMessage.cs
@@ -44,7 +44,7 @@ namespace EduNetworkBuilder
{
if (!typeof(T).IsSerializable)
{
- throw new ArgumentException("The type must be serializable.", "source");
+ throw new ArgumentException(NB.Translate("NC_CloneSerialzable"), NB.Translate("NC_source"));
}
// Don't serialize a null object, simply return the default for that object
@@ -73,7 +73,7 @@ namespace EduNetworkBuilder
public void AddMessage(DebugLevel tLevel, NetworkComponent tHost, string tMessage)
{
- string host = "unknown";
+ string host = NB.Translate("PM_UnknownHost");
if (tHost != null)
host = tHost.hostname;
if(! Finished)
diff --git a/EduNetworkBuilder/RTFWindow.cs b/EduNetworkBuilder/RTFWindow.cs
index d5d4e4e..794db67 100644
--- a/EduNetworkBuilder/RTFWindow.cs
+++ b/EduNetworkBuilder/RTFWindow.cs
@@ -150,7 +150,7 @@ namespace EduNetworkBuilder
if(indexToText == -1)
{
//We did not go anywhere
- MessageBox.Show("Not found.");
+ MessageBox.Show(NB.Translate("RTFW_NotFound"));
}
}
diff --git a/EduNetworkBuilder/Resources/languages/edustrings.resx b/EduNetworkBuilder/Resources/languages/edustrings.resx
index 05b8f1d..b408a2e 100644
--- a/EduNetworkBuilder/Resources/languages/edustrings.resx
+++ b/EduNetworkBuilder/Resources/languages/edustrings.resx
@@ -1593,4 +1593,12 @@
Tag
OW_Tag = Tag
+
+ unknown
+ PacketMessage PM_UnknownHost = unknown
+
+
+ Not found.
+ RTFW_NotFound = Not found.
+
\ No newline at end of file