From 9b737ec24e87c8cdf5df0c0ce3b30363fe4a2de9 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Tue, 15 Mar 2016 17:07:06 +0100 Subject: [PATCH] Fixes #4156: PHP settings documentation is not localized --- extensions/php/package.json | 8 ++++---- extensions/php/package.nls.json | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 extensions/php/package.nls.json diff --git a/extensions/php/package.json b/extensions/php/package.json index fbc29d66842..e56690d04ec 100644 --- a/extensions/php/package.json +++ b/extensions/php/package.json @@ -21,24 +21,24 @@ "path": "./snippets/php.json" }], "configuration": { - "title": "PHP Configuration options", + "title": "%configuration.title%", "type": "object", "properties": { "php.validate.enable": { "type": "boolean", "default": true, - "description": "Whether php validation is enabled or not." + "description": "%configuration.validate.enable%" }, "php.validate.executablePath": { "type": ["string", "null"], "default": null, - "description": "Points to the php executable." + "description": "%configuration.validate.executablePath%" }, "php.validate.run": { "type": "string", "enum": ["onSave", "onType"], "default": "onSave", - "description": "Whether the linter is run on save or on type." + "description": "%configuration.validate.run%" } } } diff --git a/extensions/php/package.nls.json b/extensions/php/package.nls.json new file mode 100644 index 00000000000..5f1d915b06a --- /dev/null +++ b/extensions/php/package.nls.json @@ -0,0 +1,6 @@ +{ + "configuration.validate.enable": "Whether php validation is enabled or not.", + "configuration.validate.executablePath": "Points to the php executable.", + "configuration.validate.run": "Whether the linter is run on save or on type.", + "configuration.title": "PHP Configuration options" +} \ No newline at end of file