Refactoring validation warnings so they can be reset easily

This commit is contained in:
LarsBrubaker 2020-08-28 06:57:45 -07:00
parent 87d8de607a
commit 607a9d7b58
9 changed files with 36 additions and 20 deletions

View file

@ -103,7 +103,7 @@ namespace MatterHackers.MatterControl.Library.Export
return new List<ValidationError>()
{
new ValidationError("NoZipItemsToExport")
new ValidationError(ValidationErrors.NoZipItemsToExport)
{
Error = "No Items to Export".Localize()
}