提交 186eb2a5 编写于 作者: S Sandeep Somavarapu

Fix #50041

上级 be48c9e2
......@@ -314,7 +314,7 @@ export class ViewsViewlet extends PanelViewlet implements IViewsViewlet {
}
if (!viewDescriptor.canToggleVisibility) {
return TPromise.wrapError(new Error(localize('cannot toggle', "Visibility cannot be toggled for this view {0}", id)));
return TPromise.wrapError(new Error(localize({ key: 'cannot toggle', comment: ['Parameter that will be replaced here is the id of the view'] }, "Visibility cannot be toggled for this view {0}", id)));
}
if (viewState.isHidden && !this.contextKeyService.contextMatchesRules(viewDescriptor.when)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册