@codingame/monaco-vscode-extension-gallery-service-override 8.0.1 → 8.0.2

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.
Files changed (21) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +17 -17
  3. package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
  4. package/vscode/src/vs/workbench/contrib/extensions/browser/deprecatedExtensionsChecker.js +3 -3
  5. package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
  6. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +35 -35
  7. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
  8. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +16 -16
  9. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
  10. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
  11. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
  12. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
  13. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +3 -3
  14. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +37 -37
  15. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +10 -10
  16. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +21 -21
  17. package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
  18. package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
  19. package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
  20. package/vscode/src/vs/workbench/contrib/extensions/common/reportExtensionIssueAction.js +1 -1
  21. package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-extension-gallery-service-override",
3
- "version": "8.0.1",
3
+ "version": "8.0.2",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,6 +26,6 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@8.0.1"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@8.0.2"
30
30
  }
31
31
  }
@@ -234,13 +234,13 @@ let AbstractRuntimeExtensionsEditor = class AbstractRuntimeExtensionsEditor exte
234
234
  const activationId = activationTimes.activationReason.extensionId.value;
235
235
  const activationEvent = activationTimes.activationReason.activationEvent;
236
236
  if (activationEvent === '*') {
237
- title = ( localize(9459, "Activated by {0} on start-up", activationId));
237
+ title = ( localize(9464, "Activated by {0} on start-up", activationId));
238
238
  }
239
239
  else if (/^workspaceContains:/.test(activationEvent)) {
240
240
  const fileNameOrGlob = activationEvent.substr('workspaceContains:'.length);
241
241
  if (fileNameOrGlob.indexOf('*') >= 0 || fileNameOrGlob.indexOf('?') >= 0) {
242
242
  title = ( localize(
243
- 9460,
243
+ 9465,
244
244
  "Activated by {1} because a file matching {0} exists in your workspace",
245
245
  fileNameOrGlob,
246
246
  activationId
@@ -248,7 +248,7 @@ let AbstractRuntimeExtensionsEditor = class AbstractRuntimeExtensionsEditor exte
248
248
  }
249
249
  else {
250
250
  title = ( localize(
251
- 9461,
251
+ 9466,
252
252
  "Activated by {1} because file {0} exists in your workspace",
253
253
  fileNameOrGlob,
254
254
  activationId
@@ -258,41 +258,41 @@ let AbstractRuntimeExtensionsEditor = class AbstractRuntimeExtensionsEditor exte
258
258
  else if (/^workspaceContainsTimeout:/.test(activationEvent)) {
259
259
  const glob = activationEvent.substr('workspaceContainsTimeout:'.length);
260
260
  title = ( localize(
261
- 9462,
261
+ 9467,
262
262
  "Activated by {1} because searching for {0} took too long",
263
263
  glob,
264
264
  activationId
265
265
  ));
266
266
  }
267
267
  else if (activationEvent === 'onStartupFinished') {
268
- title = ( localize(9463, "Activated by {0} after start-up finished", activationId));
268
+ title = ( localize(9468, "Activated by {0} after start-up finished", activationId));
269
269
  }
270
270
  else if (/^onLanguage:/.test(activationEvent)) {
271
271
  const language = activationEvent.substr('onLanguage:'.length);
272
272
  title = ( localize(
273
- 9464,
273
+ 9469,
274
274
  "Activated by {1} because you opened a {0} file",
275
275
  language,
276
276
  activationId
277
277
  ));
278
278
  }
279
279
  else {
280
- title = ( localize(9465, "Activated by {1} on {0}", activationEvent, activationId));
280
+ title = ( localize(9470, "Activated by {1} on {0}", activationEvent, activationId));
281
281
  }
282
282
  }
283
283
  else {
284
- title = ( localize(9466, "Extension is activating..."));
284
+ title = ( localize(9471, "Extension is activating..."));
285
285
  }
286
286
  data.elementDisposables.push(this._hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), data.activationTime, title));
287
287
  clearNode(data.msgContainer);
288
288
  if (this._getUnresponsiveProfile(element.description.identifier)) {
289
289
  const el = $('span', undefined, ...renderLabelWithIcons(` $(alert) Unresponsive`));
290
- const extensionHostFreezTitle = ( localize(9467, "Extension has caused the extension host to freeze."));
290
+ const extensionHostFreezTitle = ( localize(9472, "Extension has caused the extension host to freeze."));
291
291
  data.elementDisposables.push(this._hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), el, extensionHostFreezTitle));
292
292
  data.msgContainer.appendChild(el);
293
293
  }
294
294
  if (isNonEmptyArray(element.status.runtimeErrors)) {
295
- const el = $('span', undefined, ...renderLabelWithIcons(`$(bug) ${( localize(9468, "{0} uncaught errors", element.status.runtimeErrors.length))}`));
295
+ const el = $('span', undefined, ...renderLabelWithIcons(`$(bug) ${( localize(9473, "{0} uncaught errors", element.status.runtimeErrors.length))}`));
296
296
  data.msgContainer.appendChild(el);
297
297
  }
298
298
  if (element.status.messages && element.status.messages.length > 0) {
@@ -331,10 +331,10 @@ let AbstractRuntimeExtensionsEditor = class AbstractRuntimeExtensionsEditor exte
331
331
  data.msgContainer.appendChild($('span', undefined, ...renderLabelWithIcons(`$(${status.severity === Severity$1.Error ? errorIcon.id : warningIcon.id}) ${status.message}`)));
332
332
  }
333
333
  if (accessData?.totalCount > 0) {
334
- const element = $('span', undefined, `${( localize(9469, "{0} Requests: {1} (Overall)", feature.label, accessData.totalCount))}${accessData.current ? ( localize(9470, ", {0} (Session)", accessData.current.count)) : ''}`);
334
+ const element = $('span', undefined, `${( localize(9474, "{0} Requests: {1} (Overall)", feature.label, accessData.totalCount))}${accessData.current ? ( localize(9475, ", {0} (Session)", accessData.current.count)) : ''}`);
335
335
  if (accessData.current) {
336
336
  const title = ( localize(
337
- 9471,
337
+ 9476,
338
338
  "Last request was {0}.",
339
339
  fromNow(accessData.current.lastAccessed, true, true)
340
340
  ));
@@ -364,7 +364,7 @@ let AbstractRuntimeExtensionsEditor = class AbstractRuntimeExtensionsEditor exte
364
364
  },
365
365
  accessibilityProvider: new (class {
366
366
  getWidgetAriaLabel() {
367
- return ( localize(9472, "Runtime Extensions"));
367
+ return ( localize(9477, "Runtime Extensions"));
368
368
  }
369
369
  getAriaLabel(element) {
370
370
  return element.description.name;
@@ -377,7 +377,7 @@ let AbstractRuntimeExtensionsEditor = class AbstractRuntimeExtensionsEditor exte
377
377
  return;
378
378
  }
379
379
  const actions = [];
380
- actions.push(( (new Action('runtimeExtensionsEditor.action.copyId', ( localize(9473, "Copy id ({0})", e.element.description.identifier.value)), undefined, true, () => {
380
+ actions.push(( (new Action('runtimeExtensionsEditor.action.copyId', ( localize(9478, "Copy id ({0})", e.element.description.identifier.value)), undefined, true, () => {
381
381
  this._clipboardService.writeText(e.element.description.identifier.value);
382
382
  }))));
383
383
  const reportExtensionIssueAction = this._createReportExtensionIssueAction(e.element);
@@ -386,8 +386,8 @@ let AbstractRuntimeExtensionsEditor = class AbstractRuntimeExtensionsEditor exte
386
386
  }
387
387
  actions.push(( (new Separator())));
388
388
  if (e.element.marketplaceInfo) {
389
- actions.push(( (new Action('runtimeExtensionsEditor.action.disableWorkspace', ( localize(9474, "Disable (Workspace)")), undefined, true, () => this._extensionsWorkbenchService.setEnablement(e.element.marketplaceInfo, EnablementState.DisabledWorkspace)))));
390
- actions.push(( (new Action('runtimeExtensionsEditor.action.disable', ( localize(9475, "Disable")), undefined, true, () => this._extensionsWorkbenchService.setEnablement(e.element.marketplaceInfo, EnablementState.DisabledGlobally)))));
389
+ actions.push(( (new Action('runtimeExtensionsEditor.action.disableWorkspace', ( localize(9479, "Disable (Workspace)")), undefined, true, () => this._extensionsWorkbenchService.setEnablement(e.element.marketplaceInfo, EnablementState.DisabledWorkspace)))));
390
+ actions.push(( (new Action('runtimeExtensionsEditor.action.disable', ( localize(9480, "Disable")), undefined, true, () => this._extensionsWorkbenchService.setEnablement(e.element.marketplaceInfo, EnablementState.DisabledGlobally)))));
391
391
  }
392
392
  actions.push(( (new Separator())));
393
393
  const profileAction = this._createProfileAction();
@@ -434,7 +434,7 @@ class ShowRuntimeExtensionsAction extends Action2 {
434
434
  constructor() {
435
435
  super({
436
436
  id: 'workbench.action.showRuntimeExtensions',
437
- title: ( localize2(9476, "Show Running Extensions")),
437
+ title: ( localize2(9481, "Show Running Extensions")),
438
438
  category: Categories.Developer,
439
439
  f1: true,
440
440
  menu: {
@@ -62,7 +62,7 @@ let ConfigBasedRecommendations = class ConfigBasedRecommendations extends Extens
62
62
  reason: {
63
63
  reasonId: ExtensionRecommendationReason.WorkspaceConfig,
64
64
  reasonText: ( localize(
65
- 9364,
65
+ 9371,
66
66
  "This extension is recommended because of the current workspace configuration"
67
67
  ))
68
68
  },
@@ -44,10 +44,10 @@ let DeprecatedExtensionsChecker = class DeprecatedExtensionsChecker extends Disp
44
44
  const toNotify = local.filter(e => !!e.deprecationInfo && e.local && this.extensionEnablementService.isEnabled(e.local)).filter(e => !previouslyNotified.includes(e.identifier.id.toLowerCase()));
45
45
  if (toNotify.length) {
46
46
  this.notificationService.prompt(Severity$1.Warning, ( localize(
47
- 9503,
47
+ 9508,
48
48
  "You have deprecated extensions installed. We recommend to review them and migrate to alternatives."
49
49
  )), [{
50
- label: ( localize(9504, "Show Deprecated Extensions")),
50
+ label: ( localize(9509, "Show Deprecated Extensions")),
51
51
  run: async () => {
52
52
  this.setNotifiedDeprecatedExtensions(( (toNotify.map(e => e.identifier.id.toLowerCase()))));
53
53
  const action = this.instantiationService.createInstance(SearchExtensionsAction, ( (toNotify.map(extension => `@id:${extension.identifier.id}`))).join(' '));
@@ -59,7 +59,7 @@ let DeprecatedExtensionsChecker = class DeprecatedExtensionsChecker extends Disp
59
59
  }
60
60
  }
61
61
  }, {
62
- label: ( localize(9505, "Don't Show Again")),
62
+ label: ( localize(9510, "Don't Show Again")),
63
63
  isSecondary: true,
64
64
  run: () => this.storageService.store('extensionsAssistant/doNotCheckDeprecated', true, StorageScope.PROFILE, StorageTarget.USER)
65
65
  }]);
@@ -49,7 +49,7 @@ let ExeBasedRecommendations = class ExeBasedRecommendations extends ExtensionRec
49
49
  reason: {
50
50
  reasonId: ExtensionRecommendationReason.Executable,
51
51
  reasonText: ( localize(
52
- 9360,
52
+ 9367,
53
53
  "This extension is recommended because you have {0} installed.",
54
54
  tip.exeFriendlyName
55
55
  ))
@@ -137,7 +137,7 @@ class VersionWidget extends ExtensionWithDifferentGalleryVersionWidget {
137
137
  constructor(container, hoverService) {
138
138
  super();
139
139
  this.element = append(container, $('code.version'));
140
- this._register(hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), this.element, ( localize(9368, "Extension Version"))));
140
+ this._register(hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), this.element, ( localize(9373, "Extension Version"))));
141
141
  this.render();
142
142
  }
143
143
  render() {
@@ -198,26 +198,26 @@ let ExtensionEditor = class ExtensionEditor extends EditorPane {
198
198
  const details = append(header, $('.details'));
199
199
  const title = append(details, $('.title'));
200
200
  const name = append(title, $('span.name.clickable', { role: 'heading', tabIndex: 0 }));
201
- this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), name, ( localize(9369, "Extension name"))));
201
+ this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), name, ( localize(9374, "Extension name"))));
202
202
  const versionWidget = ( (new VersionWidget(title, this.hoverService)));
203
203
  const preview = append(title, $('span.preview'));
204
- this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), preview, ( localize(9370, "Preview"))));
205
- preview.textContent = ( localize(9370, "Preview"));
204
+ this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), preview, ( localize(9375, "Preview"))));
205
+ preview.textContent = ( localize(9375, "Preview"));
206
206
  const builtin = append(title, $('span.builtin'));
207
- builtin.textContent = ( localize(9371, "Built-in"));
207
+ builtin.textContent = ( localize(9376, "Built-in"));
208
208
  const subtitle = append(details, $('.subtitle'));
209
209
  const publisher = append(append(subtitle, $('.subtitle-entry')), $('.publisher.clickable', { tabIndex: 0 }));
210
- this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), publisher, ( localize(9372, "Publisher"))));
210
+ this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), publisher, ( localize(9377, "Publisher"))));
211
211
  publisher.setAttribute('role', 'button');
212
212
  const publisherDisplayName = append(publisher, $('.publisher-name'));
213
213
  const verifiedPublisherWidget = this.instantiationService.createInstance(VerifiedPublisherWidget, append(publisher, $('.verified-publisher')), false);
214
214
  const resource = append(append(subtitle, $('.subtitle-entry.resource')), $('', { tabIndex: 0 }));
215
215
  resource.setAttribute('role', 'button');
216
216
  const installCount = append(append(subtitle, $('.subtitle-entry')), $('span.install', { tabIndex: 0 }));
217
- this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), installCount, ( localize(9373, "Install count"))));
217
+ this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), installCount, ( localize(9378, "Install count"))));
218
218
  const installCountWidget = this.instantiationService.createInstance(InstallCountWidget, installCount, false);
219
219
  const rating = append(append(subtitle, $('.subtitle-entry')), $('span.rating.clickable', { tabIndex: 0 }));
220
- this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), rating, ( localize(9374, "Rating"))));
220
+ this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), rating, ( localize(9379, "Rating"))));
221
221
  rating.setAttribute('role', 'link');
222
222
  const ratingsWidget = this.instantiationService.createInstance(RatingsWidget, rating, false);
223
223
  const sponsorWidget = this.instantiationService.createInstance(SponsorWidget, append(subtitle, $('.subtitle-entry')));
@@ -447,7 +447,7 @@ let ExtensionEditor = class ExtensionEditor extends EditorPane {
447
447
  if (workspaceFolder && extension.isWorkspaceScoped) {
448
448
  template.resource.parentElement?.classList.add('clickable');
449
449
  this.transientDisposables.add(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), template.resource, this.uriIdentityService.extUri.relativePath(workspaceFolder.uri, location)));
450
- template.resource.textContent = ( localize(9375, "Workspace Extension"));
450
+ template.resource.textContent = ( localize(9380, "Workspace Extension"));
451
451
  this.transientDisposables.add(onClick(template.resource, () => {
452
452
  this.viewsService.openView(VIEW_ID, true).then(() => this.explorerService.select(location, true));
453
453
  }));
@@ -455,7 +455,7 @@ let ExtensionEditor = class ExtensionEditor extends EditorPane {
455
455
  else {
456
456
  template.resource.parentElement?.classList.remove('clickable');
457
457
  this.transientDisposables.add(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), template.resource, location.path));
458
- template.resource.textContent = ( localize(9376, "Local Extension"));
458
+ template.resource.textContent = ( localize(9381, "Local Extension"));
459
459
  }
460
460
  }
461
461
  template.installCount.parentElement?.classList.toggle('hide', !extension.url);
@@ -492,22 +492,22 @@ let ExtensionEditor = class ExtensionEditor extends EditorPane {
492
492
  this.initialScrollProgress.clear();
493
493
  this.currentIdentifier = extension.identifier.id;
494
494
  }
495
- template.navbar.push(ExtensionEditorTab.Readme, ( localize(9377, "Details")), ( localize(9378, "Extension details, rendered from the extension's 'README.md' file")));
495
+ template.navbar.push(ExtensionEditorTab.Readme, ( localize(9382, "Details")), ( localize(9383, "Extension details, rendered from the extension's 'README.md' file")));
496
496
  if (manifest) {
497
- template.navbar.push(ExtensionEditorTab.Features, ( localize(9379, "Features")), ( localize(9380, "Lists features contributed by this extension")));
497
+ template.navbar.push(ExtensionEditorTab.Features, ( localize(9384, "Features")), ( localize(9385, "Lists features contributed by this extension")));
498
498
  }
499
499
  if (extension.hasChangelog()) {
500
- template.navbar.push(ExtensionEditorTab.Changelog, ( localize(9381, "Changelog")), ( localize(
501
- 9382,
500
+ template.navbar.push(ExtensionEditorTab.Changelog, ( localize(9386, "Changelog")), ( localize(
501
+ 9387,
502
502
  "Extension update history, rendered from the extension's 'CHANGELOG.md' file"
503
503
  )));
504
504
  }
505
505
  if (extension.dependencies.length) {
506
- template.navbar.push(ExtensionEditorTab.Dependencies, ( localize(9383, "Dependencies")), ( localize(9384, "Lists extensions this extension depends on")));
506
+ template.navbar.push(ExtensionEditorTab.Dependencies, ( localize(9388, "Dependencies")), ( localize(9389, "Lists extensions this extension depends on")));
507
507
  }
508
508
  if (manifest && manifest.extensionPack?.length && !this.shallRenderAsExtensionPack(manifest)) {
509
- template.navbar.push(ExtensionEditorTab.ExtensionPack, ( localize(9385, "Extension Pack")), ( localize(
510
- 9386,
509
+ template.navbar.push(ExtensionEditorTab.ExtensionPack, ( localize(9390, "Extension Pack")), ( localize(
510
+ 9391,
511
511
  "Lists extensions those will be installed together with this extension"
512
512
  )));
513
513
  }
@@ -714,7 +714,7 @@ let ExtensionEditor = class ExtensionEditor extends EditorPane {
714
714
  activeElement = await this.openExtensionPackReadme(extension, manifest, readmeContainer, token);
715
715
  }
716
716
  else {
717
- activeElement = await this.openMarkdown(extension, this.extensionReadme.get(), ( localize(9387, "No README available.")), readmeContainer, WebviewIndex.Readme, ( localize(9388, "Readme")), token);
717
+ activeElement = await this.openMarkdown(extension, this.extensionReadme.get(), ( localize(9392, "No README available.")), readmeContainer, WebviewIndex.Readme, ( localize(9393, "Readme")), token);
718
718
  }
719
719
  this.renderAdditionalDetails(additionalDetailsContainer, extension);
720
720
  return activeElement;
@@ -743,14 +743,14 @@ let ExtensionEditor = class ExtensionEditor extends EditorPane {
743
743
  extensionPackReadme.classList.add('more-rows');
744
744
  }
745
745
  const extensionPackHeader = append(extensionPack, $('div.header'));
746
- extensionPackHeader.textContent = ( localize(9389, "Extension Pack ({0})", manifest.extensionPack.length));
746
+ extensionPackHeader.textContent = ( localize(9394, "Extension Pack ({0})", manifest.extensionPack.length));
747
747
  const extensionPackContent = append(extensionPack, $('div', { class: 'extension-pack-content' }));
748
748
  extensionPackContent.setAttribute('tabindex', '0');
749
749
  append(extensionPack, $('div.footer'));
750
750
  const readmeContent = append(extensionPackReadme, $('div.readme-content'));
751
751
  await Promise.all([
752
752
  this.renderExtensionPack(manifest, extensionPackContent, token),
753
- this.openMarkdown(extension, this.extensionReadme.get(), ( localize(9387, "No README available.")), readmeContent, WebviewIndex.Readme, ( localize(9388, "Readme")), token),
753
+ this.openMarkdown(extension, this.extensionReadme.get(), ( localize(9392, "No README available.")), readmeContent, WebviewIndex.Readme, ( localize(9393, "Readme")), token),
754
754
  ]);
755
755
  return { focus: () => extensionPackContent.focus() };
756
756
  }
@@ -770,7 +770,7 @@ let ExtensionEditor = class ExtensionEditor extends EditorPane {
770
770
  renderCategories(container, extension) {
771
771
  if (extension.categories.length) {
772
772
  const categoriesContainer = append(container, $('.categories-container.additional-details-element'));
773
- append(categoriesContainer, $('.additional-details-title', undefined, ( localize(9390, "Categories"))));
773
+ append(categoriesContainer, $('.additional-details-title', undefined, ( localize(9395, "Categories"))));
774
774
  const categoriesElement = append(categoriesContainer, $('.categories'));
775
775
  for (const category of extension.categories) {
776
776
  this.transientDisposables.add(onClick(append(categoriesElement, $('span.category', { tabindex: '0' }, category)), () => {
@@ -784,23 +784,23 @@ let ExtensionEditor = class ExtensionEditor extends EditorPane {
784
784
  renderExtensionResources(container, extension) {
785
785
  const resources = [];
786
786
  if (extension.url) {
787
- resources.push([( localize(9391, "Marketplace")), ( (URI.parse(extension.url)))]);
787
+ resources.push([( localize(9396, "Marketplace")), ( (URI.parse(extension.url)))]);
788
788
  }
789
789
  if (extension.url && extension.supportUrl) {
790
790
  try {
791
- resources.push([( localize(9392, "Issues")), ( (URI.parse(extension.supportUrl)))]);
791
+ resources.push([( localize(9397, "Issues")), ( (URI.parse(extension.supportUrl)))]);
792
792
  }
793
793
  catch (error) { }
794
794
  }
795
795
  if (extension.repository) {
796
796
  try {
797
- resources.push([( localize(9393, "Repository")), ( (URI.parse(extension.repository)))]);
797
+ resources.push([( localize(9398, "Repository")), ( (URI.parse(extension.repository)))]);
798
798
  }
799
799
  catch (error) { }
800
800
  }
801
801
  if (extension.url && extension.licenseUrl) {
802
802
  try {
803
- resources.push([( localize(9394, "License")), ( (URI.parse(extension.licenseUrl)))]);
803
+ resources.push([( localize(9399, "License")), ( (URI.parse(extension.licenseUrl)))]);
804
804
  }
805
805
  catch (error) { }
806
806
  }
@@ -809,7 +809,7 @@ let ExtensionEditor = class ExtensionEditor extends EditorPane {
809
809
  }
810
810
  if (resources.length || extension.publisherSponsorLink) {
811
811
  const extensionResourcesContainer = append(container, $('.resources-container.additional-details-element'));
812
- append(extensionResourcesContainer, $('.additional-details-title', undefined, ( localize(9395, "Resources"))));
812
+ append(extensionResourcesContainer, $('.additional-details-title', undefined, ( localize(9400, "Resources"))));
813
813
  const resourcesElement = append(extensionResourcesContainer, $('.resources'));
814
814
  for (const [label, uri] of resources) {
815
815
  const resource = append(resourcesElement, $('a.resource', { tabindex: '0' }, label));
@@ -821,19 +821,19 @@ let ExtensionEditor = class ExtensionEditor extends EditorPane {
821
821
  renderMoreInfo(container, extension) {
822
822
  const gallery = extension.gallery;
823
823
  const moreInfoContainer = append(container, $('.more-info-container.additional-details-element'));
824
- append(moreInfoContainer, $('.additional-details-title', undefined, ( localize(9396, "More Info"))));
824
+ append(moreInfoContainer, $('.additional-details-title', undefined, ( localize(9401, "More Info"))));
825
825
  const moreInfo = append(moreInfoContainer, $('.more-info'));
826
826
  const toDateString = (date) => `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(2, '0')}-${String(date.getDate()).padStart(2, '0')}, ${date.toLocaleTimeString(language, { hourCycle: 'h23' })}`;
827
827
  if (gallery) {
828
- append(moreInfo, $('.more-info-entry', undefined, $('div', undefined, ( localize(9397, "Published"))), $('div', undefined, toDateString(( (new Date(gallery.releaseDate)))))), $('.more-info-entry', undefined, $('div', undefined, ( localize(9398, "Last released"))), $('div', undefined, toDateString(( (new Date(gallery.lastUpdated)))))));
828
+ append(moreInfo, $('.more-info-entry', undefined, $('div', undefined, ( localize(9402, "Published"))), $('div', undefined, toDateString(( (new Date(gallery.releaseDate)))))), $('.more-info-entry', undefined, $('div', undefined, ( localize(9403, "Last released"))), $('div', undefined, toDateString(( (new Date(gallery.lastUpdated)))))));
829
829
  }
830
830
  if (extension.local && extension.local.installedTimestamp) {
831
- append(moreInfo, $('.more-info-entry', undefined, $('div', undefined, ( localize(9399, "Last updated"))), $('div', undefined, toDateString(( (new Date(extension.local.installedTimestamp)))))));
831
+ append(moreInfo, $('.more-info-entry', undefined, $('div', undefined, ( localize(9404, "Last updated"))), $('div', undefined, toDateString(( (new Date(extension.local.installedTimestamp)))))));
832
832
  }
833
- append(moreInfo, $('.more-info-entry', undefined, $('div', undefined, ( localize(9400, "Identifier"))), $('code', undefined, extension.identifier.id)));
833
+ append(moreInfo, $('.more-info-entry', undefined, $('div', undefined, ( localize(9405, "Identifier"))), $('code', undefined, extension.identifier.id)));
834
834
  }
835
835
  openChangelog(extension, template, token) {
836
- return this.openMarkdown(extension, this.extensionChangelog.get(), ( localize(9401, "No Changelog available.")), template.content, WebviewIndex.Changelog, ( localize(9402, "Changelog")), token);
836
+ return this.openMarkdown(extension, this.extensionChangelog.get(), ( localize(9406, "No Changelog available.")), template.content, WebviewIndex.Changelog, ( localize(9407, "Changelog")), token);
837
837
  }
838
838
  async openFeatures(template, token) {
839
839
  const manifest = await this.loadContents(() => this.extensionManifest.get(), template.content);
@@ -856,7 +856,7 @@ let ExtensionEditor = class ExtensionEditor extends EditorPane {
856
856
  return Promise.resolve(null);
857
857
  }
858
858
  if (isFalsyOrEmpty(extension.dependencies)) {
859
- append(template.content, $('p.nocontent')).textContent = ( localize(9403, "No Dependencies"));
859
+ append(template.content, $('p.nocontent')).textContent = ( localize(9408, "No Dependencies"));
860
860
  return Promise.resolve(template.content);
861
861
  }
862
862
  const content = $('div', { class: 'subcontent' });
@@ -959,7 +959,7 @@ registerAction2(class ShowExtensionEditorFindAction extends Action2 {
959
959
  constructor() {
960
960
  super({
961
961
  id: 'editor.action.extensioneditor.showfind',
962
- title: ( localize(9404, "Find")),
962
+ title: ( localize(9409, "Find")),
963
963
  keybinding: {
964
964
  when: contextKeyExpr,
965
965
  weight: KeybindingWeight.EditorContrib,
@@ -976,7 +976,7 @@ registerAction2(class StartExtensionEditorFindNextAction extends Action2 {
976
976
  constructor() {
977
977
  super({
978
978
  id: 'editor.action.extensioneditor.findNext',
979
- title: ( localize(9405, "Find Next")),
979
+ title: ( localize(9410, "Find Next")),
980
980
  keybinding: {
981
981
  when: ( (ContextKeyExpr.and(contextKeyExpr, KEYBINDING_CONTEXT_WEBVIEW_FIND_WIDGET_FOCUSED))),
982
982
  primary: KeyCode.Enter,
@@ -993,7 +993,7 @@ registerAction2(class StartExtensionEditorFindPreviousAction extends Action2 {
993
993
  constructor() {
994
994
  super({
995
995
  id: 'editor.action.extensioneditor.findPrevious',
996
- title: ( localize(9406, "Find Previous")),
996
+ title: ( localize(9411, "Find Previous")),
997
997
  keybinding: {
998
998
  when: ( (ContextKeyExpr.and(contextKeyExpr, KEYBINDING_CONTEXT_WEBVIEW_FIND_WIDGET_FOCUSED))),
999
999
  primary: KeyMod.Shift | KeyCode.Enter,
@@ -22,7 +22,7 @@ let ExtensionEnablementWorkspaceTrustTransitionParticipant = class ExtensionEnab
22
22
  hostService.reload();
23
23
  }
24
24
  else {
25
- const stopped = await extensionService.stopExtensionHosts(( localize(9477, "Restarting extension host due to workspace trust change.")));
25
+ const stopped = await extensionService.stopExtensionHosts(( localize(9482, "Restarting extension host due to workspace trust change.")));
26
26
  await extensionEnablementService.updateExtensionsEnablementsWhenWorkspaceTrustChanges();
27
27
  if (stopped) {
28
28
  extensionService.startExtensionHosts();
@@ -72,7 +72,7 @@ let RuntimeStatusMarkdownRenderer = class RuntimeStatusMarkdownRenderer extends
72
72
  const extensionId = ( (new ExtensionIdentifier(getExtensionId(manifest.publisher, manifest.name))));
73
73
  const status = this.extensionService.getExtensionsStatus()[extensionId.value];
74
74
  if (( (this.extensionService.extensions.some(extension => ExtensionIdentifier.equals(extension.identifier, extensionId))))) {
75
- data.appendMarkdown(`### ${( localize(11120, "Activation"))}\n\n`);
75
+ data.appendMarkdown(`### ${( localize(11119, "Activation"))}\n\n`);
76
76
  if (status.activationTimes) {
77
77
  if (status.activationTimes.activationReason.startup) {
78
78
  data.appendMarkdown(`Activated on Startup: \`${status.activationTimes.activateCallTime}ms\``);
@@ -85,13 +85,13 @@ let RuntimeStatusMarkdownRenderer = class RuntimeStatusMarkdownRenderer extends
85
85
  data.appendMarkdown('Not yet activated');
86
86
  }
87
87
  if (status.runtimeErrors.length) {
88
- data.appendMarkdown(`\n ### ${( localize(11121, "Uncaught Errors ({0})", status.runtimeErrors.length))}\n`);
88
+ data.appendMarkdown(`\n ### ${( localize(11120, "Uncaught Errors ({0})", status.runtimeErrors.length))}\n`);
89
89
  for (const error of status.runtimeErrors) {
90
90
  data.appendMarkdown(`$(${Codicon.error.id}) ${getErrorMessage(error)}\n\n`);
91
91
  }
92
92
  }
93
93
  if (status.messages.length) {
94
- data.appendMarkdown(`\n ### ${( localize(11122, "Messages ({0})", status.messages.length))}\n`);
94
+ data.appendMarkdown(`\n ### ${( localize(11121, "Messages ({0})", status.messages.length))}\n`);
95
95
  for (const message of status.messages) {
96
96
  data.appendMarkdown(`$(${(message.type === Severity$1.Error ? Codicon.error : message.type === Severity$1.Warning ? Codicon.warning : Codicon.info).id}) ${message.message}\n\n`);
97
97
  }
@@ -114,13 +114,13 @@ let RuntimeStatusMarkdownRenderer = class RuntimeStatusMarkdownRenderer extends
114
114
  if (accessData?.totalCount) {
115
115
  if (accessData.current) {
116
116
  data.appendMarkdown(`${( localize(
117
- 11123,
117
+ 11122,
118
118
  "Last Request: `{0}`",
119
119
  fromNow(accessData.current.lastAccessed, true, true)
120
120
  ))}\n\n`);
121
- data.appendMarkdown(`${( localize(11124, "Requests (Session) : `{0}`", accessData.current.count))}\n\n`);
121
+ data.appendMarkdown(`${( localize(11123, "Requests (Session) : `{0}`", accessData.current.count))}\n\n`);
122
122
  }
123
- data.appendMarkdown(`${( localize(11125, "Requests (Overall): `{0}`", accessData.totalCount))}\n\n`);
123
+ data.appendMarkdown(`${( localize(11124, "Requests (Overall): `{0}`", accessData.totalCount))}\n\n`);
124
124
  }
125
125
  }
126
126
  }
@@ -133,7 +133,7 @@ RuntimeStatusMarkdownRenderer = ( (__decorate([
133
133
  ], RuntimeStatusMarkdownRenderer)));
134
134
  const runtimeStatusFeature = {
135
135
  id: RuntimeStatusMarkdownRenderer.ID,
136
- label: ( localize(11126, "Runtime Status")),
136
+ label: ( localize(11125, "Runtime Status")),
137
137
  access: {
138
138
  canToggle: false
139
139
  },
@@ -157,7 +157,7 @@ let ExtensionFeaturesTab = class ExtensionFeaturesTab extends Themable {
157
157
  create() {
158
158
  const features = this.getFeatures();
159
159
  if (features.length === 0) {
160
- append($('.no-features'), this.domNode).textContent = ( localize(11127, "No features contributed."));
160
+ append($('.no-features'), this.domNode).textContent = ( localize(11126, "No features contributed."));
161
161
  return;
162
162
  }
163
163
  const splitView = this._register(( (new SplitView(this.domNode, {
@@ -219,7 +219,7 @@ let ExtensionFeaturesTab = class ExtensionFeaturesTab extends Themable {
219
219
  return extensionFeature?.label ?? '';
220
220
  },
221
221
  getWidgetAriaLabel() {
222
- return ( localize(11128, "Extension Features"));
222
+ return ( localize(11127, "Extension Features"));
223
223
  }
224
224
  },
225
225
  openOnSingleClick: true
@@ -275,7 +275,7 @@ let ExtensionFeatureItemRenderer = class ExtensionFeatureItemRenderer {
275
275
  container.classList.add('extension-feature-list-item');
276
276
  const label = append(container, $('.extension-feature-label'));
277
277
  const disabledElement = append(container, $('.extension-feature-disabled-label'));
278
- disabledElement.textContent = ( localize(11129, "No Access"));
278
+ disabledElement.textContent = ( localize(11128, "No Access"));
279
279
  const statusElement = append(container, $('.extension-feature-status'));
280
280
  return { label, disabledElement, statusElement, disposables: ( (new DisposableStore())) };
281
281
  }
@@ -346,23 +346,23 @@ let ExtensionFeatureView = class ExtensionFeatureView extends Disposable {
346
346
  this._register(button.onDidClick(async () => {
347
347
  const enabled = this.extensionFeaturesManagementService.isEnabled(this.extensionId, this.feature.id);
348
348
  const confirmationResult = await this.dialogService.confirm({
349
- title: ( localize(11130, "Enable '{0}' Feature", this.feature.label)),
349
+ title: ( localize(11129, "Enable '{0}' Feature", this.feature.label)),
350
350
  message: enabled
351
351
  ? ( localize(
352
- 11131,
352
+ 11130,
353
353
  "Would you like to revoke '{0}' extension to access '{1}' feature?",
354
354
  this.manifest.displayName ?? this.extensionId.value,
355
355
  this.feature.label
356
356
  ))
357
357
  : ( localize(
358
- 11132,
358
+ 11131,
359
359
  "Would you like to allow '{0}' extension to access '{1}' feature?",
360
360
  this.manifest.displayName ?? this.extensionId.value,
361
361
  this.feature.label
362
362
  )),
363
363
  custom: true,
364
- primaryButton: enabled ? ( localize(11133, "Revoke Access")) : ( localize(11134, "Allow Access")),
365
- cancelButton: ( localize(11135, "Cancel")),
364
+ primaryButton: enabled ? ( localize(11132, "Revoke Access")) : ( localize(11133, "Allow Access")),
365
+ cancelButton: ( localize(11134, "Cancel")),
366
366
  });
367
367
  if (confirmationResult.confirmed) {
368
368
  this.extensionFeaturesManagementService.setEnablement(this.extensionId, this.feature.id, !enabled);
@@ -398,7 +398,7 @@ let ExtensionFeatureView = class ExtensionFeatureView extends Disposable {
398
398
  }
399
399
  }
400
400
  updateButtonLabel(button) {
401
- button.label = this.extensionFeaturesManagementService.isEnabled(this.extensionId, this.feature.id) ? ( localize(11133, "Revoke Access")) : ( localize(11136, "Allow Access"));
401
+ button.label = this.extensionFeaturesManagementService.isEnabled(this.extensionId, this.feature.id) ? ( localize(11132, "Revoke Access")) : ( localize(11135, "Allow Access"));
402
402
  }
403
403
  renderTableData(container, renderer) {
404
404
  const tableData = this._register(renderer.render(this.manifest));
@@ -11,7 +11,7 @@ let ExtensionActivationProgress = class ExtensionActivationProgress {
11
11
  constructor(extensionService, progressService, logService) {
12
12
  const options = {
13
13
  location: ProgressLocation.Window,
14
- title: ( localize(9449, "Activating Extensions..."))
14
+ title: ( localize(9454, "Activating Extensions..."))
15
15
  };
16
16
  let deferred;
17
17
  let count = 0;
@@ -49,7 +49,7 @@ let ExtensionsCompletionItemsProvider = class ExtensionsCompletionItemsProvider
49
49
  }
50
50
  else {
51
51
  const text = '"vscode.csharp": {\n\t"supported": true,\n\t"version": "0.0.0"\n},';
52
- suggestions.push({ label: ( localize(9502, "Example")), kind: CompletionItemKind.Value, insertText: text, filterText: text, range });
52
+ suggestions.push({ label: ( localize(9507, "Example")), kind: CompletionItemKind.Value, insertText: text, filterText: text, range });
53
53
  }
54
54
  return suggestions;
55
55
  }
@@ -25,8 +25,8 @@ let ExtensionDependencyChecker = class ExtensionDependencyChecker extends Dispos
25
25
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
26
26
  command: {
27
27
  id: 'workbench.extensions.installMissingDependencies',
28
- category: ( localize(9450, "Extensions")),
29
- title: ( localize(9451, "Install Missing Dependencies"))
28
+ category: ( localize(9455, "Extensions")),
29
+ title: ( localize(9456, "Install Missing Dependencies"))
30
30
  }
31
31
  });
32
32
  }
@@ -59,17 +59,17 @@ let ExtensionDependencyChecker = class ExtensionDependencyChecker extends Dispos
59
59
  this.notificationService.notify({
60
60
  severity: Severity$1.Info,
61
61
  message: ( localize(
62
- 9452,
62
+ 9457,
63
63
  "Finished installing missing dependencies. Please reload the window now."
64
64
  )),
65
65
  actions: {
66
- primary: [( (new Action('realod', ( localize(9453, "Reload Window")), '', true, () => this.hostService.reload())))]
66
+ primary: [( (new Action('realod', ( localize(9458, "Reload Window")), '', true, () => this.hostService.reload())))]
67
67
  }
68
68
  });
69
69
  }
70
70
  }
71
71
  else {
72
- this.notificationService.info(( localize(9454, "There are no missing dependencies to install.")));
72
+ this.notificationService.info(( localize(9459, "There are no missing dependencies to install.")));
73
73
  }
74
74
  }
75
75
  };
@@ -23,11 +23,11 @@ let InstallExtensionQuickAccessProvider = class InstallExtensionQuickAccessProvi
23
23
  _getPicks(filter, disposables, token) {
24
24
  if (!filter) {
25
25
  return [{
26
- label: ( localize(9455, "Type an extension name to install or search."))
26
+ label: ( localize(9460, "Type an extension name to install or search."))
27
27
  }];
28
28
  }
29
29
  const genericSearchPickItem = {
30
- label: ( localize(9456, "Press Enter to search for extension '{0}'.", filter)),
30
+ label: ( localize(9461, "Press Enter to search for extension '{0}'.", filter)),
31
31
  accept: () => this.searchExtension(filter)
32
32
  };
33
33
  if (/\./.test(filter)) {
@@ -45,7 +45,7 @@ let InstallExtensionQuickAccessProvider = class InstallExtensionQuickAccessProvi
45
45
  return [fallback];
46
46
  }
47
47
  return [{
48
- label: ( localize(9457, "Press Enter to install extension '{0}'.", filter)),
48
+ label: ( localize(9462, "Press Enter to install extension '{0}'.", filter)),
49
49
  accept: () => this.installExtension(galleryExtension, filter)
50
50
  }];
51
51
  }
@@ -86,7 +86,7 @@ let ManageExtensionsQuickAccessProvider = class ManageExtensionsQuickAccessProvi
86
86
  }
87
87
  _getPicks() {
88
88
  return [{
89
- label: ( localize(9458, "Press Enter to manage your extensions.")),
89
+ label: ( localize(9463, "Press Enter to manage your extensions.")),
90
90
  accept: () => openExtensionsViewlet(this.paneCompositeService)
91
91
  }];
92
92
  }