Newest
This commit is contained in:
commit
e6ae567695
@ -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()
|
||||
|
@ -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)
|
||||
|
@ -150,7 +150,7 @@ namespace EduNetworkBuilder
|
||||
if(indexToText == -1)
|
||||
{
|
||||
//We did not go anywhere
|
||||
MessageBox.Show("Not found.");
|
||||
MessageBox.Show(NB.Translate("RTFW_NotFound"));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1593,4 +1593,12 @@
|
||||
<value>Tag</value>
|
||||
<comment>OW_Tag = Tag</comment>
|
||||
</data>
|
||||
<data name="PM_UnknownHost" xml:space="preserve">
|
||||
<value>unknown</value>
|
||||
<comment>PacketMessage PM_UnknownHost = unknown</comment>
|
||||
</data>
|
||||
<data name="RTFW_NotFound" xml:space="preserve">
|
||||
<value>Not found.</value>
|
||||
<comment>RTFW_NotFound = Not found.</comment>
|
||||
</data>
|
||||
</root>
|
Loading…
Reference in New Issue
Block a user