Grammar improvement

Improved the grammar of an error message
This commit is contained in:
Richard Thompson
2018-02-16 15:19:16 +00:00
committed by GitHub
parent 9178e7afcf
commit c2722d8120

View File

@@ -42,7 +42,7 @@ namespace Umbraco.Core.Models.PublishedContent
var typeName = attribute == null ? type.Name : attribute.ContentTypeAlias;
if (constructors.ContainsKey(typeName))
throw new InvalidOperationException(string.Format("More that one type want to be a model for content type {0}.", typeName));
throw new InvalidOperationException(string.Format("More than one type wants to be a model for content type {0}.", typeName));
// should work everywhere, but slow
//_constructors[typeName] = constructor;