Skip to content

Commit bc540f1

Browse files
committed
externalize strings
1 parent 74743ed commit bc540f1

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

extensions/npm/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@
8181
"properties": {
8282
"script": {
8383
"type": "string",
84-
"description": "The npm script to customize"
84+
"description": "%taskdef.script%"
8585
},
8686
"path": {
8787
"type": "string",
88-
"description": "The path to the folder of the package.json file that provides the script. Can be ommitted."
88+
"description": "%taskdef.path%"
8989
}
9090
}
9191
}

extensions/npm/package.nls.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"config.npm.autoDetect": "Controls whether auto detection of npm scripts is on or off. Default is on.",
55
"config.npm.runSilent": "Run npm commands with the `--silent` option.",
66
"config.npm.packageManager": "The package manager used to run scripts.",
7-
"npm.parseError": "Npm task detection: failed to parse the file {0}"
7+
"npm.parseError": "Npm task detection: failed to parse the file {0}",
8+
"taskdef.script": "The npm script to customize.",
9+
"taskdef.path": "The path to the folder of the package.json file that provides the script. Can be ommitted."
810
}

0 commit comments

Comments
 (0)