This commit is contained in:
parent
03680c02fa
commit
b8a8c5a21c
@ -553,7 +553,18 @@ namespace VEPROMS.CSLA.Library
|
|||||||
ItemInfo secitm = TranGetSectionItem(tb._ToItem);
|
ItemInfo secitm = TranGetSectionItem(tb._ToItem);
|
||||||
if ((!((tb._TransUI & E_TransUI.StepAllowNone) == E_TransUI.StepAllowNone)) || tb._ToItem.MyContent.Type > 20000)
|
if ((!((tb._TransUI & E_TransUI.StepAllowNone) == E_TransUI.StepAllowNone)) || tb._ToItem.MyContent.Type > 20000)
|
||||||
{
|
{
|
||||||
if (textAdded) Append(tb, nonToken, false);
|
if (textAdded)
|
||||||
|
{
|
||||||
|
// check for transition that goes to a procedure step section with title of 'Procedure steps' followed
|
||||||
|
// by ', Step'. This should output as 'Procedure step xyz' rather than 'Procedure steps, step xyz'
|
||||||
|
if (!tb._TransFormat.Contains("{Last Step}") && nonToken.ToUpper().Contains(", STEP") && tb._Results.ToString().ToUpper().EndsWith("PROCEDURE STEPS"))
|
||||||
|
{
|
||||||
|
tb._Results = tb._Results.Remove(tb._Results.Length-15,15); // remove "procedure steps"
|
||||||
|
tb._Results = tb._Results.Append("procedure Step");
|
||||||
|
nonToken = " ";
|
||||||
|
}
|
||||||
|
if (nonToken!=null)Append(tb, nonToken, false);
|
||||||
|
}
|
||||||
//Console.WriteLine("NEW - ItemID={0},Ordinal={1}", tb._ToItem.ItemID, tb._ToItem.Ordinal);
|
//Console.WriteLine("NEW - ItemID={0},Ordinal={1}", tb._ToItem.ItemID, tb._ToItem.Ordinal);
|
||||||
if (tb._ToItem.PreviousID == null && tb._ToItem.ItemPartCount == 0 && tb._ToItem.ItemDocVersionCount == 0)
|
if (tb._ToItem.PreviousID == null && tb._ToItem.ItemPartCount == 0 && tb._ToItem.ItemDocVersionCount == 0)
|
||||||
Append(tb, "?", true);
|
Append(tb, "?", true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user