@codingame/monaco-vscode-extension-gallery-service-override 18.4.0 → 19.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -4,7 +4,7 @@ import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/
4
4
  import { IAllowedExtensionsService, IExtensionTipsService, IGlobalExtensionEnablementService, IExtensionGalleryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensionManagement/common/extensionManagement.service';
5
5
  import { GlobalExtensionEnablementService } from '@codingame/monaco-vscode-249dc928-1da3-51c1-82d0-45e0ba9d08a1-common/vscode/vs/platform/extensionManagement/common/extensionEnablementService';
6
6
  import { IExtensionsWorkbenchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/extensions/common/extensions.service';
7
- import { getLocale } from '@codingame/monaco-vscode-f054d965-ed28-53b8-b046-94e93188218c-common/vscode/vs/platform/languagePacks/common/languagePacks';
7
+ import { getLocale } from '@codingame/monaco-vscode-516ccb00-d5b9-5317-baf0-fcc96e99669a-common/vscode/vs/platform/languagePacks/common/languagePacks';
8
8
  import { ExtensionsWorkbenchService } from '@codingame/monaco-vscode-2673c6e2-17c1-5710-b169-46f3d4a28696-common/vscode/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService';
9
9
  import { IWorkbenchExtensionEnablementService, IWorkbenchExtensionManagementService, IWebExtensionsScannerService, IExtensionManagementServerService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensionManagement/common/extensionManagement.service';
10
10
  import { ExtensionManagementServerService } from './vscode/src/vs/workbench/services/extensionManagement/common/extensionManagementServerService.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-extension-gallery-service-override",
3
- "version": "18.4.0",
3
+ "version": "19.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - extension-gallery service-override",
6
6
  "keywords": [],
@@ -15,15 +15,16 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-249dc928-1da3-51c1-82d0-45e0ba9d08a1-common": "18.4.0",
19
- "@codingame/monaco-vscode-2673c6e2-17c1-5710-b169-46f3d4a28696-common": "18.4.0",
20
- "@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "18.4.0",
21
- "@codingame/monaco-vscode-571c8352-7953-5038-9f09-e03bb6219a0e-common": "18.4.0",
22
- "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "18.4.0",
23
- "@codingame/monaco-vscode-8c844347-a703-5de1-9eeb-5e0c7f503a58-common": "18.4.0",
24
- "@codingame/monaco-vscode-9ed6fe06-a052-57c2-a234-5d9b94d2e7e0-common": "18.4.0",
25
- "@codingame/monaco-vscode-api": "18.4.0",
26
- "@codingame/monaco-vscode-f054d965-ed28-53b8-b046-94e93188218c-common": "18.4.0"
18
+ "@codingame/monaco-vscode-23aade48-f094-5c08-9555-97fc9cca96c9-common": "19.0.0",
19
+ "@codingame/monaco-vscode-249dc928-1da3-51c1-82d0-45e0ba9d08a1-common": "19.0.0",
20
+ "@codingame/monaco-vscode-2673c6e2-17c1-5710-b169-46f3d4a28696-common": "19.0.0",
21
+ "@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "19.0.0",
22
+ "@codingame/monaco-vscode-516ccb00-d5b9-5317-baf0-fcc96e99669a-common": "19.0.0",
23
+ "@codingame/monaco-vscode-571c8352-7953-5038-9f09-e03bb6219a0e-common": "19.0.0",
24
+ "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "19.0.0",
25
+ "@codingame/monaco-vscode-8c844347-a703-5de1-9eeb-5e0c7f503a58-common": "19.0.0",
26
+ "@codingame/monaco-vscode-9ed6fe06-a052-57c2-a234-5d9b94d2e7e0-common": "19.0.0",
27
+ "@codingame/monaco-vscode-api": "19.0.0"
27
28
  },
28
29
  "main": "index.js",
29
30
  "module": "index.js",
@@ -33,7 +33,7 @@ let CommontExtensionManagementService = class CommontExtensionManagementService
33
33
  const allowedToInstall = this.allowedExtensionsService.isAllowed({ id: extension.identifier.id, publisherDisplayName: extension.publisherDisplayName });
34
34
  if (allowedToInstall !== true) {
35
35
  return (new MarkdownString(localize(
36
- 1753,
36
+ 1765,
37
37
  "This extension cannot be installed because {0}",
38
38
  allowedToInstall.value
39
39
  )));
@@ -41,12 +41,12 @@ let CommontExtensionManagementService = class CommontExtensionManagementService
41
41
  if (!(await this.isExtensionPlatformCompatible(extension))) {
42
42
  const learnLink = isWeb ? 'https://aka.ms/vscode-web-extensions-guide' : 'https://aka.ms/vscode-platform-specific-extensions';
43
43
  return (new MarkdownString(`${( localize(
44
- 1754,
44
+ 1766,
45
45
  "The '{0}' extension is not available in {1} for the {2}.",
46
46
  extension.displayName ?? extension.identifier.id,
47
47
  this.productService.nameLong,
48
48
  TargetPlatformToString(await this.getTargetPlatform())
49
- ))} [${( localize(1755, "Learn Why"))}](${learnLink})`));
49
+ ))} [${( localize(1767, "Learn Why"))}](${learnLink})`));
50
50
  }
51
51
  return true;
52
52
  }
@@ -111,7 +111,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
111
111
  }
112
112
  async installGalleryExtensions(extensions) {
113
113
  if (!this.galleryService.isEnabled()) {
114
- throw ( new ExtensionManagementError(( localize(1756, "Marketplace is not enabled")), ExtensionManagementErrorCode.NotAllowed));
114
+ throw ( new ExtensionManagementError(( localize(1768, "Marketplace is not enabled")), ExtensionManagementErrorCode.NotAllowed));
115
115
  }
116
116
  const results = [];
117
117
  const installableExtensions = [];
@@ -535,7 +535,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
535
535
  const extensionsControlManifest = await this.getExtensionsControlManifest();
536
536
  if (isMalicious(extension.identifier, extensionsControlManifest.malicious)) {
537
537
  throw ( new ExtensionManagementError(( localize(
538
- 1757,
538
+ 1769,
539
539
  "Can't install '{0}' extension since it was reported to be problematic.",
540
540
  extension.identifier.id
541
541
  )), ExtensionManagementErrorCode.Malicious));
@@ -546,7 +546,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
546
546
  compatibleExtension = (await this.galleryService.getExtensions([{ id: deprecationInfo.extension.id, preRelease: deprecationInfo.extension.preRelease }], { targetPlatform: await this.getTargetPlatform(), compatible: true, productVersion }, CancellationToken.None))[0];
547
547
  if (!compatibleExtension) {
548
548
  throw ( new ExtensionManagementError(( localize(
549
- 1758,
549
+ 1770,
550
550
  "Can't install '{0}' extension since it was deprecated and the replacement extension '{1}' can't be found.",
551
551
  extension.identifier.id,
552
552
  deprecationInfo.extension.id
@@ -557,7 +557,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
557
557
  if ((await this.canInstall(extension)) !== true) {
558
558
  const targetPlatform = await this.getTargetPlatform();
559
559
  throw ( new ExtensionManagementError(( localize(
560
- 1754,
560
+ 1766,
561
561
  "The '{0}' extension is not available in {1} for the {2}.",
562
562
  extension.identifier.id,
563
563
  this.productService.nameLong,
@@ -569,7 +569,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
569
569
  const incompatibleApiProposalsMessages = [];
570
570
  if (!areApiProposalsCompatible(extension.properties.enabledApiProposals ?? [], incompatibleApiProposalsMessages)) {
571
571
  throw ( new ExtensionManagementError(( localize(
572
- 1759,
572
+ 1771,
573
573
  "Can't install '{0}' extension. {1}",
574
574
  extension.displayName ?? extension.identifier.id,
575
575
  incompatibleApiProposalsMessages[0]
@@ -577,13 +577,13 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
577
577
  }
578
578
  if (!installPreRelease && extension.hasPreReleaseVersion && extension.properties.isPreReleaseVersion && (await this.galleryService.getExtensions([extension.identifier], CancellationToken.None))[0]) {
579
579
  throw ( new ExtensionManagementError(( localize(
580
- 1760,
580
+ 1772,
581
581
  "Can't install release version of '{0}' extension because it has no release version.",
582
582
  extension.displayName ?? extension.identifier.id
583
583
  )), ExtensionManagementErrorCode.ReleaseVersionNotFound));
584
584
  }
585
585
  throw ( new ExtensionManagementError(( localize(
586
- 1761,
586
+ 1773,
587
587
  "Can't install '{0}' extension because it is not compatible with the current version of {1} (version {2}).",
588
588
  extension.identifier.id,
589
589
  this.productService.nameLong,
@@ -788,7 +788,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
788
788
  if (extensionToUninstall === dependingExtension) {
789
789
  if (dependents.length === 1) {
790
790
  return localize(
791
- 1762,
791
+ 1774,
792
792
  "Cannot uninstall '{0}' extension. '{1}' extension depends on this.",
793
793
  extensionToUninstall.manifest.displayName || extensionToUninstall.manifest.name,
794
794
  dependents[0].manifest.displayName || dependents[0].manifest.name
@@ -796,7 +796,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
796
796
  }
797
797
  if (dependents.length === 2) {
798
798
  return localize(
799
- 1763,
799
+ 1775,
800
800
  "Cannot uninstall '{0}' extension. '{1}' and '{2}' extensions depend on this.",
801
801
  extensionToUninstall.manifest.displayName || extensionToUninstall.manifest.name,
802
802
  dependents[0].manifest.displayName || dependents[0].manifest.name,
@@ -804,7 +804,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
804
804
  );
805
805
  }
806
806
  return localize(
807
- 1764,
807
+ 1776,
808
808
  "Cannot uninstall '{0}' extension. '{1}', '{2}' and other extension depend on this.",
809
809
  extensionToUninstall.manifest.displayName || extensionToUninstall.manifest.name,
810
810
  dependents[0].manifest.displayName || dependents[0].manifest.name,
@@ -813,7 +813,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
813
813
  }
814
814
  if (dependents.length === 1) {
815
815
  return localize(
816
- 1765,
816
+ 1777,
817
817
  "Cannot uninstall '{0}' extension . It includes uninstalling '{1}' extension and '{2}' extension depends on this.",
818
818
  extensionToUninstall.manifest.displayName || extensionToUninstall.manifest.name,
819
819
  dependingExtension.manifest.displayName
@@ -823,7 +823,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
823
823
  }
824
824
  if (dependents.length === 2) {
825
825
  return localize(
826
- 1766,
826
+ 1778,
827
827
  "Cannot uninstall '{0}' extension. It includes uninstalling '{1}' extension and '{2}' and '{3}' extensions depend on this.",
828
828
  extensionToUninstall.manifest.displayName || extensionToUninstall.manifest.name,
829
829
  dependingExtension.manifest.displayName
@@ -833,7 +833,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
833
833
  );
834
834
  }
835
835
  return localize(
836
- 1767,
836
+ 1779,
837
837
  "Cannot uninstall '{0}' extension. It includes uninstalling '{1}' extension and '{2}', '{3}' and other extensions depend on this.",
838
838
  extensionToUninstall.manifest.displayName || extensionToUninstall.manifest.name,
839
839
  dependingExtension.manifest.displayName
@@ -80,14 +80,14 @@ let AllowedExtensionsService = class AllowedExtensionsService extends Disposable
80
80
  `command:workbench.action.openSettings?${encodeURIComponent(JSON.stringify({ query: `@id:${AllowedExtensionsConfigKey}` }))}`
81
81
  )).toString());
82
82
  const extensionValue = this._allowedExtensionsConfigValue[id];
83
- const extensionReason = ( new MarkdownString(( localize(1768, "it is not in the [allowed list]({0})", settingsCommandLink))));
83
+ const extensionReason = ( new MarkdownString(( localize(1780, "it is not in the [allowed list]({0})", settingsCommandLink))));
84
84
  if (!isUndefined(extensionValue)) {
85
85
  if (isBoolean(extensionValue)) {
86
86
  return extensionValue ? true : extensionReason;
87
87
  }
88
88
  if (extensionValue === 'stable' && prerelease) {
89
89
  return (new MarkdownString(localize(
90
- 1769,
90
+ 1781,
91
91
  "the pre-release versions of this extension are not in the [allowed list]({0})",
92
92
  settingsCommandLink
93
93
  )));
@@ -107,7 +107,7 @@ let AllowedExtensionsService = class AllowedExtensionsService extends Disposable
107
107
  return false;
108
108
  }))) {
109
109
  return (new MarkdownString(localize(
110
- 1770,
110
+ 1782,
111
111
  "the version {0} of this extension is not in the [allowed list]({1})",
112
112
  version,
113
113
  settingsCommandLink
@@ -120,7 +120,7 @@ let AllowedExtensionsService = class AllowedExtensionsService extends Disposable
120
120
  if (!isUndefined(publisherValue)) {
121
121
  if (isBoolean(publisherValue)) {
122
122
  return publisherValue ? true : ( new MarkdownString(( localize(
123
- 1771,
123
+ 1783,
124
124
  "the extensions from this publisher are not in the [allowed list]({1})",
125
125
  publisherKey,
126
126
  settingsCommandLink
@@ -128,7 +128,7 @@ let AllowedExtensionsService = class AllowedExtensionsService extends Disposable
128
128
  }
129
129
  if (publisherValue === 'stable' && prerelease) {
130
130
  return (new MarkdownString(localize(
131
- 1772,
131
+ 1784,
132
132
  "the pre-release versions from this publisher are not in the [allowed list]({1})",
133
133
  publisherKey,
134
134
  settingsCommandLink
@@ -8,7 +8,7 @@ import { isWeb, platform } from '@codingame/monaco-vscode-api/vscode/vs/base/com
8
8
  import { arch } from '@codingame/monaco-vscode-api/vscode/vs/base/common/process';
9
9
  import { isString, isBoolean } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
10
10
  import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
11
- import { isOfflineError } from '@codingame/monaco-vscode-f054d965-ed28-53b8-b046-94e93188218c-common/vscode/vs/base/parts/request/common/request';
11
+ import { isOfflineError } from '@codingame/monaco-vscode-23aade48-f094-5c08-9555-97fc9cca96c9-common/vscode/vs/base/parts/request/common/request';
12
12
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
13
13
  import { IEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service';
14
14
  import { getTargetPlatform, SortOrder, SortBy, FilterType, toTargetPlatform, WEB_EXTENSION_TAG, EXTENSION_IDENTIFIER_REGEX, isNotWebExtensionInWebTargetPlatform, isTargetPlatformCompatible, ExtensionGalleryErrorCode, ExtensionGalleryError, StatisticType, InstallOperation } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensionManagement/common/extensionManagement';
@@ -1216,7 +1216,7 @@ let AbstractExtensionGalleryService = class AbstractExtensionGalleryService {
1216
1216
  throw ( new Error('No extension gallery service configured.'));
1217
1217
  }
1218
1218
  if (!this.extensionsControlUrl) {
1219
- return { malicious: [], deprecated: {}, search: [] };
1219
+ return { malicious: [], deprecated: {}, search: [], autoUpdate: {} };
1220
1220
  }
1221
1221
  const context = await this.requestService.request({
1222
1222
  type: 'GET',
@@ -1230,6 +1230,7 @@ let AbstractExtensionGalleryService = class AbstractExtensionGalleryService {
1230
1230
  const malicious = [];
1231
1231
  const deprecated = {};
1232
1232
  const search = [];
1233
+ const autoUpdate = result?.autoUpdate ?? {};
1233
1234
  if (result) {
1234
1235
  for (const id of result.malicious) {
1235
1236
  if (!isString(id)) {
@@ -1266,7 +1267,7 @@ let AbstractExtensionGalleryService = class AbstractExtensionGalleryService {
1266
1267
  }
1267
1268
  }
1268
1269
  }
1269
- return { malicious, deprecated, search };
1270
+ return { malicious, deprecated, search, autoUpdate };
1270
1271
  }
1271
1272
  };
1272
1273
  AbstractExtensionGalleryService = ( __decorate([
@@ -4,6 +4,7 @@ import '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
4
4
  import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
5
5
  import { DefaultURITransformer, transformAndReviveIncomingURIs } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uriIpc';
6
6
  import { CommontExtensionManagementService } from './abstractExtensionManagementService.js';
7
+ import { language } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
7
8
 
8
9
  function transformIncomingExtension(extension, transformer) {
9
10
  transformer = transformer ? transformer : DefaultURITransformer;
@@ -99,7 +100,7 @@ class ExtensionManagementChannelClient extends CommontExtensionManagementService
99
100
  return Promise.resolve(this.channel.call('uninstallExtensions', [extensions]));
100
101
  }
101
102
  getInstalled(type = null, extensionsProfileResource, productVersion) {
102
- return Promise.resolve(this.channel.call('getInstalled', [type, extensionsProfileResource, productVersion]))
103
+ return Promise.resolve(this.channel.call('getInstalled', [type, extensionsProfileResource, productVersion, language]))
103
104
  .then(extensions => ( extensions.map(extension => transformIncomingExtension(extension, null))));
104
105
  }
105
106
  updateMetadata(local, metadata, extensionsProfileResource) {
@@ -1,4 +1,4 @@
1
- import { IHeaders } from "@codingame/monaco-vscode-f054d965-ed28-53b8-b046-94e93188218c-common/vscode/vs/base/parts/request/common/request";
1
+ import { IHeaders } from "@codingame/monaco-vscode-23aade48-f094-5c08-9555-97fc9cca96c9-common/vscode/vs/base/parts/request/common/request";
2
2
  import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
3
3
  import { IEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service";
4
4
  import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
@@ -7,4 +7,4 @@ import { RuntimeExtensionsEditor } from './browserRuntimeExtensionsEditor.js';
7
7
  import { RuntimeExtensionsInput } from '@codingame/monaco-vscode-2673c6e2-17c1-5710-b169-46f3d4a28696-common/vscode/vs/workbench/contrib/extensions/common/runtimeExtensionsInput';
8
8
  import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
9
9
 
10
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(RuntimeExtensionsEditor, RuntimeExtensionsEditor.ID, ( localize(6569, "Running Extensions"))), [( new SyncDescriptor(RuntimeExtensionsInput))]);
10
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(RuntimeExtensionsEditor, RuntimeExtensionsEditor.ID, ( localize(6732, "Running Extensions"))), [( new SyncDescriptor(RuntimeExtensionsInput))]);
@@ -8,7 +8,7 @@ var ReportExtensionIssueAction_1;
8
8
  let ReportExtensionIssueAction = class ReportExtensionIssueAction extends Action {
9
9
  static { ReportExtensionIssueAction_1 = this; }
10
10
  static { this._id = 'workbench.extensions.action.reportExtensionIssue'; }
11
- static { this._label = ( localize(6929, "Report Issue")); }
11
+ static { this._label = ( localize(7092, "Report Issue")); }
12
12
  constructor(extension, issueService) {
13
13
  super(ReportExtensionIssueAction_1._id, ReportExtensionIssueAction_1._label, 'extension-action report-issue');
14
14
  this.extension = extension;
@@ -78,8 +78,8 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
78
78
  this._register(allowedExtensionsService.onDidChangeAllowedExtensionsConfigValue(() => this._onDidChangeExtensions([], [], false)));
79
79
  if (this.allUserExtensionsDisabled) {
80
80
  this.lifecycleService.when(LifecyclePhase.Eventually).then(() => {
81
- this.notificationService.prompt(Severity.Info, ( localize(12509, "All installed extensions are temporarily disabled.")), [{
82
- label: ( localize(12510, "Reload and Enable Extensions")),
81
+ this.notificationService.prompt(Severity.Info, ( localize(12784, "All installed extensions are temporarily disabled.")), [{
82
+ label: ( localize(12785, "Reload and Enable Extensions")),
83
83
  run: () => hostService.reload({ disableExtensions: false })
84
84
  }], {
85
85
  sticky: true,
@@ -131,7 +131,7 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
131
131
  throwErrorIfCannotChangeEnablement(extension, donotCheckDependencies) {
132
132
  if (isLanguagePackExtension(extension.manifest)) {
133
133
  throw ( new Error(( localize(
134
- 12511,
134
+ 12786,
135
135
  "Cannot change enablement of {0} extension because it contributes language packs.",
136
136
  extension.manifest.displayName || extension.identifier.id
137
137
  ))));
@@ -141,14 +141,14 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
141
141
  a => a.id === this.userDataSyncAccountService.account.authenticationProviderId
142
142
  ))) {
143
143
  throw ( new Error(( localize(
144
- 12512,
144
+ 12787,
145
145
  "Cannot change enablement {0} extension because Settings Sync depends on it.",
146
146
  extension.manifest.displayName || extension.identifier.id
147
147
  ))));
148
148
  }
149
149
  if (this._isEnabledInEnv(extension)) {
150
150
  throw ( new Error(( localize(
151
- 12513,
151
+ 12788,
152
152
  "Cannot change enablement of {0} extension because it is enabled in environment",
153
153
  extension.manifest.displayName || extension.identifier.id
154
154
  ))));
@@ -159,37 +159,37 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
159
159
  switch (enablementStateOfExtension) {
160
160
  case EnablementState.DisabledByEnvironment:
161
161
  throw ( new Error(( localize(
162
- 12514,
162
+ 12789,
163
163
  "Cannot change enablement of {0} extension because it is disabled in environment",
164
164
  extension.manifest.displayName || extension.identifier.id
165
165
  ))));
166
166
  case EnablementState.DisabledByMalicious:
167
167
  throw ( new Error(( localize(
168
- 12515,
168
+ 12790,
169
169
  "Cannot change enablement of {0} extension because it is malicious",
170
170
  extension.manifest.displayName || extension.identifier.id
171
171
  ))));
172
172
  case EnablementState.DisabledByVirtualWorkspace:
173
173
  throw ( new Error(( localize(
174
- 12516,
174
+ 12791,
175
175
  "Cannot change enablement of {0} extension because it does not support virtual workspaces",
176
176
  extension.manifest.displayName || extension.identifier.id
177
177
  ))));
178
178
  case EnablementState.DisabledByExtensionKind:
179
179
  throw ( new Error(( localize(
180
- 12517,
180
+ 12792,
181
181
  "Cannot change enablement of {0} extension because of its extension kind",
182
182
  extension.manifest.displayName || extension.identifier.id
183
183
  ))));
184
184
  case EnablementState.DisabledByAllowlist:
185
185
  throw ( new Error(( localize(
186
- 12518,
186
+ 12793,
187
187
  "Cannot change enablement of {0} extension because it is disallowed",
188
188
  extension.manifest.displayName || extension.identifier.id
189
189
  ))));
190
190
  case EnablementState.DisabledByInvalidExtension:
191
191
  throw ( new Error(( localize(
192
- 12519,
192
+ 12794,
193
193
  "Cannot change enablement of {0} extension because of it is invalid",
194
194
  extension.manifest.displayName || extension.identifier.id
195
195
  ))));
@@ -202,7 +202,7 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
202
202
  continue;
203
203
  }
204
204
  throw ( new Error(( localize(
205
- 12520,
205
+ 12795,
206
206
  "Cannot enable '{0}' extension because it depends on '{1}' extension that cannot be enabled",
207
207
  extension.manifest.displayName || extension.identifier.id,
208
208
  dependency.manifest.displayName || dependency.identifier.id
@@ -212,11 +212,11 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
212
212
  }
213
213
  throwErrorIfCannotChangeWorkspaceEnablement(extension) {
214
214
  if (!this.hasWorkspace) {
215
- throw ( new Error(( localize(12521, "No workspace."))));
215
+ throw ( new Error(( localize(12796, "No workspace."))));
216
216
  }
217
217
  if (isAuthenticationProviderExtension(extension.manifest)) {
218
218
  throw ( new Error(( localize(
219
- 12522,
219
+ 12797,
220
220
  "Cannot change enablement of {0} extension in workspace because it contributes authentication providers",
221
221
  extension.manifest.displayName || extension.identifier.id
222
222
  ))));
@@ -605,7 +605,7 @@ let WebExtensionsScannerService = class WebExtensionsScannerService extends Disp
605
605
  }
606
606
  if (!this.extensionManifestPropertiesService.canExecuteOnWeb(manifest)) {
607
607
  throw ( new Error(( localize(
608
- 12523,
608
+ 12798,
609
609
  "Cannot add '{0}' because this extension is not a web extension.",
610
610
  manifest.displayName || manifest.name
611
611
  ))));
@@ -889,7 +889,7 @@ if (isWeb) {
889
889
  constructor() {
890
890
  super({
891
891
  id: 'workbench.extensions.action.openInstalledWebExtensionsResource',
892
- title: ( localize2(12524, 'Open Installed Web Extensions Resource')),
892
+ title: ( localize2(12799, 'Open Installed Web Extensions Resource')),
893
893
  category: Categories.Developer,
894
894
  f1: true,
895
895
  precondition: IsWebContext
@@ -87,17 +87,17 @@ let ExtensionFeaturesManagementService = class ExtensionFeaturesManagementServic
87
87
  if (feature.access.requireUserConsent) {
88
88
  const extensionDescription = this.extensionService.extensions.find(e => ExtensionIdentifier.equals(e.identifier, extension));
89
89
  const confirmationResult = await this.dialogService.confirm({
90
- title: ( localize(12525, "Access '{0}' Feature", feature.label)),
90
+ title: ( localize(12800, "Access '{0}' Feature", feature.label)),
91
91
  message: ( localize(
92
- 12526,
92
+ 12801,
93
93
  "'{0}' extension would like to access the '{1}' feature.",
94
94
  extensionDescription?.displayName ?? extension._lower,
95
95
  feature.label
96
96
  )),
97
97
  detail: justification ?? feature.description,
98
98
  custom: true,
99
- primaryButton: ( localize(12527, "Allow")),
100
- cancelButton: ( localize(12528, "Don't Allow")),
99
+ primaryButton: ( localize(12802, "Allow")),
100
+ cancelButton: ( localize(12803, "Don't Allow")),
101
101
  });
102
102
  enabled = confirmationResult.confirmed;
103
103
  }
@@ -22,7 +22,7 @@ let ExtensionManagementServerService = class ExtensionManagementServerService {
22
22
  this.remoteExtensionManagementServer = {
23
23
  id: 'remote',
24
24
  extensionManagementService,
25
- get label() { return labelService.getHostLabel(Schemas.vscodeRemote, remoteAgentConnection.remoteAuthority) || ( localize(12529, "Remote")); },
25
+ get label() { return labelService.getHostLabel(Schemas.vscodeRemote, remoteAgentConnection.remoteAuthority) || ( localize(12804, "Remote")); },
26
26
  };
27
27
  }
28
28
  if (isWeb) {
@@ -30,7 +30,7 @@ let ExtensionManagementServerService = class ExtensionManagementServerService {
30
30
  this.webExtensionManagementServer = {
31
31
  id: 'web',
32
32
  extensionManagementService,
33
- label: ( localize(12530, "Browser")),
33
+ label: ( localize(12805, "Browser")),
34
34
  };
35
35
  }
36
36
  }
@@ -38,7 +38,7 @@ import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/plat
38
38
  import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
39
39
  import { IUserDataProfilesService } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataProfile/common/userDataProfile.service';
40
40
  import { MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
41
- import { verifiedPublisherIcon } from '@codingame/monaco-vscode-f054d965-ed28-53b8-b046-94e93188218c-common/vscode/vs/workbench/services/extensionManagement/common/extensionsIcons';
41
+ import { verifiedPublisherIcon } from '@codingame/monaco-vscode-516ccb00-d5b9-5317-baf0-fcc96e99669a-common/vscode/vs/workbench/services/extensionManagement/common/extensionsIcons';
42
42
  import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
43
43
  import { CommontExtensionManagementService } from '../../../../platform/extensionManagement/common/abstractExtensionManagementService.js';
44
44
 
@@ -222,7 +222,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
222
222
  getDependentsErrorMessage(extension, dependents) {
223
223
  if (dependents.length === 1) {
224
224
  return localize(
225
- 12531,
225
+ 12806,
226
226
  "Cannot uninstall extension '{0}'. Extension '{1}' depends on this.",
227
227
  extension.manifest.displayName || extension.manifest.name,
228
228
  dependents[0].manifest.displayName || dependents[0].manifest.name
@@ -230,7 +230,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
230
230
  }
231
231
  if (dependents.length === 2) {
232
232
  return localize(
233
- 12532,
233
+ 12807,
234
234
  "Cannot uninstall extension '{0}'. Extensions '{1}' and '{2}' depend on this.",
235
235
  extension.manifest.displayName || extension.manifest.name,
236
236
  dependents[0].manifest.displayName || dependents[0].manifest.name,
@@ -238,7 +238,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
238
238
  );
239
239
  }
240
240
  return localize(
241
- 12533,
241
+ 12808,
242
242
  "Cannot uninstall extension '{0}'. Extensions '{1}', '{2}' and others depend on this.",
243
243
  extension.manifest.displayName || extension.manifest.name,
244
244
  dependents[0].manifest.displayName || dependents[0].manifest.name,
@@ -348,7 +348,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
348
348
  }
349
349
  const manifest = await this.extensionGalleryService.getManifest(gallery, CancellationToken.None);
350
350
  if (!manifest) {
351
- return ( new MarkdownString()).appendText(( localize(12534, "Manifest is not found")));
351
+ return ( new MarkdownString()).appendText(( localize(12809, "Manifest is not found")));
352
352
  }
353
353
  if (this.extensionManagementServerService.remoteExtensionManagementServer
354
354
  && (await this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.canInstall(gallery)) === true
@@ -361,7 +361,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
361
361
  return true;
362
362
  }
363
363
  return ( new MarkdownString()).appendText(( localize(
364
- 12535,
364
+ 12810,
365
365
  "Cannot install the '{0}' extension because it is not available in this setup.",
366
366
  gallery.displayName || gallery.name
367
367
  )));
@@ -377,7 +377,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
377
377
  return true;
378
378
  }
379
379
  return ( new MarkdownString()).appendText(( localize(
380
- 12535,
380
+ 12810,
381
381
  "Cannot install the '{0}' extension because it is not available in this setup.",
382
382
  extension.manifest.displayName ?? extension.identifier.id
383
383
  )));
@@ -406,7 +406,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
406
406
  const manifest = await this.extensionGalleryService.getManifest(extension, CancellationToken.None);
407
407
  if (!manifest) {
408
408
  throw ( new Error(( localize(
409
- 12536,
409
+ 12811,
410
410
  "Installing Extension {0} failed: Manifest is not found.",
411
411
  extension.displayName || extension.name
412
412
  ))));
@@ -425,7 +425,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
425
425
  const manifest = await this.extensionGalleryService.getManifest(extension, CancellationToken.None);
426
426
  if (!manifest) {
427
427
  throw ( new Error(( localize(
428
- 12536,
428
+ 12811,
429
429
  "Installing Extension {0} failed: Manifest is not found.",
430
430
  extension.displayName || extension.name
431
431
  ))));
@@ -473,7 +473,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
473
473
  const manifest = await this.extensionGalleryService.getManifest(gallery, CancellationToken.None);
474
474
  if (!manifest) {
475
475
  throw ( new Error(( localize(
476
- 12536,
476
+ 12811,
477
477
  "Installing Extension {0} failed: Manifest is not found.",
478
478
  gallery.displayName || gallery.name
479
479
  ))));
@@ -577,7 +577,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
577
577
  const manifest = await this.extensionGalleryService.getManifest(gallery, CancellationToken.None);
578
578
  if (!manifest) {
579
579
  return Promise.reject(( localize(
580
- 12536,
580
+ 12811,
581
581
  "Installing Extension {0} failed: Manifest is not found.",
582
582
  gallery.displayName || gallery.name
583
583
  )));
@@ -627,7 +627,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
627
627
  for (const server of servers) {
628
628
  if (!installableServers.includes(server)) {
629
629
  const error = ( new Error(( localize(
630
- 12537,
630
+ 12812,
631
631
  "Cannot install the '{0}' extension because it is not available in the '{1}' setup.",
632
632
  gallery.displayName || gallery.name,
633
633
  server.label
@@ -651,7 +651,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
651
651
  }
652
652
  if (!servers.length) {
653
653
  const error = ( new Error(( localize(
654
- 12535,
654
+ 12810,
655
655
  "Cannot install the '{0}' extension because it is not available in this setup.",
656
656
  gallery.displayName || gallery.name
657
657
  ))));
@@ -689,24 +689,24 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
689
689
  if (this.isExtensionsSyncEnabled()) {
690
690
  const { result } = await this.dialogService.prompt({
691
691
  type: Severity.Info,
692
- message: extensions.length === 1 ? ( localize(12538, "Install Extension")) : ( localize(12539, "Install Extensions")),
692
+ message: extensions.length === 1 ? ( localize(12813, "Install Extension")) : ( localize(12814, "Install Extensions")),
693
693
  detail: extensions.length === 1
694
694
  ? ( localize(
695
- 12540,
695
+ 12815,
696
696
  "Would you like to install and synchronize '{0}' extension across your devices?",
697
697
  extensions[0].displayName
698
698
  ))
699
699
  : ( localize(
700
- 12541,
700
+ 12816,
701
701
  "Would you like to install and synchronize extensions across your devices?"
702
702
  )),
703
703
  buttons: [
704
704
  {
705
- label: ( localize(12542, "&&Install")),
705
+ label: ( localize(12817, "&&Install")),
706
706
  run: () => false
707
707
  },
708
708
  {
709
- label: ( localize(12543, "Install (Do &&not sync)")),
709
+ label: ( localize(12818, "Install (Do &&not sync)")),
710
710
  run: () => true
711
711
  }
712
712
  ],
@@ -755,7 +755,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
755
755
  const manifest = await this.extensionGalleryService.getManifest(extension, CancellationToken.None);
756
756
  if (!manifest) {
757
757
  throw ( new Error(( localize(
758
- 12536,
758
+ 12811,
759
759
  "Installing Extension {0} failed: Manifest is not found.",
760
760
  extension.displayName || extension.name
761
761
  ))));
@@ -787,7 +787,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
787
787
  const unverfiiedPublishers = allPublishers.filter(p => !p.publisherDomain?.verified);
788
788
  const verifiedPublishers = allPublishers.filter(p => p.publisherDomain?.verified);
789
789
  const installButton = {
790
- label: allPublishers.length > 1 ? ( localize(12544, "Trust Publishers & &&Install")) : ( localize(12545, "Trust Publisher & &&Install")),
790
+ label: allPublishers.length > 1 ? ( localize(12819, "Trust Publishers & &&Install")) : ( localize(12820, "Trust Publisher & &&Install")),
791
791
  run: () => {
792
792
  this.telemetryService.publicLog2('extensions:trustPublisher', { action: 'trust', extensionId: ( untrustedExtensions.map(e => e.identifier.id)).join(',') });
793
793
  this.trustPublishers(...( allPublishers.map(
@@ -796,7 +796,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
796
796
  }
797
797
  };
798
798
  const learnMoreButton = {
799
- label: ( localize(12546, "&&Learn More")),
799
+ label: ( localize(12821, "&&Learn More")),
800
800
  run: () => {
801
801
  this.telemetryService.publicLog2('extensions:trustPublisher', { action: 'learn', extensionId: ( untrustedExtensions.map(e => e.identifier.id)).join(',') });
802
802
  this.instantiationService.invokeFunction(accessor => accessor.get(ICommandService).executeCommand('vscode.open', ( URI.parse('https://aka.ms/vscode-extension-security'))));
@@ -809,19 +809,19 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
809
809
  const unverifiedLink = 'https://aka.ms/vscode-verify-publisher';
810
810
  const title = allPublishers.length === 1
811
811
  ? ( localize(
812
- 12547,
812
+ 12822,
813
813
  "Do you trust the publisher \"{0}\"?",
814
814
  allPublishers[0].publisherDisplayName
815
815
  ))
816
816
  : allPublishers.length === 2
817
817
  ? ( localize(
818
- 12548,
818
+ 12823,
819
819
  "Do you trust publishers \"{0}\" and \"{1}\"?",
820
820
  allPublishers[0].publisherDisplayName,
821
821
  allPublishers[1].publisherDisplayName
822
822
  ))
823
823
  : ( localize(
824
- 12549,
824
+ 12824,
825
825
  "Do you trust the publisher \"{0}\" and {1} others?",
826
826
  allPublishers[0].publisherDisplayName,
827
827
  allPublishers.length - 1
@@ -832,7 +832,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
832
832
  const manifest = untrustedExtensionManifests[0];
833
833
  if (otherUntrustedPublishers.length) {
834
834
  customMessage.appendMarkdown(( localize(
835
- 12550,
835
+ 12825,
836
836
  "The extension {0} is published by {1}.",
837
837
  `[${extension.displayName}](${extension.detailsLink})`,
838
838
  getPublisherLink(extension)
@@ -843,7 +843,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
843
843
  )).toString());
844
844
  if (otherUntrustedPublishers.length === 1) {
845
845
  customMessage.appendMarkdown(( localize(
846
- 12551,
846
+ 12826,
847
847
  "Installing this extension will also install [extensions]({0}) published by {1}.",
848
848
  commandUri,
849
849
  getPublisherLink(otherUntrustedPublishers[0])
@@ -851,7 +851,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
851
851
  }
852
852
  else {
853
853
  customMessage.appendMarkdown(( localize(
854
- 12552,
854
+ 12827,
855
855
  "Installing this extension will also install [extensions]({0}) published by {1} and {2}.",
856
856
  commandUri,
857
857
  ( otherUntrustedPublishers.slice(0, otherUntrustedPublishers.length - 1).map(p => getPublisherLink(p))).join(', '),
@@ -860,13 +860,13 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
860
860
  }
861
861
  customMessage.appendMarkdown(' ');
862
862
  customMessage.appendMarkdown(( localize(
863
- 12553,
863
+ 12828,
864
864
  "This is the first time you're installing extensions from these publishers."
865
865
  )));
866
866
  }
867
867
  else {
868
868
  customMessage.appendMarkdown(( localize(
869
- 12554,
869
+ 12829,
870
870
  "The extension {0} is published by {1}. This is the first extension you're installing from this publisher.",
871
871
  `[${extension.displayName}](${extension.detailsLink})`,
872
872
  getPublisherLink(extension)
@@ -875,7 +875,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
875
875
  }
876
876
  else {
877
877
  customMessage.appendMarkdown(( localize(
878
- 12555,
878
+ 12830,
879
879
  "This is the first time you're installing extensions from publishers {0} and {1}.",
880
880
  getPublisherLink(allPublishers[0]),
881
881
  getPublisherLink(allPublishers[allPublishers.length - 1])
@@ -885,7 +885,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
885
885
  for (const publisher of verifiedPublishers) {
886
886
  customMessage.appendText('\n');
887
887
  const publisherVerifiedMessage = ( localize(
888
- 12556,
888
+ 12831,
889
889
  "{0} has verified ownership of {1}.",
890
890
  getPublisherLink(publisher),
891
891
  `[$(link-external) ${( URI.parse(publisher.publisherDomain.link)).authority}](${publisher.publisherDomain.link})`
@@ -896,7 +896,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
896
896
  customMessage.appendText('\n');
897
897
  if (unverfiiedPublishers.length === 1) {
898
898
  customMessage.appendMarkdown(`$(${Codicon.unverified.id}) ${( localize(
899
- 12557,
899
+ 12832,
900
900
  "{0} is [**not** verified]({1}).",
901
901
  getPublisherLink(unverfiiedPublishers[0]),
902
902
  unverifiedLink
@@ -904,7 +904,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
904
904
  }
905
905
  else {
906
906
  customMessage.appendMarkdown(`$(${Codicon.unverified.id}) ${( localize(
907
- 12558,
907
+ 12833,
908
908
  "{0} and {1} are [**not** verified]({2}).",
909
909
  ( unverfiiedPublishers.slice(0, unverfiiedPublishers.length - 1).map(p => getPublisherLink(p))).join(', '),
910
910
  getPublisherLink(unverfiiedPublishers[unverfiiedPublishers.length - 1]),
@@ -915,19 +915,19 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
915
915
  }
916
916
  else {
917
917
  customMessage.appendText('\n');
918
- customMessage.appendMarkdown(`$(${Codicon.unverified.id}) ${( localize(12559, "All publishers are [**not** verified]({0}).", unverifiedLink))}`);
918
+ customMessage.appendMarkdown(`$(${Codicon.unverified.id}) ${( localize(12834, "All publishers are [**not** verified]({0}).", unverifiedLink))}`);
919
919
  }
920
920
  customMessage.appendText('\n');
921
921
  if (allPublishers.length > 1) {
922
922
  customMessage.appendMarkdown(( localize(
923
- 12560,
923
+ 12835,
924
924
  "{0} has no control over the behavior of third-party extensions, including how they manage your personal data. Proceed only if you trust the publishers.",
925
925
  this.productService.nameLong
926
926
  )));
927
927
  }
928
928
  else {
929
929
  customMessage.appendMarkdown(( localize(
930
- 12561,
930
+ 12836,
931
931
  "{0} has no control over the behavior of third-party extensions, including how they manage your personal data. Proceed only if you trust the publisher.",
932
932
  this.productService.nameLong
933
933
  )));
@@ -1006,13 +1006,13 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
1006
1006
  async checkForWorkspaceTrust(manifest, requireTrust) {
1007
1007
  if (requireTrust || this.extensionManifestPropertiesService.getExtensionUntrustedWorkspaceSupportType(manifest) === false) {
1008
1008
  const buttons = [];
1009
- buttons.push({ label: ( localize(12562, "Trust Workspace & Install")), type: 'ContinueWithTrust' });
1009
+ buttons.push({ label: ( localize(12837, "Trust Workspace & Install")), type: 'ContinueWithTrust' });
1010
1010
  if (!requireTrust) {
1011
- buttons.push({ label: ( localize(12563, "Install")), type: 'ContinueWithoutTrust' });
1011
+ buttons.push({ label: ( localize(12838, "Install")), type: 'ContinueWithoutTrust' });
1012
1012
  }
1013
- buttons.push({ label: ( localize(12564, "Learn More")), type: 'Manage' });
1013
+ buttons.push({ label: ( localize(12839, "Learn More")), type: 'Manage' });
1014
1014
  const trustState = await this.workspaceTrustRequestService.requestWorkspaceTrust({
1015
- message: ( localize(12565, "Enabling this extension requires a trusted workspace.")),
1015
+ message: ( localize(12840, "Enabling this extension requires a trusted workspace.")),
1016
1016
  buttons
1017
1017
  });
1018
1018
  if (trustState === undefined) {
@@ -1036,7 +1036,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
1036
1036
  throw ( new ExtensionManagementError('Not supported in Web', ExtensionManagementErrorCode.Unsupported));
1037
1037
  }
1038
1038
  }
1039
- const productName = ( localize(12566, "{0} for the Web", this.productService.nameLong));
1039
+ const productName = ( localize(12841, "{0} for the Web", this.productService.nameLong));
1040
1040
  const virtualWorkspaceSupport = this.extensionManifestPropertiesService.getExtensionVirtualWorkspaceSupportType(manifest);
1041
1041
  const virtualWorkspaceSupportReason = getWorkspaceSupportTypeMessage(manifest.capabilities?.virtualWorkspaces);
1042
1042
  const hasLimitedSupport = virtualWorkspaceSupport === 'limited' || !!virtualWorkspaceSupportReason;
@@ -1044,7 +1044,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
1044
1044
  return;
1045
1045
  }
1046
1046
  const limitedSupportMessage = ( localize(
1047
- 12567,
1047
+ 12842,
1048
1048
  "'{0}' has limited functionality in {1}.",
1049
1049
  extension.displayName || extension.identifier.id,
1050
1050
  productName
@@ -1053,16 +1053,16 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
1053
1053
  let buttons = [];
1054
1054
  let detail;
1055
1055
  const installAnywayButton = {
1056
- label: ( localize(12568, "&&Install Anyway")),
1056
+ label: ( localize(12843, "&&Install Anyway")),
1057
1057
  run: () => { }
1058
1058
  };
1059
1059
  const showExtensionsButton = {
1060
- label: ( localize(12569, "&&Show Extensions")),
1060
+ label: ( localize(12844, "&&Show Extensions")),
1061
1061
  run: () => this.instantiationService.invokeFunction(accessor => accessor.get(ICommandService).executeCommand('extension.open', extension.identifier.id, 'extensionPack'))
1062
1062
  };
1063
1063
  if (nonWebExtensions.length && hasLimitedSupport) {
1064
1064
  message = limitedSupportMessage;
1065
- detail = `${virtualWorkspaceSupportReason ? `${virtualWorkspaceSupportReason}\n` : ''}${( localize(12570, "Contains extensions which are not supported."))}`;
1065
+ detail = `${virtualWorkspaceSupportReason ? `${virtualWorkspaceSupportReason}\n` : ''}${( localize(12845, "Contains extensions which are not supported."))}`;
1066
1066
  buttons = [
1067
1067
  installAnywayButton,
1068
1068
  showExtensionsButton
@@ -1075,7 +1075,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
1075
1075
  }
1076
1076
  else {
1077
1077
  message = ( localize(
1078
- 12571,
1078
+ 12846,
1079
1079
  "'{0}' contains extensions which are not supported in {1}.",
1080
1080
  extension.displayName || extension.identifier.id,
1081
1081
  productName
@@ -1362,7 +1362,7 @@ let WorkspaceExtensionsManagementService = class WorkspaceExtensionsManagementSe
1362
1362
  if (extension.manifest.main) {
1363
1363
  if (!(await this.fileService.exists(this.uriIdentityService.extUri.joinPath(extension.location, extension.manifest.main)))) {
1364
1364
  isValid = false;
1365
- validations.push([Severity.Error, ( localize(12572, "Cannot activate because {0} not found", extension.manifest.main))]);
1365
+ validations.push([Severity.Error, ( localize(12847, "Cannot activate because {0} not found", extension.manifest.main))]);
1366
1366
  }
1367
1367
  }
1368
1368
  return {