localise workspace trust strings for exts

This commit is contained in:
SteVen Batten 2021-04-22 07:44:24 -07:00
parent 5c39e705cc
commit ed16789225
4 changed files with 5 additions and 3 deletions

View File

@ -47,7 +47,7 @@
"capabilities": { "capabilities": {
"untrustedWorkspaces": { "untrustedWorkspaces": {
"supported": "limited", "supported": "limited",
"description": "This extension calls the `tasks.executeTask()` API, which requires trust to run." "description": "%workspaceTrust%"
} }
}, },
"contributes": { "contributes": {

View File

@ -1,6 +1,7 @@
{ {
"description": "Extension to add task support for npm scripts.", "description": "Extension to add task support for npm scripts.",
"displayName": "NPM support for VS Code", "displayName": "NPM support for VS Code",
"workspaceTrust": "This extension calls the `tasks.executeTask()` API, which requires trust to run.",
"config.npm.autoDetect": "Controls whether npm scripts should be automatically detected.", "config.npm.autoDetect": "Controls whether npm scripts should be automatically detected.",
"config.npm.runSilent": "Run npm commands with the `--silent` option.", "config.npm.runSilent": "Run npm commands with the `--silent` option.",
"config.npm.packageManager": "The package manager used to run scripts.", "config.npm.packageManager": "The package manager used to run scripts.",

View File

@ -20,7 +20,7 @@
"capabilities": { "capabilities": {
"untrustedWorkspaces": { "untrustedWorkspaces": {
"supported": "limited", "supported": "limited",
"description": "The extension requires workspace trust when the `php.validate.executablePath` setting will load a version of PHP in the workspace." "description": "%workspaceTrust%"
} }
}, },
"contributes": { "contributes": {

View File

@ -7,5 +7,6 @@
"commands.categroy.php": "PHP", "commands.categroy.php": "PHP",
"command.untrustValidationExecutable": "Disallow PHP validation executable (defined as workspace setting)", "command.untrustValidationExecutable": "Disallow PHP validation executable (defined as workspace setting)",
"displayName": "PHP Language Features", "displayName": "PHP Language Features",
"description": "Provides rich language support for PHP files." "description": "Provides rich language support for PHP files.",
"workspaceTrust": "The extension requires workspace trust when the `php.validate.executablePath` setting will load a version of PHP in the workspace."
} }