mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Extract Json Extension package.json Strings for Localization
Closes #16180
This commit is contained in:
parent
7320059e5c
commit
97a974e1e8
|
@ -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%"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
8
extensions/json/package.nls.json
Normal file
8
extensions/json/package.nls.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"json.schemas.desc": "Associate schemas to JSON files in the current project",
|
||||
"json.schemas.url.desc": "A URL to a schema or a relative path to a schema in the current directory",
|
||||
"json.schemas.fileMatch.desc": "An array of file patterns to match against when resolving JSON files to schemas.",
|
||||
"json.schemas.fileMatch.item.desc": "A file pattern that can contain '*' to match against when resolving JSON files to schemas.",
|
||||
"json.schemas.schema.desc": "The schema definition for the given URL. The schema only needs to be provided to avoid accesses to the schema URL.",
|
||||
"json.format.enable.desc": "Enable/disable default JSON formatter (requires restart)"
|
||||
}
|
Loading…
Reference in a new issue