Extract trailing colons

This commit is contained in:
John Lewin 2017-12-02 22:07:45 -08:00
parent 40b43b16b8
commit 2cfd11d104
9 changed files with 20 additions and 20 deletions

View file

@ -335,7 +335,7 @@ namespace MatterHackers.MatterControl.PrintHistory
string end = maxLengthName.Substring(maxLengthName.Length - amountRemaining, amountRemaining);
maxLengthName = start + end;
}
string notFoundMessage = "Oops! Could not find this file:".Localize();
string notFoundMessage = "Oops! Could not find this file".Localize() + ":";
string message = "{0}:\n'{1}'".FormatWith(notFoundMessage, maxLengthName);
string titleLabel = "Item not Found".Localize();
StyledMessageBox.ShowMessageBox(onConfirmRemove, message, titleLabel, StyledMessageBox.MessageType.OK);