Merge pull request #16186 from mjbvz/json-setting-localization

Extract Json Extension package.json Strings for Localization
This commit is contained in:
Martin Aeschlimann
2016-11-29 22:43:46 +01:00
committed by GitHub
2 changed files with 14 additions and 6 deletions

View File

@@ -61,7 +61,7 @@
"properties": {
"json.schemas": {
"type": "array",
"description": "Associate schemas to JSON files in the current project",
"description": "%json.schemas.desc%",
"items": {
"type": "object",
"default": {
@@ -74,21 +74,21 @@
"url": {
"type": "string",
"default": "/user.schema.json",
"description": "A URL to a schema or a relative path to a schema in the current directory"
"description": "%json.schemas.url.desc%"
},
"fileMatch": {
"type": "array",
"items": {
"type": "string",
"default": "MyFile.json",
"description": "A file pattern that can contain '*' to match against when resolving JSON files to schemas."
"description": "%json.schemas.fileMatch.item.desc%"
},
"minItems": 1,
"description": "An array of file patterns to match against when resolving JSON files to schemas."
"description": "%json.schemas.fileMatch.desc%"
},
"schema": {
"$ref": "http://json-schema.org/draft-04/schema#",
"description": "The schema definition for the given URL. The schema only needs to be provided to avoid accesses to the schema URL."
"description": "%json.schemas.schema.desc%"
}
}
}
@@ -96,7 +96,7 @@
"json.format.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable default JSON formatter (requires restart)"
"description": "%json.format.enable.desc%"
}
}
}