improve error message

#24487
This commit is contained in:
isidor 2017-04-28 11:44:57 +02:00
parent fd6cf5f5f5
commit 6546fe5e87

View file

@ -183,7 +183,7 @@ export class Adapter {
enum: [this.type],
description: nls.localize('debugType', "Type of configuration."),
pattern: '^(?!node2)',
errorMessage: nls.localize('debugTypeNotRecognised', "This debug type is not recognised. Please install the corresponding debug extension."),
errorMessage: nls.localize('debugTypeNotRecognised', "The debug type is not recoginzed. Make sure that you have a corresponding debug extension installed and that it is enabled."),
patternErrorMessage: nls.localize('node2NotSupported', "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\".")
};
properties['name'] = {