提交 97a974e1 编写于 作者: M Matt Bierner

Extract Json Extension package.json Strings for Localization

Closes #16180
上级 7320059e
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
"properties": { "properties": {
"json.schemas": { "json.schemas": {
"type": "array", "type": "array",
"description": "Associate schemas to JSON files in the current project", "description": "%json.schemas.desc%",
"items": { "items": {
"type": "object", "type": "object",
"default": { "default": {
...@@ -74,21 +74,21 @@ ...@@ -74,21 +74,21 @@
"url": { "url": {
"type": "string", "type": "string",
"default": "/user.schema.json", "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": { "fileMatch": {
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string",
"default": "MyFile.json", "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, "minItems": 1,
"description": "An array of file patterns to match against when resolving JSON files to schemas." "description": "%json.schemas.fileMatch.desc%"
}, },
"schema": { "schema": {
"$ref": "http://json-schema.org/draft-04/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 @@ ...@@ -96,7 +96,7 @@
"json.format.enable": { "json.format.enable": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Enable/disable default JSON formatter (requires restart)" "description": "%json.format.enable.desc%"
} }
} }
} }
......
{
"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)"
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册