This commit is contained in:
Sandeep Somavarapu
2018-04-23 10:05:42 +02:00
parent fd3e860995
commit 68c4b99a02

View File

@@ -41,7 +41,7 @@ const viewsContainerSchema: IJSONSchema = {
type: 'object',
properties: {
id: {
description: localize('vscode.extension.contributes.views.containers.id', "Unique id used to identify the container in which views can be contributed using 'views' contribution point"),
description: localize({ key: 'vscode.extension.contributes.views.containers.id', comment: ['Contribution refers to those that an extension contributes to VS Code through an extension/contribution point. '] }, "Unique id used to identify the container in which views can be contributed using 'views' contribution point"),
type: 'string'
},
label: {
@@ -79,7 +79,7 @@ class ViewsContainersExtensionHandler implements IWorkbenchContribution {
for (let extension of extensions) {
const { value, collector } = extension;
if (!extension.description.enableProposedApi) {
collector.error(localize('proposed', "'{0}' contribution is only available when running out of dev or with the following command line switch: --enable-proposed-api {1}", 'viewsContainer', extension.description.id));
collector.error(localize({ key: 'proposed', comment: ['Contribution refers to those that an extension contributes to VS Code through an extension/contribution point. '] }, "'{0}' contribution is only available when running out of dev or with the following command line switch: --enable-proposed-api {1}", 'viewsContainer', extension.description.id));
continue;
}
forEach(value, entry => {