Fixed typos in error message boxes

This commit is contained in:
John Jenko 2023-02-22 18:40:15 +00:00
parent 07212ffe77
commit b447124d2c

View File

@ -1306,7 +1306,7 @@ namespace Volian.Controls.Library
if (pt.Status == 0)
{
StringBuilder sb = new StringBuilder();
sb.AppendLine("Applicability of source and destination steps will not allow transistion to be created.");
sb.AppendLine("Applicability of source and destination steps will not allow this transition to be created.");
sb.AppendLine();
sb.AppendLine(string.Format("Source step {0} has applicability of {1}", pt.FromStep, pt.FromAppl));
sb.AppendLine(string.Format("Destination step {0} has applicability of {1}", pt.ToStep, pt.ToAppl));
@ -1316,14 +1316,14 @@ namespace Volian.Controls.Library
if(listBoxTranFmt.Text.Contains("{Step Text}") && toItem.ItemID == MyRTB.MyItemInfo.ItemID)
{
FlexibleMessageBox.Show("You cannot add a transition to itself for a transition that includes Step Text",
"Cannot add recusive transition", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
"Cannot add recursive transition", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return;
}
// B2015-170 - don't allow a transition to step that is not sequental
// B2015-170 - don't allow a transition to step that is not sequential
if ((toItem != null &&!toItem.IsNumbered) || (rangeItem != null && !rangeItem.IsNumbered))
{
FlexibleMessageBox.Show("For transitions containing step references, the transition must be to a numbered or lettered step.",
"Cannot add transition to a non-seqential step", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
"Cannot add transition to a non-sequential step", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return;
}
bool doTranmod = cbPageNum.Visible && cbPageNum.Checked;