Improved error message when image data is not found during a ‘preview’ request
Use UpRoImmAftrDashSpace to upper case RO units (flag was introduced for WCN)
This commit is contained in:
@@ -1226,6 +1226,14 @@ namespace Volian.Controls.Library
|
||||
//doUpCase = (prefix == @"\u8209? "); // Dash character before RO
|
||||
return UpperCaseUnits(rtnstr);
|
||||
}
|
||||
// For Wolf Creek, the "- " should be right before the link. This ro format flag was introduced
|
||||
// for Wolf Creek only because a problem was found with some of their data that was incorrectly
|
||||
// processed through the 'UpRoAftrDash' flag. That flag was more general, i.e. upper cased units
|
||||
// if there was a dash and then a space or hard space anywhere before the RO text. The original
|
||||
// 16bit flag was more specific. Other plants that were released had the UpRoAftrDash, but
|
||||
// we didn't want to change their formats since they had gone through testing.
|
||||
if (_MyItemInfo.ActiveFormat.PlantFormat.FormatData.ROData.UpRoImmAftrDashSpace && Regex.IsMatch(beforeRO, @".*\\u8209\?( )"))
|
||||
return UpperCaseUnits(rtnstr);
|
||||
|
||||
// Uppercase the RO Unit if the previous letter is uppercase
|
||||
if (_MyItemInfo.ActiveFormat.PlantFormat.FormatData.ROData.UpRoIfPrevUpper && char.IsUpper(LastAlpha(beforeRO)))
|
||||
|
Reference in New Issue
Block a user