Fixed typos in error message boxes
This commit is contained in:
parent
07212ffe77
commit
b447124d2c
@ -1306,7 +1306,7 @@ namespace Volian.Controls.Library
|
|||||||
if (pt.Status == 0)
|
if (pt.Status == 0)
|
||||||
{
|
{
|
||||||
StringBuilder sb = new StringBuilder();
|
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();
|
||||||
sb.AppendLine(string.Format("Source step {0} has applicability of {1}", pt.FromStep, pt.FromAppl));
|
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));
|
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)
|
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",
|
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;
|
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))
|
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.",
|
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;
|
return;
|
||||||
}
|
}
|
||||||
bool doTranmod = cbPageNum.Visible && cbPageNum.Checked;
|
bool doTranmod = cbPageNum.Visible && cbPageNum.Checked;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user