Skip to content

Commit 9b737ec

Browse files
committed
Fixes microsoft#4156: PHP settings documentation is not localized
1 parent 0093264 commit 9b737ec

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

extensions/php/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,24 @@
2121
"path": "./snippets/php.json"
2222
}],
2323
"configuration": {
24-
"title": "PHP Configuration options",
24+
"title": "%configuration.title%",
2525
"type": "object",
2626
"properties": {
2727
"php.validate.enable": {
2828
"type": "boolean",
2929
"default": true,
30-
"description": "Whether php validation is enabled or not."
30+
"description": "%configuration.validate.enable%"
3131
},
3232
"php.validate.executablePath": {
3333
"type": ["string", "null"],
3434
"default": null,
35-
"description": "Points to the php executable."
35+
"description": "%configuration.validate.executablePath%"
3636
},
3737
"php.validate.run": {
3838
"type": "string",
3939
"enum": ["onSave", "onType"],
4040
"default": "onSave",
41-
"description": "Whether the linter is run on save or on type."
41+
"description": "%configuration.validate.run%"
4242
}
4343
}
4444
}

extensions/php/package.nls.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"configuration.validate.enable": "Whether php validation is enabled or not.",
3+
"configuration.validate.executablePath": "Points to the php executable.",
4+
"configuration.validate.run": "Whether the linter is run on save or on type.",
5+
"configuration.title": "PHP Configuration options"
6+
}

0 commit comments

Comments
 (0)