consterror=newExtensionManagementError(nls.localize('incompatible platform',"The '{0}' extension is not available in {1} for {2}.",extension.identifier.id,product.nameLong,TargetPlatformToString(targetPlatform)),INSTALL_ERROR_VALIDATING);
consterror=newExtensionManagementError(nls.localize('incompatible platform',"The '{0}' extension is not available in {1} for {2}.",extension.identifier.id,this.productService.nameLong,TargetPlatformToString(targetPlatform)),INSTALL_ERROR_VALIDATING);
thrownewExtensionManagementError(nls.localize('notFoundCompatibleDependency',"Can't install '{0}' extension because it is not compatible with the current version of VS Code (version {1}).",extension.identifier.id,product.version),INSTALL_ERROR_INCOMPATIBLE);
thrownewExtensionManagementError(nls.localize('notFoundCompatibleDependency',"Can't install '{0}' extension because it is not compatible with the current version of VS Code (version {1}).",extension.identifier.id,this.productService.version),INSTALL_ERROR_INCOMPATIBLE);
thrownewError(nls.localize('incompatible',"Unable to install extension '{0}' as it is not compatible with VS Code '{1}'.",getGalleryExtensionId(manifest.publisher,manifest.name),product.version));
thrownewError(nls.localize('incompatible',"Unable to install extension '{0}' as it is not compatible with VS Code '{1}'.",getGalleryExtensionId(manifest.publisher,manifest.name),this.productService.version));
throwcreateFileSystemProviderError(localize('fileTooLargeForHeapError',"To open a file of this size, you need to restart and allow {0} to use more memory",product.nameShort),FileSystemProviderErrorCode.FileExceedsMemoryLimit);
throwcreateFileSystemProviderError(localize('fileTooLargeForHeapError',"To open a file of this size, you need to restart and allow to use more memory"),FileSystemProviderErrorCode.FileExceedsMemoryLimit);
@@ -211,7 +212,7 @@ export class WebClientServer {
'media-src \'none\';',
`script-src 'self' 'unsafe-eval' ${this._getScriptCspHashes(data).join('')} 'sha256-cb2sg39EJV8ABaSNFfWu/ou8o1xVXYK7jp90oZ9vpcg=' http://${remoteAuthority};`,// the sha is the same as in src/vs/workbench/services/extensions/worker/httpWebWorkerExtensionHostIframe.html
{label:localize('dontTrustOption',"No, I don't trust the authors"),sublabel:isSingleFolderWorkspace?localize('dontTrustFolderOptionDescription',"Browse folder in restricted mode"):localize('dontTrustWorkspaceOptionDescription',"Browse workspace in restricted mode")},
[
!isSingleFolderWorkspace?
localize('workspaceStartupTrustDetails',"{0} provides features that may automatically execute files in this workspace.",product.nameShort):
localize('folderStartupTrustDetails',"{0} provides features that may automatically execute files in this folder.",product.nameShort),
localize('workspaceStartupTrustDetails',"{0} provides features that may automatically execute files in this workspace.",this.productService.nameShort):
localize('folderStartupTrustDetails',"{0} provides features that may automatically execute files in this folder.",this.productService.nameShort),
localize('startupTrustRequestLearnMore',"If you don't trust the authors of these files, we recommend to continue in restricted mode as the files may be malicious. See [our docs](https://aka.ms/vscode-workspace-trust) to learn more."),
constheaderDescriptionActionsText=localize({key:'workspaceTrustEditorHeaderActions',comment:['Please ensure the markdown link syntax is not broken up with whitespace [text block](link block)']},"[Configure your settings]({0}) or [learn more](https://aka.ms/vscode-workspace-trust).",`command:workbench.trust.configure`);