diff --git a/src/languageService/parser/jsonParser.ts b/src/languageService/parser/jsonParser.ts index b2943e2e..936d64e3 100644 --- a/src/languageService/parser/jsonParser.ts +++ b/src/languageService/parser/jsonParser.ts @@ -865,7 +865,7 @@ export class ObjectASTNode extends ASTNode { validationResult.problems.push({ location: { start: propertyNode.key.start, end: propertyNode.key.end }, severity: ProblemSeverity.Warning, - message: schema.errorMessage || localize('DisallowedExtraPropWarning', 'Property {0} is not allowed.', propertyName) + message: schema.errorMessage || localize('DisallowedExtraPropWarning', 'Unexpected property {0}', propertyName) }); } });