This commit is contained in:
SteVen Batten 2021-06-10 16:31:28 -07:00
parent 8f7a6034c6
commit 384ff94ed8

View file

@ -248,6 +248,7 @@ class WorkspaceTrustedUrisTable extends Disposable {
canSelectMany: false,
defaultUri: item.uri,
openLabel: localize('trustUri', "Trust Folder"),
title: localize('selectTrustedUri', "Select Folder To Trust")
});
@ -821,12 +822,12 @@ export class WorkspaceTrustEditor extends EditorPane {
this.renderLimitationsHeaderElement(untrustedContainer, untrustedTitle, untrustedSubTitle);
const untrustedContainerItems = this.workspaceService.getWorkbenchState() === WorkbenchState.EMPTY ?
[
localize('untrustedTasks', "Tasks are disabled"),
localize('untrustedTasks', "Tasks are not allowed to run"),
localize('untrustedDebugging', "Debugging is disabled"),
localize('untrustedExtensions', "[{0} extensions]({1}) are disabled or have limited functionality", numExtensions, `command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`)
] :
[
localize('untrustedTasks', "Tasks are disabled"),
localize('untrustedTasks', "Tasks are not allowed to run"),
localize('untrustedDebugging', "Debugging is disabled"),
numSettings ? localize('untrustedSettings', "[{0} workspace settings]({1}) are not applied", numSettings, 'command:settings.filterUntrusted') : localize('no untrustedSettings', "Workspace settings requiring trust are not applied"),
localize('untrustedExtensions', "[{0} extensions]({1}) are disabled or have limited functionality", numExtensions, `command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`)