@codingame/monaco-vscode-walkthrough-service-override 7.1.0 → 8.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.
Files changed (17) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +27 -34
  3. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +30 -39
  4. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +8 -9
  5. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +57 -93
  6. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +3 -12
  7. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +2 -3
  8. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService._contribution.js +5 -7
  9. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +6 -7
  10. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +4 -6
  11. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +147 -177
  12. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +4 -5
  13. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +6 -7
  14. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +4 -9
  15. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +3 -4
  16. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +3 -4
  17. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +3 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-walkthrough-service-override",
3
- "version": "7.1.0",
3
+ "version": "8.0.0",
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@7.1.0"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@8.0.0"
30
30
  }
31
31
  }
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
2
- import { localize2WithPath, localizeWithPath } from 'vscode/vscode/vs/nls';
2
+ import { localize2, localize } from 'vscode/vscode/vs/nls';
3
3
  import { GettingStartedInputSerializer, GettingStartedPage, inWelcomeContext } from './gettingStarted.js';
4
4
  import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
5
5
  import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
@@ -32,12 +32,11 @@ import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommon
32
32
  import './gettingStartedService._contribution.js';
33
33
  import './gettingStartedIcons.js';
34
34
 
35
- const _moduleId = "vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution";
36
35
  registerAction2(class extends Action2 {
37
36
  constructor() {
38
37
  super({
39
38
  id: 'workbench.action.openWalkthrough',
40
- title: ( localize2WithPath(_moduleId, 0, 'Welcome')),
39
+ title: ( localize2(2744, 'Welcome')),
41
40
  category: Categories.Help,
42
41
  f1: true,
43
42
  menu: {
@@ -46,7 +45,7 @@ registerAction2(class extends Action2 {
46
45
  order: 1,
47
46
  },
48
47
  metadata: {
49
- description: ( localize2WithPath(_moduleId, 1, 'Opens a Walkthrough to help you get started in VS Code.'))
48
+ description: ( localize2(2745, 'Opens a Walkthrough to help you get started in VS Code.'))
50
49
  }
51
50
  });
52
51
  }
@@ -114,15 +113,15 @@ registerAction2(class extends Action2 {
114
113
  }
115
114
  });
116
115
  ( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(GettingStartedInput.ID, GettingStartedInputSerializer);
117
- ( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localizeWithPath(_moduleId, 2, "Welcome"))), [
116
+ ( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(2746, "Welcome"))), [
118
117
  ( (new SyncDescriptor(GettingStartedInput)))
119
118
  ]);
120
- const category = ( localize2WithPath(_moduleId, 2, "Welcome"));
119
+ const category = ( localize2(2746, "Welcome"));
121
120
  registerAction2(class extends Action2 {
122
121
  constructor() {
123
122
  super({
124
123
  id: 'welcome.goBack',
125
- title: ( localize2WithPath(_moduleId, 3, 'Go Back')),
124
+ title: ( localize2(2747, 'Go Back')),
126
125
  category,
127
126
  keybinding: {
128
127
  weight: KeybindingWeight.EditorContrib,
@@ -158,7 +157,7 @@ registerAction2(class extends Action2 {
158
157
  constructor() {
159
158
  super({
160
159
  id: 'welcome.markStepComplete',
161
- title: ( localizeWithPath(_moduleId, 4, "Mark Step Complete")),
160
+ title: ( localize(2748, "Mark Step Complete")),
162
161
  category,
163
162
  });
164
163
  }
@@ -174,7 +173,7 @@ registerAction2(class extends Action2 {
174
173
  constructor() {
175
174
  super({
176
175
  id: 'welcome.markStepIncomplete',
177
- title: ( localizeWithPath(_moduleId, 5, "Mark Step Incomplete")),
176
+ title: ( localize(2749, "Mark Step Incomplete")),
178
177
  category,
179
178
  });
180
179
  }
@@ -190,7 +189,7 @@ registerAction2(class extends Action2 {
190
189
  constructor() {
191
190
  super({
192
191
  id: 'welcome.showAllWalkthroughs',
193
- title: ( localize2WithPath(_moduleId, 6, 'Open Walkthrough...')),
192
+ title: ( localize2(2750, 'Open Walkthrough...')),
194
193
  category,
195
194
  f1: true,
196
195
  });
@@ -218,7 +217,7 @@ registerAction2(class extends Action2 {
218
217
  quickPick.canSelectMany = false;
219
218
  quickPick.matchOnDescription = true;
220
219
  quickPick.matchOnDetail = true;
221
- quickPick.placeholder = ( localizeWithPath(_moduleId, 7, 'Select a walkthrough to open'));
220
+ quickPick.placeholder = ( localize(2751, 'Select a walkthrough to open'));
222
221
  quickPick.items = await this.getQuickPickItems(contextService, gettingStartedService);
223
222
  quickPick.busy = true;
224
223
  quickPick.onDidAccept(() => {
@@ -237,9 +236,8 @@ registerAction2(class extends Action2 {
237
236
  quickPick.busy = false;
238
237
  }
239
238
  });
240
- const WorkspacePlatform = ( (new RawContextKey('workspacePlatform', undefined, ( localizeWithPath(
241
- _moduleId,
242
- 8,
239
+ const WorkspacePlatform = ( (new RawContextKey('workspacePlatform', undefined, ( localize(
240
+ 2752,
243
241
  "The platform of the current workspace, which in remote or serverless contexts may be different from the platform of the UI"
244
242
  )))));
245
243
  let WorkspacePlatformContribution = class WorkspacePlatformContribution {
@@ -290,9 +288,8 @@ configurationRegistry.registerConfiguration({
290
288
  scope: ConfigurationScope.MACHINE,
291
289
  type: 'boolean',
292
290
  default: true,
293
- description: ( localizeWithPath(
294
- _moduleId,
295
- 9,
291
+ description: ( localize(
292
+ 2753,
296
293
  "When enabled, an extension's walkthrough will open upon install of the extension."
297
294
  ))
298
295
  },
@@ -301,29 +298,25 @@ configurationRegistry.registerConfiguration({
301
298
  'type': 'string',
302
299
  'enum': ['none', 'welcomePage', 'readme', 'newUntitledFile', 'welcomePageInEmptyWorkbench', 'terminal'],
303
300
  'enumDescriptions': [
304
- ( localizeWithPath(_moduleId, 10, "Start without an editor.")),
305
- ( localizeWithPath(
306
- _moduleId,
307
- 11,
301
+ ( localize(2754, "Start without an editor.")),
302
+ ( localize(
303
+ 2755,
308
304
  "Open the Welcome page, with content to aid in getting started with VS Code and extensions."
309
305
  )),
310
- ( localizeWithPath(
311
- _moduleId,
312
- 12,
306
+ ( localize(
307
+ 2756,
313
308
  "Open the README when opening a folder that contains one, fallback to 'welcomePage' otherwise. Note: This is only observed as a global configuration, it will be ignored if set in a workspace or folder configuration."
314
309
  )),
315
- ( localizeWithPath(
316
- _moduleId,
317
- 13,
310
+ ( localize(
311
+ 2757,
318
312
  "Open a new untitled text file (only applies when opening an empty window)."
319
313
  )),
320
- ( localizeWithPath(_moduleId, 14, "Open the Welcome page when opening an empty workbench.")),
321
- ( localizeWithPath(_moduleId, 15, "Open a new terminal in the editor area.")),
314
+ ( localize(2758, "Open the Welcome page when opening an empty workbench.")),
315
+ ( localize(2759, "Open a new terminal in the editor area.")),
322
316
  ],
323
317
  'default': 'welcomePage',
324
- 'description': ( localizeWithPath(
325
- _moduleId,
326
- 16,
318
+ 'description': ( localize(
319
+ 2760,
327
320
  "Controls which editor is shown at startup, if none are restored from the previous session."
328
321
  ))
329
322
  },
@@ -331,8 +324,8 @@ configurationRegistry.registerConfiguration({
331
324
  scope: ConfigurationScope.APPLICATION,
332
325
  type: 'boolean',
333
326
  default: false,
334
- deprecationMessage: ( localizeWithPath(_moduleId, 17, "Deprecated, use the global `workbench.reduceMotion`.")),
335
- description: ( localizeWithPath(_moduleId, 18, "When enabled, reduce motion in welcome page."))
327
+ deprecationMessage: ( localize(2761, "Deprecated, use the global `workbench.reduceMotion`.")),
328
+ description: ( localize(2762, "When enabled, reduce motion in welcome page."))
336
329
  }
337
330
  }
338
331
  });
@@ -23,7 +23,7 @@ import { generateUuid } from 'vscode/vscode/vs/base/common/uuid';
23
23
  import './media/gettingStarted.css.js';
24
24
  import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
25
25
  import { MarkdownRenderer } from 'vscode/vscode/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer';
26
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
26
+ import { localize } from 'vscode/vscode/vs/nls';
27
27
  import { IAccessibilityService } from 'vscode/vscode/vs/platform/accessibility/common/accessibility.service';
28
28
  import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
29
29
  import { ConfigurationTarget } from 'vscode/vscode/vs/platform/configuration/common/configuration';
@@ -71,7 +71,6 @@ import { IWorkbenchThemeService } from 'vscode/vscode/vs/workbench/services/them
71
71
  import { GettingStartedIndexList } from './gettingStartedList.js';
72
72
 
73
73
  var GettingStartedPage_1;
74
- const _moduleId = "vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted";
75
74
  const SLIDE_TRANSITION_TIME_MS = 250;
76
75
  const configurationKey = 'workbench.startupEditor';
77
76
  const allWalkthroughsHiddenContext = ( (new RawContextKey('allWalkthroughsHidden', false)));
@@ -125,7 +124,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
125
124
  this.container = $('.gettingStartedContainer', {
126
125
  role: 'document',
127
126
  tabindex: 0,
128
- 'aria-label': ( localizeWithPath(_moduleId, 0, "Overview of how to get up to speed with your editor."))
127
+ 'aria-label': ( localize(7508, "Overview of how to get up to speed with your editor."))
129
128
  });
130
129
  this.stepMediaComponent = $('.getting-started-media');
131
130
  this.stepMediaComponent.id = generateUuid();
@@ -402,7 +401,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
402
401
  label: x.title,
403
402
  detail: x.description,
404
403
  description: x.source,
405
- })))), { canPickMany: false, matchOnDescription: true, matchOnDetail: true, title: ( localizeWithPath(_moduleId, 1, "Open Walkthrough...")) });
404
+ })))), { canPickMany: false, matchOnDescription: true, matchOnDetail: true, title: ( localize(7509, "Open Walkthrough...")) });
406
405
  if (selection) {
407
406
  this.runDispatchCommand('selectCategory', selection.id);
408
407
  }
@@ -626,7 +625,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
626
625
  this.categoriesPageScrollbar.dispose();
627
626
  }
628
627
  this.categoriesSlide = $('.gettingStartedSlideCategories.gettingStartedSlide');
629
- const prevButton = $('button.prev-button.button-link', { 'x-dispatch': 'scrollPrev' }, $('span.scroll-button.codicon.codicon-chevron-left'), $('span.moreText', {}, ( localizeWithPath(_moduleId, 2, "Welcome"))));
628
+ const prevButton = $('button.prev-button.button-link', { 'x-dispatch': 'scrollPrev' }, $('span.scroll-button.codicon.codicon-chevron-left'), $('span.moreText', {}, ( localize(7510, "Welcome"))));
630
629
  this.stepsSlide = $('.gettingStartedSlideDetails.gettingStartedSlide', {}, prevButton);
631
630
  this.stepsContent = $('.gettingStartedDetailsContent', {});
632
631
  this.detailsPageScrollbar = this._register(( (new DomScrollableElement(this.stepsContent, { className: 'full-height-scrollable' }))));
@@ -647,11 +646,11 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
647
646
  icon: Codicon.check,
648
647
  actionClassName: 'getting-started-checkbox',
649
648
  isChecked: this.configurationService.getValue(configurationKey) === 'welcomePage',
650
- title: ( localizeWithPath(_moduleId, 3, "When checked, this page will be shown on startup.")),
649
+ title: ( localize(7511, "When checked, this page will be shown on startup.")),
651
650
  ...defaultToggleStyles
652
651
  })));
653
652
  showOnStartupCheckbox.domNode.id = 'showOnStartup';
654
- const showOnStartupLabel = $('label.caption', { for: 'showOnStartup' }, ( localizeWithPath(_moduleId, 4, "Show welcome page on startup")));
653
+ const showOnStartupLabel = $('label.caption', { for: 'showOnStartup' }, ( localize(7512, "Show welcome page on startup")));
655
654
  const onShowOnStartupChanged = () => {
656
655
  if (showOnStartupCheckbox.checked) {
657
656
  this.telemetryService.publicLog2('gettingStarted.ActionExecuted', { command: 'showOnStartupChecked', argument: undefined, walkthroughId: this.currentWalkthrough?.id });
@@ -670,7 +669,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
670
669
  showOnStartupCheckbox.checked = !showOnStartupCheckbox.checked;
671
670
  onShowOnStartupChanged();
672
671
  }));
673
- const header = $('.header', {}, $('h1.product-name.caption', {}, this.productService.nameLong), $('p.subtitle.description', {}, ( localizeWithPath(_moduleId, 5, "Editing evolved"))));
672
+ const header = $('.header', {}, $('h1.product-name.caption', {}, this.productService.nameLong), $('p.subtitle.description', {}, ( localize(7513, "Editing evolved"))));
674
673
  const leftColumn = $('.categories-column.categories-column-left', {});
675
674
  const rightColumn = $('.categories-column.categories-column-right', {});
676
675
  const startList = this.buildStartList();
@@ -764,7 +763,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
764
763
  const link = $('button.button-link');
765
764
  link.innerText = name;
766
765
  link.title = fullPath;
767
- link.setAttribute('aria-label', ( localizeWithPath(_moduleId, 6, "Open folder {0} with path {1}", name, parentPath)));
766
+ link.setAttribute('aria-label', ( localize(7514, "Open folder {0} with path {1}", name, parentPath)));
768
767
  link.addEventListener('click', e => {
769
768
  this.telemetryService.publicLog2('gettingStarted.ActionExecuted', { command: 'openRecent', argument: undefined, walkthroughId: this.currentWalkthrough?.id });
770
769
  this.hostService.openWindow([windowOpenable], {
@@ -787,19 +786,18 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
787
786
  this.recentlyOpenedList.dispose();
788
787
  }
789
788
  const recentlyOpenedList = this.recentlyOpenedList = ( (new GettingStartedIndexList({
790
- title: ( localizeWithPath(_moduleId, 7, "Recent")),
789
+ title: ( localize(7515, "Recent")),
791
790
  klass: 'recently-opened',
792
791
  limit: 5,
793
- empty: $('.empty-recent', {}, ( localizeWithPath(_moduleId, 8, "You have no recent folders,")), $('button.button-link', { 'x-dispatch': 'openFolder' }, ( localizeWithPath(_moduleId, 9, "open a folder"))), ( localizeWithPath(_moduleId, 10, "to start."))),
792
+ empty: $('.empty-recent', {}, ( localize(7516, "You have no recent folders,")), $('button.button-link', { 'x-dispatch': 'openFolder' }, ( localize(7517, "open a folder"))), ( localize(7518, "to start."))),
794
793
  more: $('.more', {}, $('button.button-link', {
795
794
  'x-dispatch': 'showMoreRecents',
796
- title: ( localizeWithPath(
797
- _moduleId,
798
- 11,
795
+ title: ( localize(
796
+ 7519,
799
797
  "Show All Recent Folders {0}",
800
798
  this.getKeybindingLabel(OpenRecentAction.ID)
801
799
  ))
802
- }, ( localizeWithPath(_moduleId, 12, "More...")))),
800
+ }, ( localize(7520, "More...")))),
803
801
  renderElement: renderRecent,
804
802
  contextService: this.contextService
805
803
  })));
@@ -827,7 +825,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
827
825
  this.startList.dispose();
828
826
  }
829
827
  const startList = this.startList = ( (new GettingStartedIndexList({
830
- title: ( localizeWithPath(_moduleId, 13, "Start")),
828
+ title: ( localize(7521, "Start")),
831
829
  klass: 'start-container',
832
830
  limit: 10,
833
831
  renderElement: renderStartEntry,
@@ -843,10 +841,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
843
841
  const renderNewBadge = (category.newItems || category.newEntry) && !category.isFeatured;
844
842
  const newBadge = $('.new-badge', {});
845
843
  if (category.newEntry) {
846
- reset(newBadge, $('.new-category', {}, ( localizeWithPath(_moduleId, 14, "New"))));
844
+ reset(newBadge, $('.new-category', {}, ( localize(7522, "New"))));
847
845
  }
848
846
  else if (category.newItems) {
849
- reset(newBadge, $('.new-items', {}, ( localizeWithPath(_moduleId, 15, "Updated"))));
847
+ reset(newBadge, $('.new-items', {}, ( localize(7523, "Updated"))));
850
848
  }
851
849
  const featuredBadge = $('.featured-badge', {});
852
850
  const descriptionContent = $('.description-content', {});
@@ -862,9 +860,9 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
862
860
  }, featuredBadge, $('.main-content', {}, this.iconWidgetFor(category), titleContent, renderNewBadge ? newBadge : $('.no-badge'), $('a.codicon.codicon-close.hide-category-button', {
863
861
  'tabindex': 0,
864
862
  'x-dispatch': 'hideCategory:' + category.id,
865
- 'title': ( localizeWithPath(_moduleId, 16, "Hide")),
863
+ 'title': ( localize(7524, "Hide")),
866
864
  'role': 'button',
867
- 'aria-label': ( localizeWithPath(_moduleId, 17, "Hide")),
865
+ 'aria-label': ( localize(7525, "Hide")),
868
866
  })), descriptionContent, $('.category-progress', { 'x-data-category-id': category.id, }, $('.progress-bar-outer', { 'role': 'progressbar' }, $('.progress-bar-inner'))));
869
867
  };
870
868
  if (this.gettingStartedList) {
@@ -890,10 +888,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
890
888
  return rank;
891
889
  };
892
890
  const gettingStartedList = this.gettingStartedList = ( (new GettingStartedIndexList({
893
- title: ( localizeWithPath(_moduleId, 18, "Walkthroughs")),
891
+ title: ( localize(7526, "Walkthroughs")),
894
892
  klass: 'getting-started',
895
893
  limit: 5,
896
- footer: $('span.button-link.see-all-walkthroughs', { 'x-dispatch': 'seeAllWalkthroughs', 'tabindex': 0 }, ( localizeWithPath(_moduleId, 12, "More..."))),
894
+ footer: $('span.button-link.see-all-walkthroughs', { 'x-dispatch': 'seeAllWalkthroughs', 'tabindex': 0 }, ( localize(7526, "More..."))),
897
895
  renderElement: renderGetttingStaredWalkthrough,
898
896
  rankElement: rankWalkthrough,
899
897
  contextService: this.contextService,
@@ -946,16 +944,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
946
944
  bar.style.width = `${progress}%`;
947
945
  element.parentElement.classList.toggle('no-progress', stats.stepsComplete === 0);
948
946
  if (stats.stepsTotal === stats.stepsComplete) {
949
- bar.title = ( localizeWithPath(_moduleId, 19, "All {0} steps complete!", stats.stepsComplete));
947
+ bar.title = ( localize(7527, "All {0} steps complete!", stats.stepsComplete));
950
948
  }
951
949
  else {
952
- bar.title = ( localizeWithPath(
953
- _moduleId,
954
- 20,
955
- "{0} of {1} steps complete",
956
- stats.stepsComplete,
957
- stats.stepsTotal
958
- ));
950
+ bar.title = ( localize(7528, "{0} of {1} steps complete", stats.stepsComplete, stats.stepsTotal));
959
951
  }
960
952
  });
961
953
  }
@@ -1077,7 +1069,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1077
1069
  if (isCommand) {
1078
1070
  const keybindingLabel = this.getKeybindingLabel(command);
1079
1071
  if (keybindingLabel) {
1080
- container.appendChild($('span.shortcut-message', {}, ( localizeWithPath(_moduleId, 21, 'Tip: Use keyboard shortcut ')), $('span.keybinding', {}, keybindingLabel)));
1072
+ container.appendChild($('span.shortcut-message', {}, ( localize(7529, 'Tip: Use keyboard shortcut ')), $('span.keybinding', {}, keybindingLabel)));
1081
1073
  }
1082
1074
  }
1083
1075
  this.detailsPageDisposables.add(button);
@@ -1167,7 +1159,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1167
1159
  reset(stepTitle, ...renderLabelWithIcons(step.title));
1168
1160
  const stepDescription = $('.step-container', {}, stepTitle, container);
1169
1161
  if (step.media.type === 'image') {
1170
- stepDescription.appendChild($('.image-description', { 'aria-label': ( localizeWithPath(_moduleId, 22, "Image showing {0}", step.media.altText)) }));
1162
+ stepDescription.appendChild($('.image-description', { 'aria-label': ( localize(7530, "Image showing {0}", step.media.altText)) }));
1171
1163
  }
1172
1164
  return $('button.getting-started-step', {
1173
1165
  'x-dispatch': 'selectTask:' + step.id,
@@ -1187,8 +1179,8 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1187
1179
  }
1188
1180
  }));
1189
1181
  const showNextCategory = this.gettingStartedCategories.find(_category => _category.id === category.next);
1190
- const stepsContainer = $('.getting-started-detail-container', { 'role': 'list' }, stepListContainer, $('.done-next-container', {}, $('button.button-link.all-done', { 'x-dispatch': 'allDone' }, $('span.codicon.codicon-check-all'), ( localizeWithPath(_moduleId, 23, "Mark Done"))), ...(showNextCategory
1191
- ? [$('button.button-link.next', { 'x-dispatch': 'nextSection' }, ( localizeWithPath(_moduleId, 24, "Next Section")), $('span.codicon.codicon-arrow-right'))]
1182
+ const stepsContainer = $('.getting-started-detail-container', { 'role': 'list' }, stepListContainer, $('.done-next-container', {}, $('button.button-link.all-done', { 'x-dispatch': 'allDone' }, $('span.codicon.codicon-check-all'), ( localize(7531, "Mark Done"))), ...(showNextCategory
1183
+ ? [$('button.button-link.next', { 'x-dispatch': 'nextSection' }, ( localize(7532, "Next Section")), $('span.codicon.codicon-arrow-right'))]
1192
1184
  : [])));
1193
1185
  this.detailsScrollbar = this._register(( (new DomScrollableElement(stepsContainer, { className: 'steps-container' }))));
1194
1186
  const stepListComponent = this.detailsScrollbar.getDomNode();
@@ -1205,13 +1197,12 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1205
1197
  }
1206
1198
  buildTelemetryFooter(parent) {
1207
1199
  const mdRenderer = this.instantiationService.createInstance(MarkdownRenderer, {});
1208
- const privacyStatementCopy = ( localizeWithPath(_moduleId, 25, "privacy statement"));
1200
+ const privacyStatementCopy = ( localize(7533, "privacy statement"));
1209
1201
  const privacyStatementButton = `[${privacyStatementCopy}](command:workbench.action.openPrivacyStatementUrl)`;
1210
- const optOutCopy = ( localizeWithPath(_moduleId, 26, "opt out"));
1202
+ const optOutCopy = ( localize(7534, "opt out"));
1211
1203
  const optOutButton = `[${optOutCopy}](command:settings.filterByTelemetry)`;
1212
- const text = ( localizeWithPath(
1213
- _moduleId,
1214
- 27,
1204
+ const text = ( localize(
1205
+ 7535,
1215
1206
  "{0} collects usage data. Read our {1} and learn how to {2}.",
1216
1207
  this.productService.nameShort,
1217
1208
  privacyStatementButton,
@@ -9,13 +9,12 @@ import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
9
9
  import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
10
10
  import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
11
11
  import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
12
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
12
+ import { localize } from 'vscode/vscode/vs/nls';
13
13
 
14
- const _moduleId = "vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors";
15
- registerColor('welcomePage.background', null, ( localizeWithPath(_moduleId, 0, 'Background color for the Welcome page.')));
16
- registerColor('welcomePage.tileBackground', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: '#000', hcLight: editorWidgetBackground }, ( localizeWithPath(_moduleId, 1, 'Background color for the tiles on the Welcome page.')));
17
- registerColor('welcomePage.tileHoverBackground', { dark: ( (lighten(editorWidgetBackground, .2))), light: ( (darken(editorWidgetBackground, .1))), hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 2, 'Hover background color for the tiles on the Welcome.')));
18
- registerColor('welcomePage.tileBorder', { dark: '#ffffff1a', light: '#0000001a', hcDark: contrastBorder, hcLight: contrastBorder }, ( localizeWithPath(_moduleId, 3, 'Border color for the tiles on the Welcome page.')));
19
- registerColor('welcomePage.progress.background', inputBackground, ( localizeWithPath(_moduleId, 4, 'Foreground color for the Welcome page progress bars.')));
20
- registerColor('welcomePage.progress.foreground', textLinkForeground, ( localizeWithPath(_moduleId, 5, 'Background color for the Welcome page progress bars.')));
21
- registerColor('walkthrough.stepTitle.foreground', { light: '#000000', dark: '#ffffff', hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 6, 'Foreground color of the heading of each walkthrough step')));
14
+ registerColor('welcomePage.background', null, ( localize(10595, 'Background color for the Welcome page.')));
15
+ registerColor('welcomePage.tileBackground', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: '#000', hcLight: editorWidgetBackground }, ( localize(10596, 'Background color for the tiles on the Welcome page.')));
16
+ registerColor('welcomePage.tileHoverBackground', { dark: ( (lighten(editorWidgetBackground, .2))), light: ( (darken(editorWidgetBackground, .1))), hcDark: null, hcLight: null }, ( localize(10597, 'Hover background color for the tiles on the Welcome.')));
17
+ registerColor('welcomePage.tileBorder', { dark: '#ffffff1a', light: '#0000001a', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(10598, 'Border color for the tiles on the Welcome page.')));
18
+ registerColor('welcomePage.progress.background', inputBackground, ( localize(10599, 'Foreground color for the Welcome page progress bars.')));
19
+ registerColor('welcomePage.progress.foreground', textLinkForeground, ( localize(10600, 'Background color for the Welcome page progress bars.')));
20
+ registerColor('walkthrough.stepTitle.foreground', { light: '#000000', dark: '#ffffff', hcDark: null, hcLight: null }, ( localize(10601, 'Foreground color of the heading of each walkthrough step')));