diff --git a/.vscodeignore b/.vscodeignore index 2ff000630d..498b0a1333 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -15,6 +15,7 @@ Dockerfile .gitignore .gitattributes .travis.yml +package.nls.template.json tsconfig.json tslint.json npm-debug.* diff --git a/package.json b/package.json index c2b4c25c9c..090bc4e8af 100644 --- a/package.json +++ b/package.json @@ -52,117 +52,117 @@ "commands": [ { "command": "extension.regenerateIcons", - "title": "Apply Icons Customization", + "title": "%command.regenerateIcons.title%", "category": "Icons" }, { "command": "extension.ngPreset", - "title": "Toggle Angular Preset (Workspace Level)", + "title": "%command.ngPreset.title%", "category": "Icons" }, { "command": "extension.jsPreset", - "title": "Toggle Official JS Preset (User Level)", + "title": "%command.jsPreset.title%", "category": "Icons" }, { "command": "extension.tsPreset", - "title": "Toggle Official TS Preset (User Level)", + "title": "%command.tsPreset.title%", "category": "Icons" }, { "command": "extension.jsonPreset", - "title": "Toggle Official JSON Preset (User Level)", + "title": "%command.jsonPreset.title%", "category": "Icons" }, { "command": "extension.hideFoldersPreset", - "title": "Toggle Folder Icons Visibility (User Level)", + "title": "%command.hideFoldersPreset.title%", "category": "Icons" }, { "command": "extension.restoreIcons", - "title": "Restore Default Icon Manifest", + "title": "%command.restoreIcons.title%", "category": "Icons" }, { "command": "extension.resetProjectDetectionDefaults", - "title": "Reset Project Detection Defaults", + "title": "%command.resetProjectDetectionDefaults.title%", "category": "Icons" } ], "configuration": { - "title": "vscode-icons configuration", + "title": "%configuration.title%", "properties": { "vsicons.dontShowNewVersionMessage": { "type": "boolean", "default": false, - "description": "If set to true the new version message won't be shown anymore." + "description": "%configuration.dontShowNewVersionMessage.description%" }, "vsicons.projectDetection.autoReload": { "type": "boolean", "default": false, - "description": "If set to true the extension will restart automatically on project detection" + "description": "%configuration.projectDetection.autoReload.description%" }, "vsicons.projectDetection.disableDetect": { "type": "boolean", "default": false, - "description": "If set to true the extension will disable the project detection" + "description": "%configuration.projectDetection.disableDetect.description%" }, "vsicons.presets.angular": { "type": "boolean", "default": false, - "description": "If set to true the extension will match some of the common Angular patterns" + "description": "%configuration.presets.angular.description%" }, "vsicons.presets.jsOfficial": { "type": "boolean", "default": false, - "description": "If set to true the extension will use the official JS icon" + "description": "%configuration.presets.jsOfficial.description%" }, "vsicons.presets.tsOfficial": { "type": "boolean", "default": false, - "description": "If set to true the extension will use the official TS icon" + "description": "%configuration.presets.tsOfficial.description%" }, "vsicons.presets.jsonOfficial": { "type": "boolean", "default": false, - "description": "If set to true the extension will use the official JSON icon" + "description": "%configuration.presets.jsonOfficial.description%" }, "vsicons.presets.hideFolders": { "type": "boolean", "default": false, - "description": "If set to true all folders will be hidden" + "description": "%configuration.presets.hideFolders.description%" }, "vsicons.associations.files": { "type": "array", "default": [], - "description": "These custom associations will override the file icon associations defined by default." + "description": "%configuration.associations.files.description%" }, "vsicons.associations.folders": { "type": "array", "default": [], - "description": "These custom associations will override the folder icon associations defined by default." + "description": "%configuration.associations.folders.description%" }, "vsicons.associations.fileDefault.file": { "type": "object", "default": null, - "description": "This setting will let you change default dark file icon." + "description": "%configuration.associations.fileDefault.file.description%" }, "vsicons.associations.fileDefault.file_light": { "type": "object", "default": null, - "description": "This setting will let you change default light file icon." + "description": "%configuration.associations.fileDefault.file_light.description%" }, "vsicons.associations.folderDefault.folder": { "type": "object", "default": null, - "description": "This setting will let you change default dark folder icon." + "description": "%configuration.associations.folderDefault.folder.description%" }, "vsicons.associations.folderDefault.folder_light": { "type": "object", "default": null, - "description": "This setting will let you change default light folder icon." + "description": "%configuration.associations.folderDefault.folder_light.description%" } } } diff --git a/package.nls.json b/package.nls.json new file mode 100644 index 0000000000..06c62f545e --- /dev/null +++ b/package.nls.json @@ -0,0 +1,25 @@ +{ + "command.regenerateIcons.title": "Apply Icons Customization", + "command.ngPreset.title": "Toggle Angular Preset (Workspace Level)", + "command.jsPreset.title": "Toggle Official JS Preset (User Level)", + "command.tsPreset.title": "Toggle Official TS Preset (User Level)", + "command.jsonPreset.title": "Toggle Official JSON Preset (User Level)", + "command.hideFoldersPreset.title": "Toggle Folder Icons Visibility (User Level)", + "command.restoreIcons.title": "Restore Default Icon Manifest", + "command.resetProjectDetectionDefaults.title": "Reset Project Detection Defaults", + "configuration.title": "vscode-icons configuration", + "configuration.dontShowNewVersionMessage.description": "If set to true, the new version message won't be shown anymore.", + "configuration.projectDetection.autoReload.description": "If set to true, the extension will restart automatically on project detection.", + "configuration.projectDetection.disableDetect.description": "If set to true, the extension will disable the project detection.", + "configuration.presets.angular.description": "If set to true, the extension will match some of the common Angular patterns.", + "configuration.presets.jsOfficial.description": "If set to true, the extension will use the official JS icon.", + "configuration.presets.tsOfficial.description": "If set to true, the extension will use the official TS icon.", + "configuration.presets.jsonOfficial.description": "If set to true, the extension will use the official JSON icon.", + "configuration.presets.hideFolders.description": "If set to true, all folders will be hidden.", + "configuration.associations.files.description": "These custom associations will override the file icon associations defined by default.", + "configuration.associations.folders.description": "These custom associations will override the folder icon associations defined by default.", + "configuration.associations.fileDefault.file.description": "This setting will let you change default dark file icon.", + "configuration.associations.fileDefault.file_light.description": "This setting will let you change default light file icon.", + "configuration.associations.folderDefault.folder.description": "This setting will let you change default dark folder icon.", + "configuration.associations.folderDefault.folder_light.description": "This setting will let you change default light folder icon." +} diff --git a/package.nls.template.json b/package.nls.template.json new file mode 100644 index 0000000000..f6c2387688 --- /dev/null +++ b/package.nls.template.json @@ -0,0 +1,25 @@ +{ + "command.regenerateIcons.title": "", + "command.ngPreset.title": "", + "command.jsPreset.title": "", + "command.tsPreset.title": "", + "command.jsonPreset.title": "", + "command.hideFoldersPreset.title": "", + "command.restoreIcons.title": "", + "command.resetProjectDetectionDefaults.title": "", + "configuration.title": "", + "configuration.dontShowNewVersionMessage.description": "", + "configuration.projectDetection.autoReload.description": "", + "configuration.projectDetection.disableDetect.description": "", + "configuration.presets.angular.description": "", + "configuration.presets.jsOfficial.description": "", + "configuration.presets.tsOfficial.description": "", + "configuration.presets.jsonOfficial.description": "", + "configuration.presets.hideFolders.description": "", + "configuration.associations.files.description": "", + "configuration.associations.folders.description": "", + "configuration.associations.fileDefault.file.description": "", + "configuration.associations.fileDefault.file_light.description": "", + "configuration.associations.folderDefault.folder.description": "", + "configuration.associations.folderDefault.folder_light.description": "" +}