diff --git a/EduNetworkBuilder/ListBoxWindow.cs b/EduNetworkBuilder/ListBoxWindow.cs
index 8da7ad1..d090757 100644
--- a/EduNetworkBuilder/ListBoxWindow.cs
+++ b/EduNetworkBuilder/ListBoxWindow.cs
@@ -39,8 +39,8 @@ namespace EduNetworkBuilder
lblInstructions.Text = NB.Translate("LBW_LBWFilter");
panelCheckboxes.SuspendLayout();
string SelectedTag = GetSelectedTag();
- if (SelectedTag == "ALL")
- Text = Text + "(All Solved)";
+ if (SelectedTag == NB.Translate("LBW_LBWALL"))
+ Text = Text + NB.Translate("LBW_LBWAllS");
foreach (string str in NB.GetPuzzleTags())
{
newCB = AddCheckBox(count, str);
@@ -55,8 +55,8 @@ namespace EduNetworkBuilder
count++;
}
panelCheckboxes.ResumeLayout();
- btnOK.Text = "Load";
- btnAdd.Text = "Cancel";
+ btnOK.Text = NB.Translate("LBW_LBWLoad");
+ btnAdd.Text = NB.Translate("LBW_LBWCancel");
btnAdd.Visible = true;
cbLoadPuzzlesAtStart.Checked = Properties.Settings.Default.AutoStartPuzzles;
UpdateForm();
@@ -74,7 +74,7 @@ namespace EduNetworkBuilder
{
MyMode = LBContents.routes;
myNetDevice = MasterDevice;
- lblInstructions.Text = "Double-click a route to change it.";
+ lblInstructions.Text = NB.Translate("LBW_LBWDblClckRout");
lbWindowData.Font = new System.Drawing.Font("Courier New", 8);
btnAdd.Visible = true;
}
@@ -82,7 +82,7 @@ namespace EduNetworkBuilder
{
MyMode = LBContents.dhcp;
myNetDevice = MasterDevice;
- lblInstructions.Text = "Double-Click the interface to add/edit the range of DHCP to serve.";
+ lblInstructions.Text = NB.Translate("LBW_LBWDblClckIf");
lbWindowData.Font = new System.Drawing.Font("Courier New", 8);
btnAdd.Visible = false;
}
@@ -102,7 +102,7 @@ namespace EduNetworkBuilder
UpdateForm();
btnAdd.Visible = false;
int count=0;
- lblInstructions.Text = "For greater detail, click on the check-boxes";
+ lblInstructions.Text = NB.Translate("LBW_LBWDetail");
panelCheckboxes.SuspendLayout();
foreach (string str in Enum.GetNames(typeof(DebugLevel)))
{
@@ -159,7 +159,7 @@ namespace EduNetworkBuilder
return "Level_" + PI.Level;
}
}
- return "ALL";
+ return NB.Translate("LBW_LBWALL");
}
private void UpdateForm()
@@ -183,10 +183,10 @@ namespace EduNetworkBuilder
}
if(MyMode == LBContents.routes)
{
- itemstrings.Add("--Static Routes (Read/Write)--");
+ itemstrings.Add(NB.Translate("LBW_UpdateFormStatRout"));
itemstrings.AddRange(myNetDevice.DeviceRouteStrings());
EditableCount = itemstrings.Count();
- itemstrings.Add("--Routes from NICs (Read-Only)--");
+ itemstrings.Add(NB.Translate("LBW_UpdateFormNICRout"));
itemstrings.AddRange(myNetDevice.NICRouteStrings());
foreach (string str in itemstrings)
{
@@ -349,7 +349,7 @@ namespace EduNetworkBuilder
private void AddRoute()
{
IPAddress newip = new IPAddress(NB.ZeroIPString, NB.ZeroIPString, NB.ZeroIPString);
- newip.Edit(myNetDevice,"Create Route");
+ newip.Edit(myNetDevice,NB.Translate("LBW_AddRouteCreate"));
myNetDevice.AddRoute(newip);
UpdateForm();
}
@@ -401,9 +401,9 @@ namespace EduNetworkBuilder
lbWindowData.ContextMenuStrip = new ContextMenuStrip();
}
lbWindowData.ContextMenuStrip.Items.Clear();
- lbWindowData.ContextMenuStrip.Items.Add("Edit");
+ lbWindowData.ContextMenuStrip.Items.Add(NB.Translate("LBW_LBWEdit"));
lbWindowData.ContextMenuStrip.Items[index++].Click += lbWindowData_Edit_Click;
- lbWindowData.ContextMenuStrip.Items.Add("Delete");
+ lbWindowData.ContextMenuStrip.Items.Add(NB.Translate("LBW_LBWDelete"));
lbWindowData.ContextMenuStrip.Items[index++].Click += lbWindowData_Delete_Click;
}
}
@@ -427,7 +427,7 @@ namespace EduNetworkBuilder
{
if (Properties.Settings.Default.ScoreList == null)
Properties.Settings.Default.ScoreList = new System.Collections.Specialized.StringCollection();
- DialogResult answer = MessageBox.Show("Are sure you want to forget what puzzles you have done?", "Forget Puzzles?", MessageBoxButtons.YesNo);
+ DialogResult answer = MessageBox.Show(NB.Translate("LBW_btnResetYouSure?"), NB.Translate("LBW_btnResetForget?"), MessageBoxButtons.YesNo);
if (answer == System.Windows.Forms.DialogResult.Yes)
{
Properties.Settings.Default.ScoreList.Clear();
diff --git a/EduNetworkBuilder/Resources/languages/edustrings.resx b/EduNetworkBuilder/Resources/languages/edustrings.resx
index 9d80150..2cbb1ab 100644
--- a/EduNetworkBuilder/Resources/languages/edustrings.resx
+++ b/EduNetworkBuilder/Resources/languages/edustrings.resx
@@ -897,4 +897,60 @@
Filter the puzzles by checking one the boxes.
LBW_LBWFilter = Filter the puzzles by checking one the boxes.
+
+ Create Route
+ LBW_AddRouteCreate = Create Route
+
+
+ Forget Puzzles?
+ LBW_btnResetForget? = Forget Puzzles?
+
+
+ Are sure you want to forget what puzzles you have done?
+ LBW_btnResetYouSure? = Are sure you want to forget what puzzles you have done?
+
+
+ ALL
+ LBT_LBWALL = ALL
+
+
+ (All Solved)
+ LBT_LBWAllS = (All Solved)
+
+
+ Cancel
+ LBW_LBWCancel = Cancel
+
+
+ Double-Click the interface to add/edit the range of DHCP to serve.
+ LBW_LBWDblClckIf = Double-Click the interface to add/edit the range of DHCP to serve.
+
+
+ Double-click a route to change it.
+ LBW_LBWDblClckRout = Double-click a route to change it.
+
+
+ Delete
+ LBW_LBWDelete = Delete
+
+
+ For greater detail, click on the check-boxes
+ LBW_LBWDetail = For greater detail, click on the check-boxes
+
+
+ Edit
+ LBW_LBWEdit = Edit
+
+
+ Load
+ LBW_LBWLoad = Load
+
+
+ --Routes from NICs (Read-Only)--
+ LBW_UpdateFormNICRout = --Routes from NICs (Read-Only)--
+
+
+ --Static Routes (Read/Write)--
+ LBW_UpdateFormStatRout = --Static Routes (Read/Write)--
+
\ No newline at end of file