@codingame/monaco-vscode-accessibility-service-override 13.1.6 → 14.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.
Binary file
Binary file
package/assets/save.mp3 CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-accessibility-service-override",
3
- "version": "13.1.6",
3
+ "version": "14.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - accessibility service-override",
6
6
  "keywords": [],
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "13.1.6",
19
- "@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common": "13.1.6",
18
+ "@codingame/monaco-vscode-api": "14.0.0",
19
+ "@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common": "14.0.0",
20
20
  "marked": "14.0.0"
21
21
  },
22
22
  "main": "index.js",
@@ -4,16 +4,18 @@ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/pl
4
4
  import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service";
5
5
  import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
6
6
  import { IStatusbarService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar.service";
7
+ import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
7
8
  export declare class AccessibilityStatus extends Disposable implements IWorkbenchContribution {
8
9
  private readonly configurationService;
9
10
  private readonly notificationService;
10
11
  private readonly accessibilityService;
11
12
  private readonly statusbarService;
13
+ private readonly openerService;
12
14
  static readonly ID = "workbench.contrib.accessibilityStatus";
13
15
  private screenReaderNotification;
14
16
  private promptedScreenReader;
15
17
  private readonly screenReaderModeElement;
16
- constructor(configurationService: IConfigurationService, notificationService: INotificationService, accessibilityService: IAccessibilityService, statusbarService: IStatusbarService);
18
+ constructor(configurationService: IConfigurationService, notificationService: INotificationService, accessibilityService: IAccessibilityService, statusbarService: IStatusbarService, openerService: IOpenerService);
17
19
  private registerListeners;
18
20
  private showScreenReaderNotification;
19
21
  private updateScreenReaderModeElement;
@@ -12,15 +12,17 @@ import { NotificationPriority } from '@codingame/monaco-vscode-api/vscode/vs/pla
12
12
  import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
13
13
  import { StatusbarAlignment } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar';
14
14
  import { IStatusbarService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar.service';
15
+ import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
15
16
 
16
17
  let AccessibilityStatus = class AccessibilityStatus extends Disposable {
17
18
  static { this.ID = 'workbench.contrib.accessibilityStatus'; }
18
- constructor(configurationService, notificationService, accessibilityService, statusbarService) {
19
+ constructor(configurationService, notificationService, accessibilityService, statusbarService, openerService) {
19
20
  super();
20
21
  this.configurationService = configurationService;
21
22
  this.notificationService = notificationService;
22
23
  this.accessibilityService = accessibilityService;
23
24
  this.statusbarService = statusbarService;
25
+ this.openerService = openerService;
24
26
  this.screenReaderNotification = null;
25
27
  this.promptedScreenReader = false;
26
28
  this.screenReaderModeElement = this._register(( new MutableDisposable()));
@@ -37,16 +39,26 @@ let AccessibilityStatus = class AccessibilityStatus extends Disposable {
37
39
  }));
38
40
  }
39
41
  showScreenReaderNotification() {
40
- this.screenReaderNotification = this.notificationService.prompt(Severity.Info, ( localize(4023, "Are you using a screen reader to operate VS Code?")), [{
41
- label: ( localize(4024, "Yes")),
42
+ this.screenReaderNotification = this.notificationService.prompt(Severity.Info, ( localize(
43
+ 4070,
44
+ "Screen reader usage detected. Do you want to enable {0} to optimize the editor for screen reader usage?",
45
+ 'editor.accessibilitySupport'
46
+ )), [{
47
+ label: ( localize(4071, "Yes")),
42
48
  run: () => {
43
49
  this.configurationService.updateValue('editor.accessibilitySupport', 'on', ConfigurationTarget.USER);
44
50
  }
45
51
  }, {
46
- label: ( localize(4025, "No")),
52
+ label: ( localize(4072, "No")),
47
53
  run: () => {
48
54
  this.configurationService.updateValue('editor.accessibilitySupport', 'off', ConfigurationTarget.USER);
49
55
  }
56
+ },
57
+ {
58
+ label: ( localize(4073, "Learn More")),
59
+ run: () => {
60
+ this.openerService.open('https://code.visualstudio.com/docs/editor/accessibility#_screen-readers');
61
+ }
50
62
  }], {
51
63
  sticky: true,
52
64
  priority: NotificationPriority.URGENT
@@ -56,9 +68,9 @@ let AccessibilityStatus = class AccessibilityStatus extends Disposable {
56
68
  updateScreenReaderModeElement(visible) {
57
69
  if (visible) {
58
70
  if (!this.screenReaderModeElement.value) {
59
- const text = ( localize(4026, "Screen Reader Optimized"));
71
+ const text = ( localize(4074, "Screen Reader Optimized"));
60
72
  this.screenReaderModeElement.value = this.statusbarService.addEntry({
61
- name: ( localize(4027, "Screen Reader Mode")),
73
+ name: ( localize(4075, "Screen Reader Mode")),
62
74
  text,
63
75
  ariaLabel: text,
64
76
  command: 'showEditorScreenReaderNotification',
@@ -92,7 +104,8 @@ AccessibilityStatus = ( __decorate([
92
104
  ( __param(0, IConfigurationService)),
93
105
  ( __param(1, INotificationService)),
94
106
  ( __param(2, IAccessibilityService)),
95
- ( __param(3, IStatusbarService))
107
+ ( __param(3, IStatusbarService)),
108
+ ( __param(4, IOpenerService))
96
109
  ], AccessibilityStatus));
97
110
 
98
111
  export { AccessibilityStatus };
@@ -52,7 +52,7 @@ export declare class AccessibleView extends Disposable implements ITextModelCont
52
52
  private _hasUnassignedKeybindings;
53
53
  private _hasAssignedKeybindings;
54
54
  private _codeBlocks?;
55
- private _inQuickPick;
55
+ private _isInQuickPick;
56
56
  get editorWidget(): CodeEditorWidget;
57
57
  private _container;
58
58
  private _title;
@@ -68,7 +68,7 @@ let AccessibleView = class AccessibleView extends Disposable {
68
68
  this._storageService = _storageService;
69
69
  this.textModelResolverService = textModelResolverService;
70
70
  this._quickInputService = _quickInputService;
71
- this._inQuickPick = false;
71
+ this._isInQuickPick = false;
72
72
  this._accessiblityHelpIsShown = accessibilityHelpIsShown.bindTo(this._contextKeyService);
73
73
  this._accessibleViewIsShown = accessibleViewIsShown.bindTo(this._contextKeyService);
74
74
  this._accessibleViewSupportsNavigation = accessibleViewSupportsNavigation.bindTo(this._contextKeyService);
@@ -294,6 +294,7 @@ let AccessibleView = class AccessibleView extends Disposable {
294
294
  if (!this._currentProvider) {
295
295
  return;
296
296
  }
297
+ this._isInQuickPick = true;
297
298
  this._instantiationService.createInstance(AccessibleViewSymbolQuickPick, this).show(this._currentProvider);
298
299
  }
299
300
  calculateCodeBlocks(markdown) {
@@ -327,11 +328,11 @@ let AccessibleView = class AccessibleView extends Disposable {
327
328
  this._accessibleViewContainsCodeBlocks.set(this._codeBlocks.length > 0);
328
329
  }
329
330
  getSymbols() {
330
- const provider = this._currentProvider instanceof AccessibleContentProvider ? this._currentProvider : undefined;
331
+ const provider = this._currentProvider ? this._currentProvider : undefined;
331
332
  if (!this._currentContent || !provider) {
332
333
  return;
333
334
  }
334
- const symbols = provider.getSymbols?.() || [];
335
+ const symbols = 'getSymbols' in provider ? provider.getSymbols?.() || [] : [];
335
336
  if (symbols?.length) {
336
337
  return symbols;
337
338
  }
@@ -352,7 +353,7 @@ let AccessibleView = class AccessibleView extends Disposable {
352
353
  this._openerService.open(( URI.parse(this._currentProvider.options.readMoreUrl)));
353
354
  }
354
355
  configureKeybindings(unassigned) {
355
- this._inQuickPick = true;
356
+ this._isInQuickPick = true;
356
357
  const provider = this._updateLastProvider();
357
358
  const items = unassigned ? provider?.options?.configureKeybindingItems : provider?.options?.configuredKeybindingItems;
358
359
  if (!items) {
@@ -361,8 +362,8 @@ let AccessibleView = class AccessibleView extends Disposable {
361
362
  const disposables = this._register(( new DisposableStore()));
362
363
  const quickPick = disposables.add(this._quickInputService.createQuickPick());
363
364
  quickPick.items = items;
364
- quickPick.title = ( localize(4028, 'Configure keybindings'));
365
- quickPick.placeholder = ( localize(4029, 'Select a command ID to configure a keybinding for it'));
365
+ quickPick.title = ( localize(4076, 'Configure keybindings'));
366
+ quickPick.placeholder = ( localize(4077, 'Select a command ID to configure a keybinding for it'));
366
367
  quickPick.show();
367
368
  disposables.add(quickPick.onDidAccept(async () => {
368
369
  const item = quickPick.selectedItems[0];
@@ -376,7 +377,7 @@ let AccessibleView = class AccessibleView extends Disposable {
376
377
  this.show(provider);
377
378
  }
378
379
  disposables.dispose();
379
- this._inQuickPick = false;
380
+ this._isInQuickPick = false;
380
381
  }));
381
382
  }
382
383
  _convertTokensToSymbols(tokens, symbols) {
@@ -402,7 +403,7 @@ let AccessibleView = class AccessibleView extends Disposable {
402
403
  }
403
404
  }
404
405
  if (label) {
405
- symbols.push({ markdownToParse: label, label: ( localize(4030, "({0}) {1}", token.type, label)), ariaLabel: ( localize(4031, "({0}) {1}", token.type, label)), firstListItem });
406
+ symbols.push({ markdownToParse: label, label: ( localize(4078, "({0}) {1}", token.type, label)), ariaLabel: ( localize(4079, "({0}) {1}", token.type, label)), firstListItem });
406
407
  firstListItem = undefined;
407
408
  }
408
409
  }
@@ -425,6 +426,7 @@ let AccessibleView = class AccessibleView extends Disposable {
425
426
  if (lineNumber === undefined) {
426
427
  return;
427
428
  }
429
+ this._isInQuickPick = false;
428
430
  this.show(provider, undefined, undefined, { lineNumber, column: 1 });
429
431
  this._updateContextKeys(provider, true);
430
432
  }
@@ -434,7 +436,7 @@ let AccessibleView = class AccessibleView extends Disposable {
434
436
  }
435
437
  this._configurationService.updateValue(this._currentProvider?.verbositySettingKey, false);
436
438
  alert(( localize(
437
- 4032,
439
+ 4080,
438
440
  '{0} accessibility verbosity is now disabled',
439
441
  this._currentProvider.verbositySettingKey
440
442
  )));
@@ -513,17 +515,17 @@ let AccessibleView = class AccessibleView extends Disposable {
513
515
  const hasActions = this._accessibleViewSupportsNavigation.get() || this._accessibleViewVerbosityEnabled.get() || this._accessibleViewGoToSymbolSupported.get() || provider.actions?.length;
514
516
  if (verbose && !showAccessibleViewHelp && hasActions) {
515
517
  actionsHint = provider.options.position ? ( localize(
516
- 4033,
518
+ 4081,
517
519
  'Explore actions such as disabling this hint (Shift+Tab), use Escape to exit this dialog.'
518
- )) : ( localize(4034, 'Explore actions such as disabling this hint (Shift+Tab).'));
520
+ )) : ( localize(4082, 'Explore actions such as disabling this hint (Shift+Tab).'));
519
521
  }
520
- let ariaLabel = provider.options.type === AccessibleViewType.Help ? ( localize(4035, "Accessibility Help")) : ( localize(4036, "Accessible View"));
522
+ let ariaLabel = provider.options.type === AccessibleViewType.Help ? ( localize(4083, "Accessibility Help")) : ( localize(4084, "Accessible View"));
521
523
  this._title.textContent = ariaLabel;
522
524
  if (actionsHint && provider.options.type === AccessibleViewType.View) {
523
- ariaLabel = ( localize(4037, "Accessible View, {0}", actionsHint));
525
+ ariaLabel = ( localize(4085, "Accessible View, {0}", actionsHint));
524
526
  }
525
527
  else if (actionsHint) {
526
- ariaLabel = ( localize(4038, "Accessibility Help, {0}", actionsHint));
528
+ ariaLabel = ( localize(4086, "Accessibility Help, {0}", actionsHint));
527
529
  }
528
530
  if (isWindows && widgetIsFocused) {
529
531
  ariaLabel = '';
@@ -545,11 +547,14 @@ let AccessibleView = class AccessibleView extends Disposable {
545
547
  });
546
548
  this._updateToolbar(this._currentProvider.actions, provider.options.type);
547
549
  const hide = (e) => {
548
- if (!this._inQuickPick) {
550
+ if (!this._isInQuickPick) {
549
551
  provider.onClose();
550
552
  }
551
553
  e?.stopPropagation();
552
554
  this._contextViewService.hideContextView();
555
+ if (this._isInQuickPick) {
556
+ return;
557
+ }
553
558
  this._updateContextKeys(provider, false);
554
559
  this._lastProvider = undefined;
555
560
  this._currentContent = undefined;
@@ -591,7 +596,7 @@ let AccessibleView = class AccessibleView extends Disposable {
591
596
  return disposableStore;
592
597
  }
593
598
  _updateToolbar(providedActions, type) {
594
- this._toolbar.setAriaLabel(type === AccessibleViewType.Help ? ( localize(4039, 'Accessibility Help')) : ( localize(4040, "Accessible View")));
599
+ this._toolbar.setAriaLabel(type === AccessibleViewType.Help ? ( localize(4087, 'Accessibility Help')) : ( localize(4088, "Accessible View")));
595
600
  const toolbarMenu = this._register(this._menuService.createMenu(MenuId.AccessibleView, this._contextKeyService));
596
601
  const menuActions = getFlatActionBarActions(toolbarMenu.getActions({}));
597
602
  if (providedActions) {
@@ -693,9 +698,9 @@ let AccessibleView = class AccessibleView extends Disposable {
693
698
  _accessibleViewHelpDialogContent(providerHasSymbols) {
694
699
  const navigationHint = this._navigationHint();
695
700
  const goToSymbolHint = this._goToSymbolHint(providerHasSymbols);
696
- const toolbarHint = ( localize(4041, "Navigate to the toolbar (Shift+Tab)."));
701
+ const toolbarHint = ( localize(4089, "Navigate to the toolbar (Shift+Tab)."));
697
702
  const chatHints = this._getChatHints();
698
- let hint = ( localize(4042, "In the accessible view, you can:\n"));
703
+ let hint = ( localize(4090, "In the accessible view, you can:\n"));
699
704
  if (navigationHint) {
700
705
  hint += ' - ' + navigationHint + '\n';
701
706
  }
@@ -715,24 +720,24 @@ let AccessibleView = class AccessibleView extends Disposable {
715
720
  return;
716
721
  }
717
722
  return [( localize(
718
- 4043,
723
+ 4091,
719
724
  " - Insert the code block at the cursor{0}.",
720
725
  '<keybinding:workbench.action.chat.insertCodeBlock>'
721
726
  )),
722
727
  ( localize(
723
- 4044,
728
+ 4092,
724
729
  " - Insert the code block into a new file{0}.",
725
730
  '<keybinding:workbench.action.chat.insertIntoNewFile>'
726
731
  )),
727
732
  ( localize(
728
- 4045,
733
+ 4093,
729
734
  " - Run the code block in the terminal{0}.\n",
730
735
  '<keybinding:workbench.action.chat.runInTerminal>'
731
736
  ))].join('\n');
732
737
  }
733
738
  _navigationHint() {
734
739
  return localize(
735
- 4046,
740
+ 4094,
736
741
  "Show the next item{0} or previous item{1}.",
737
742
  `<keybinding:${AccessibilityCommandId.ShowNext}`,
738
743
  `<keybinding:${AccessibilityCommandId.ShowPrevious}>`
@@ -741,7 +746,7 @@ let AccessibleView = class AccessibleView extends Disposable {
741
746
  _disableVerbosityHint(provider) {
742
747
  if (provider.options.type === AccessibleViewType.Help && this._verbosityEnabled()) {
743
748
  return localize(
744
- 4047,
749
+ 4095,
745
750
  "\nDisable accessibility verbosity for this feature{0}.",
746
751
  `<keybinding:${AccessibilityCommandId.DisableVerbosityHint}>`
747
752
  );
@@ -753,7 +758,7 @@ let AccessibleView = class AccessibleView extends Disposable {
753
758
  return;
754
759
  }
755
760
  return localize(
756
- 4048,
761
+ 4096,
757
762
  'Go to a symbol{0}.',
758
763
  `<keybinding:${AccessibilityCommandId.GoToSymbol}>`
759
764
  );
@@ -762,7 +767,7 @@ let AccessibleView = class AccessibleView extends Disposable {
762
767
  const configureKb = this._keybindingService.lookupKeybinding(AccessibilityCommandId.AccessibilityHelpConfigureKeybindings)?.getAriaLabel();
763
768
  const keybindingToConfigureQuickPick = configureKb ? '(' + configureKb + ')' : 'by assigning a keybinding to the command Accessibility Help Configure Unassigned Keybindings.';
764
769
  return localize(
765
- 4049,
770
+ 4097,
766
771
  '\nConfigure keybindings for commands that lack them {0}.',
767
772
  keybindingToConfigureQuickPick
768
773
  );
@@ -771,7 +776,7 @@ let AccessibleView = class AccessibleView extends Disposable {
771
776
  const configureKb = this._keybindingService.lookupKeybinding(AccessibilityCommandId.AccessibilityHelpConfigureAssignedKeybindings)?.getAriaLabel();
772
777
  const keybindingToConfigureQuickPick = configureKb ? '(' + configureKb + ')' : 'by assigning a keybinding to the command Accessibility Help Configure Assigned Keybindings.';
773
778
  return localize(
774
- 4050,
779
+ 4098,
775
780
  '\nConfigure keybindings for commands that already have assignments {0}.',
776
781
  keybindingToConfigureQuickPick
777
782
  );
@@ -793,11 +798,11 @@ let AccessibleView = class AccessibleView extends Disposable {
793
798
  return screenReaderModeHint;
794
799
  }
795
800
  _exitDialogHint(provider) {
796
- return this._verbosityEnabled() && !provider.options.position ? ( localize(4051, '\nExit this dialog (Escape).')) : '';
801
+ return this._verbosityEnabled() && !provider.options.position ? ( localize(4099, '\nExit this dialog (Escape).')) : '';
797
802
  }
798
803
  _readMoreHint(provider) {
799
804
  return provider.options.readMoreUrl ? ( localize(
800
- 4052,
805
+ 4100,
801
806
  "\nOpen a browser window with more information related to accessibility{0}.",
802
807
  `<keybinding:${AccessibilityCommandId.AccessibilityHelpOpenHelpLink}>`
803
808
  )) : '';
@@ -858,11 +863,11 @@ let AccessibleViewService = class AccessibleViewService extends Disposable {
858
863
  const keybinding = this._keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibleView)?.getAriaLabel();
859
864
  let hint = null;
860
865
  if (keybinding) {
861
- hint = ( localize(4053, "Inspect this in the accessible view with {0}", keybinding));
866
+ hint = ( localize(4101, "Inspect this in the accessible view with {0}", keybinding));
862
867
  }
863
868
  else {
864
869
  hint = ( localize(
865
- 4054,
870
+ 4102,
866
871
  "Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding."
867
872
  ));
868
873
  }
@@ -904,16 +909,25 @@ let AccessibleViewSymbolQuickPick = class AccessibleViewSymbolQuickPick {
904
909
  show(provider) {
905
910
  const disposables = ( new DisposableStore());
906
911
  const quickPick = disposables.add(this._quickInputService.createQuickPick());
907
- quickPick.placeholder = ( localize(4055, "Type to search symbols"));
908
- quickPick.title = ( localize(4056, "Go to Symbol Accessible View"));
912
+ quickPick.placeholder = ( localize(4103, "Type to search symbols"));
913
+ quickPick.title = ( localize(4104, "Go to Symbol Accessible View"));
914
+ const picks = [];
909
915
  const symbols = this._accessibleView.getSymbols();
910
916
  if (!symbols) {
911
917
  return;
912
918
  }
913
919
  for (const symbol of symbols) {
920
+ picks.push({
921
+ label: symbol.label,
922
+ ariaLabel: symbol.ariaLabel,
923
+ firstListItem: symbol.firstListItem,
924
+ lineNumber: symbol.lineNumber,
925
+ endLineNumber: symbol.endLineNumber,
926
+ markdownToParse: symbol.markdownToParse
927
+ });
914
928
  }
915
929
  quickPick.canSelectMany = false;
916
- quickPick.items = symbols;
930
+ quickPick.items = picks;
917
931
  quickPick.show();
918
932
  disposables.add(quickPick.onDidAccept(() => {
919
933
  this._accessibleView.showSymbol(provider, quickPick.selectedItems[0]);
@@ -1,6 +1,6 @@
1
1
  import { MarkdownString } from "@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent";
2
2
  import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
3
- import { IPickerQuickAccessItem } from "@codingame/monaco-vscode-219d9a5f-b446-507b-a188-1178a0867c75-common/vscode/vs/platform/quickinput/browser/pickerQuickAccess";
3
+ import { IPickerQuickAccessItem } from "@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common/vscode/vs/platform/quickinput/browser/pickerQuickAccess";
4
4
  export declare function resolveContentAndKeybindingItems(keybindingService: IKeybindingService, value?: string): {
5
5
  content: MarkdownString;
6
6
  configureKeybindingItems: IPickerQuickAccessItem[] | undefined;
@@ -16,11 +16,11 @@ class ShowSignalSoundHelp extends Action2 {
16
16
  constructor() {
17
17
  super({
18
18
  id: ShowSignalSoundHelp.ID,
19
- title: ( localize2(4069, "Help: List Signal Sounds")),
19
+ title: ( localize2(4117, "Help: List Signal Sounds")),
20
20
  f1: true,
21
21
  metadata: {
22
22
  description: ( localize(
23
- 4070,
23
+ 4118,
24
24
  "List all accessibility sounds, noises, or audio cues and configure their settings"
25
25
  ))
26
26
  }
@@ -38,7 +38,7 @@ class ShowSignalSoundHelp extends Action2 {
38
38
  signal,
39
39
  buttons: userGestureSignals.includes(signal) ? [{
40
40
  iconClass: ThemeIcon.asClassName(Codicon.settingsGear),
41
- tooltip: ( localize(4071, 'Configure Sound')),
41
+ tooltip: ( localize(4119, 'Configure Sound')),
42
42
  alwaysVisible: true
43
43
  }] : []
44
44
  }))).sort((a, b) => a.label.localeCompare(b.label));
@@ -74,7 +74,7 @@ class ShowSignalSoundHelp extends Action2 {
74
74
  accessibilitySignalService.playSound(qp.activeItems[0].signal.sound.getSound(true), true, AcknowledgeDocCommentsToken);
75
75
  }));
76
76
  disposables.add(qp.onDidHide(() => disposables.dispose()));
77
- qp.placeholder = ( localize(4072, 'Select a sound to play and configure'));
77
+ qp.placeholder = ( localize(4120, 'Select a sound to play and configure'));
78
78
  qp.canSelectMany = true;
79
79
  await qp.show();
80
80
  }
@@ -87,11 +87,11 @@ class ShowAccessibilityAnnouncementHelp extends Action2 {
87
87
  constructor() {
88
88
  super({
89
89
  id: ShowAccessibilityAnnouncementHelp.ID,
90
- title: ( localize2(4073, "Help: List Signal Announcements")),
90
+ title: ( localize2(4121, "Help: List Signal Announcements")),
91
91
  f1: true,
92
92
  metadata: {
93
93
  description: ( localize(
94
- 4074,
94
+ 4122,
95
95
  "List all accessibility announcements, alerts, braille messages, and configure their settings"
96
96
  ))
97
97
  }
@@ -109,7 +109,7 @@ class ShowAccessibilityAnnouncementHelp extends Action2 {
109
109
  signal,
110
110
  buttons: userGestureSignals.includes(signal) ? [{
111
111
  iconClass: ThemeIcon.asClassName(Codicon.settingsGear),
112
- tooltip: ( localize(4075, 'Configure Announcement')),
112
+ tooltip: ( localize(4123, 'Configure Announcement')),
113
113
  alwaysVisible: true,
114
114
  }] : []
115
115
  }))).sort((a, b) => a.label.localeCompare(b.label));
@@ -142,8 +142,8 @@ class ShowAccessibilityAnnouncementHelp extends Action2 {
142
142
  preferencesService.openUserSettings({ jsonEditor: true, revealSetting: { key: e.item.signal.settingsKey, edit: true } });
143
143
  }));
144
144
  disposables.add(qp.onDidHide(() => disposables.dispose()));
145
- qp.placeholder = screenReaderOptimized ? ( localize(4076, 'Select an announcement to configure')) : ( localize(
146
- 4077,
145
+ qp.placeholder = screenReaderOptimized ? ( localize(4124, 'Select an announcement to configure')) : ( localize(
146
+ 4125,
147
147
  'Screen reader is not active, announcements are disabled by default.'
148
148
  ));
149
149
  qp.canSelectMany = true;
@@ -36,7 +36,7 @@ let DiffEditorActiveAnnouncementContribution = class DiffEditorActiveAnnouncemen
36
36
  }
37
37
  this._onDidActiveEditorChangeListener = this._register(this._editorService.onDidActiveEditorChange(() => {
38
38
  if (isDiffEditor(this._editorService.activeTextEditorControl)) {
39
- this._accessibilityService.alert(( localize(4078, "Diff editor")));
39
+ this._accessibilityService.alert(( localize(4126, "Diff editor")));
40
40
  }
41
41
  }));
42
42
  }
@@ -15,10 +15,10 @@ class ToggleScreenReaderMode extends Action2 {
15
15
  constructor() {
16
16
  super({
17
17
  id: 'editor.action.toggleScreenReaderAccessibilityMode',
18
- title: ( localize2(4672, "Toggle Screen Reader Accessibility Mode")),
18
+ title: ( localize2(4803, "Toggle Screen Reader Accessibility Mode")),
19
19
  metadata: {
20
20
  description: ( localize2(
21
- 4673,
21
+ 4804,
22
22
  "Toggles an optimized mode for usage with screen readers, braille devices, and other assistive technologies."
23
23
  )),
24
24
  },