Extract translatable strings to static class

This commit is contained in:
Kurt
2020-04-21 12:43:16 -07:00
parent eaa805a374
commit b4f1bda2c7
12 changed files with 81 additions and 53 deletions

View File

@@ -40,7 +40,7 @@ private void B_WriteCurrent_Click(object sender, EventArgs e)
var offset = StringUtil.GetHexValue(RamOffset.Text);
if (offset == 0)
{
WinFormsUtil.Error("Incorrect hex offset.");
WinFormsUtil.Error(MessageStrings.MsgInvalidHexValue);
return;
}
@@ -85,7 +85,7 @@ private void RamOffset_TextChanged(object sender, EventArgs e)
var offset = StringUtil.GetHexValue(RamOffset.Text);
if (offset == 0)
{
WinFormsUtil.Error("Incorrect hex offset.");
WinFormsUtil.Error(MessageStrings.MsgInvalidHexValue);
return;
}