@codingame/monaco-vscode-accessibility-service-override 22.1.8 → 23.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-accessibility-service-override",
3
- "version": "22.1.8",
3
+ "version": "23.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": "22.1.8",
19
- "@codingame/monaco-vscode-e39a1c8f-7892-5d9b-9987-7b10b79e1a0a-common": "22.1.8",
18
+ "@codingame/monaco-vscode-262ed59d-4f76-57cd-9e9f-1877f26ae049-common": "23.0.0",
19
+ "@codingame/monaco-vscode-api": "23.0.0",
20
20
  "marked": "14.0.0"
21
21
  },
22
22
  "main": "index.js",
@@ -40,22 +40,22 @@ let AccessibilityStatus = class AccessibilityStatus extends Disposable {
40
40
  }
41
41
  showScreenReaderNotification() {
42
42
  this.screenReaderNotification = this.notificationService.prompt(Severity.Info, ( localize(
43
- 4288,
43
+ 4310,
44
44
  "Screen reader usage detected. Do you want to enable {0} to optimize the editor for screen reader usage?",
45
45
  'editor.accessibilitySupport'
46
46
  )), [{
47
- label: ( localize(4289, "Yes")),
47
+ label: ( localize(4311, "Yes")),
48
48
  run: () => {
49
49
  this.configurationService.updateValue('editor.accessibilitySupport', 'on', ConfigurationTarget.USER);
50
50
  }
51
51
  }, {
52
- label: ( localize(4290, "No")),
52
+ label: ( localize(4312, "No")),
53
53
  run: () => {
54
54
  this.configurationService.updateValue('editor.accessibilitySupport', 'off', ConfigurationTarget.USER);
55
55
  }
56
56
  },
57
57
  {
58
- label: ( localize(4291, "Learn More")),
58
+ label: ( localize(4313, "Learn More")),
59
59
  run: () => {
60
60
  this.openerService.open('https://code.visualstudio.com/docs/editor/accessibility#_screen-readers');
61
61
  }
@@ -68,9 +68,9 @@ let AccessibilityStatus = class AccessibilityStatus extends Disposable {
68
68
  updateScreenReaderModeElement(visible) {
69
69
  if (visible) {
70
70
  if (!this.screenReaderModeElement.value) {
71
- const text = ( localize(4292, "Screen Reader Optimized"));
71
+ const text = ( localize(4314, "Screen Reader Optimized"));
72
72
  this.screenReaderModeElement.value = this.statusbarService.addEntry({
73
- name: ( localize(4293, "Screen Reader Mode")),
73
+ name: ( localize(4315, "Screen Reader Mode")),
74
74
  text,
75
75
  ariaLabel: text,
76
76
  command: 'showEditorScreenReaderNotification',
@@ -22,7 +22,7 @@ import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/
22
22
  import { IQuickInputService } from "@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service";
23
23
  import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
24
24
  import { IChatCodeBlockContextProviderService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service";
25
- import { ICodeBlockActionContext } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/browser/codeBlockPart";
25
+ import { ICodeBlockActionContext } from "@codingame/monaco-vscode-a793b3ee-7ba9-5176-a019-30ec806fdd95-common/vscode/vs/workbench/contrib/chat/browser/codeBlockPart";
26
26
  import { AccessibilityVerbositySettingId } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration";
27
27
  export type AccesibleViewContentProvider = AccessibleContentProvider | ExtensionContentProvider;
28
28
  export declare class AccessibleView extends Disposable implements ITextModelContentProvider {
@@ -21,7 +21,7 @@ import { AccessibilityHelpNLS } from '@codingame/monaco-vscode-api/vscode/vs/edi
21
21
  import { CodeActionController } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/codeAction/browser/codeActionController';
22
22
  import { FloatingEditorToolbar } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/floatingMenu/browser/floatingMenu';
23
23
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
24
- import { isIAccessibleViewContentProvider, AccessibleContentProvider, AccessibleViewProviderId, ExtensionContentProvider, AccessibleViewType } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView';
24
+ import { isIAccessibleViewContentProvider, AccessibleViewProviderId, AccessibleContentProvider, ExtensionContentProvider, AccessibleViewType } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView';
25
25
  import { ACCESSIBLE_VIEW_SHOWN_STORAGE_PREFIX } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/common/accessibility';
26
26
  import { IAccessibilityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/common/accessibility.service';
27
27
  import { AccessibilitySignal } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService';
@@ -44,7 +44,7 @@ import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode
44
44
  import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
45
45
  import { FloatingEditorClickMenu } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/codeeditor';
46
46
  import { IChatCodeBlockContextProviderService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
47
- import { getSimpleEditorOptions } from '@codingame/monaco-vscode-e39a1c8f-7892-5d9b-9987-7b10b79e1a0a-common/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
47
+ import { getSimpleEditorOptions } from '@codingame/monaco-vscode-262ed59d-4f76-57cd-9e9f-1877f26ae049-common/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
48
48
  import { AccessibilityCommandId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/common/accessibilityCommands';
49
49
  import { accessibilityHelpIsShown, accessibleViewIsShown, accessibleViewSupportsNavigation, accessibleViewVerbosityEnabled, accessibleViewGoToSymbolSupported, accessibleViewCurrentProviderId, accessibleViewInCodeBlock, accessibleViewContainsCodeBlocks, accessibleViewOnLastLine, accessibleViewHasUnassignedKeybindings, accessibleViewHasAssignedKeybindings, AccessibilityWorkbenchSettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
50
50
  import { resolveContentAndKeybindingItems } from './accessibleViewKeybindingResolver.js';
@@ -153,6 +153,9 @@ let AccessibleView = class AccessibleView extends Disposable {
153
153
  }));
154
154
  }
155
155
  _playDiffSignals() {
156
+ if (this._currentProvider?.id !== AccessibleViewProviderId.DiffEditor && this._currentProvider?.id !== AccessibleViewProviderId.InlineCompletions) {
157
+ return;
158
+ }
156
159
  const position = this._editorWidget.getPosition();
157
160
  const model = this._editorWidget.getModel();
158
161
  if (!position || !model) {
@@ -207,7 +210,7 @@ let AccessibleView = class AccessibleView extends Disposable {
207
210
  if (!codeBlock || codeBlockIndex === undefined) {
208
211
  return;
209
212
  }
210
- return { code: codeBlock.code, languageId: codeBlock.languageId, codeBlockIndex, element: undefined, chatSessionId: codeBlock.chatSessionId };
213
+ return { code: codeBlock.code, languageId: codeBlock.languageId, codeBlockIndex, element: undefined, chatSessionResource: codeBlock.chatSessionResource };
211
214
  }
212
215
  navigateToCodeBlock(type) {
213
216
  const position = this._editorWidget.getPosition();
@@ -341,7 +344,7 @@ let AccessibleView = class AccessibleView extends Disposable {
341
344
  inBlock = false;
342
345
  const endLine = i;
343
346
  const code = lines.slice(startLine, endLine).join('\n');
344
- this._codeBlocks?.push({ startLine, endLine, code, languageId, chatSessionId: undefined });
347
+ this._codeBlocks?.push({ startLine, endLine, code, languageId, chatSessionResource: undefined });
345
348
  }
346
349
  });
347
350
  this._accessibleViewContainsCodeBlocks.set(this._codeBlocks.length > 0);
@@ -381,8 +384,8 @@ let AccessibleView = class AccessibleView extends Disposable {
381
384
  const disposables = this._register(( new DisposableStore()));
382
385
  const quickPick = disposables.add(this._quickInputService.createQuickPick());
383
386
  quickPick.items = items;
384
- quickPick.title = ( localize(4294, 'Configure keybindings'));
385
- quickPick.placeholder = ( localize(4295, 'Select a command ID to configure a keybinding for it'));
387
+ quickPick.title = ( localize(4316, 'Configure keybindings'));
388
+ quickPick.placeholder = ( localize(4317, 'Select a command ID to configure a keybinding for it'));
386
389
  quickPick.show();
387
390
  disposables.add(quickPick.onDidAccept(async () => {
388
391
  const item = quickPick.selectedItems[0];
@@ -422,7 +425,7 @@ let AccessibleView = class AccessibleView extends Disposable {
422
425
  }
423
426
  }
424
427
  if (label) {
425
- symbols.push({ markdownToParse: label, label: ( localize(4296, "({0}) {1}", token.type, label)), ariaLabel: ( localize(4297, "({0}) {1}", token.type, label)), firstListItem });
428
+ symbols.push({ markdownToParse: label, label: ( localize(4318, "({0}) {1}", token.type, label)), ariaLabel: ( localize(4319, "({0}) {1}", token.type, label)), firstListItem });
426
429
  firstListItem = undefined;
427
430
  }
428
431
  }
@@ -455,7 +458,7 @@ let AccessibleView = class AccessibleView extends Disposable {
455
458
  }
456
459
  this._configurationService.updateValue(this._currentProvider?.verbositySettingKey, false);
457
460
  alert(( localize(
458
- 4298,
461
+ 4320,
459
462
  '{0} accessibility verbosity is now disabled',
460
463
  this._currentProvider.verbositySettingKey
461
464
  )));
@@ -534,17 +537,17 @@ let AccessibleView = class AccessibleView extends Disposable {
534
537
  const hasActions = this._accessibleViewSupportsNavigation.get() || this._accessibleViewVerbosityEnabled.get() || this._accessibleViewGoToSymbolSupported.get() || provider.actions?.length;
535
538
  if (verbose && !showAccessibleViewHelp && hasActions) {
536
539
  actionsHint = provider.options.position ? ( localize(
537
- 4299,
540
+ 4321,
538
541
  'Explore actions such as disabling this hint (Shift+Tab), use Escape to exit this dialog.'
539
- )) : ( localize(4300, 'Explore actions such as disabling this hint (Shift+Tab).'));
542
+ )) : ( localize(4322, 'Explore actions such as disabling this hint (Shift+Tab).'));
540
543
  }
541
- let ariaLabel = provider.options.type === AccessibleViewType.Help ? ( localize(4301, "Accessibility Help")) : ( localize(4302, "Accessible View"));
544
+ let ariaLabel = provider.options.type === AccessibleViewType.Help ? ( localize(4323, "Accessibility Help")) : ( localize(4324, "Accessible View"));
542
545
  this._title.textContent = ariaLabel;
543
546
  if (actionsHint && provider.options.type === AccessibleViewType.View) {
544
- ariaLabel = ( localize(4303, "Accessible View, {0}", actionsHint));
547
+ ariaLabel = ( localize(4325, "Accessible View, {0}", actionsHint));
545
548
  }
546
549
  else if (actionsHint) {
547
- ariaLabel = ( localize(4304, "Accessibility Help, {0}", actionsHint));
550
+ ariaLabel = ( localize(4326, "Accessibility Help, {0}", actionsHint));
548
551
  }
549
552
  if (isWindows && widgetIsFocused) {
550
553
  ariaLabel = '';
@@ -621,7 +624,7 @@ let AccessibleView = class AccessibleView extends Disposable {
621
624
  return disposableStore;
622
625
  }
623
626
  _updateToolbar(providedActions, type) {
624
- this._toolbar.setAriaLabel(type === AccessibleViewType.Help ? ( localize(4305, 'Accessibility Help')) : ( localize(4306, "Accessible View")));
627
+ this._toolbar.setAriaLabel(type === AccessibleViewType.Help ? ( localize(4327, 'Accessibility Help')) : ( localize(4328, "Accessible View")));
625
628
  const toolbarMenu = this._register(this._menuService.createMenu(MenuId.AccessibleView, this._contextKeyService));
626
629
  const menuActions = getFlatActionBarActions(toolbarMenu.getActions({}));
627
630
  if (providedActions) {
@@ -723,9 +726,9 @@ let AccessibleView = class AccessibleView extends Disposable {
723
726
  _accessibleViewHelpDialogContent(providerHasSymbols) {
724
727
  const navigationHint = this._navigationHint();
725
728
  const goToSymbolHint = this._goToSymbolHint(providerHasSymbols);
726
- const toolbarHint = ( localize(4307, "Navigate to the toolbar (Shift+Tab)."));
729
+ const toolbarHint = ( localize(4329, "Navigate to the toolbar (Shift+Tab)."));
727
730
  const chatHints = this._getChatHints();
728
- let hint = ( localize(4308, "In the accessible view, you can:\n"));
731
+ let hint = ( localize(4330, "In the accessible view, you can:\n"));
729
732
  if (navigationHint) {
730
733
  hint += ' - ' + navigationHint + '\n';
731
734
  }
@@ -745,24 +748,24 @@ let AccessibleView = class AccessibleView extends Disposable {
745
748
  return;
746
749
  }
747
750
  return [( localize(
748
- 4309,
751
+ 4331,
749
752
  " - Insert the code block at the cursor{0}.",
750
753
  '<keybinding:workbench.action.chat.insertCodeBlock>'
751
754
  )),
752
755
  ( localize(
753
- 4310,
756
+ 4332,
754
757
  " - Insert the code block into a new file{0}.",
755
758
  '<keybinding:workbench.action.chat.insertIntoNewFile>'
756
759
  )),
757
760
  ( localize(
758
- 4311,
761
+ 4333,
759
762
  " - Run the code block in the terminal{0}.\n",
760
763
  '<keybinding:workbench.action.chat.runInTerminal>'
761
764
  ))].join('\n');
762
765
  }
763
766
  _navigationHint() {
764
767
  return localize(
765
- 4312,
768
+ 4334,
766
769
  "Show the next item{0} or previous item{1}.",
767
770
  `<keybinding:${AccessibilityCommandId.ShowNext}`,
768
771
  `<keybinding:${AccessibilityCommandId.ShowPrevious}>`
@@ -771,7 +774,7 @@ let AccessibleView = class AccessibleView extends Disposable {
771
774
  _disableVerbosityHint(provider) {
772
775
  if (provider.options.type === AccessibleViewType.Help && this._verbosityEnabled()) {
773
776
  return localize(
774
- 4313,
777
+ 4335,
775
778
  "\nDisable accessibility verbosity for this feature{0}.",
776
779
  `<keybinding:${AccessibilityCommandId.DisableVerbosityHint}>`
777
780
  );
@@ -783,7 +786,7 @@ let AccessibleView = class AccessibleView extends Disposable {
783
786
  return;
784
787
  }
785
788
  return localize(
786
- 4314,
789
+ 4336,
787
790
  'Go to a symbol{0}.',
788
791
  `<keybinding:${AccessibilityCommandId.GoToSymbol}>`
789
792
  );
@@ -792,7 +795,7 @@ let AccessibleView = class AccessibleView extends Disposable {
792
795
  const configureKb = this._keybindingService.lookupKeybinding(AccessibilityCommandId.AccessibilityHelpConfigureKeybindings)?.getAriaLabel();
793
796
  const keybindingToConfigureQuickPick = configureKb ? '(' + configureKb + ')' : 'by assigning a keybinding to the command Accessibility Help Configure Unassigned Keybindings.';
794
797
  return localize(
795
- 4315,
798
+ 4337,
796
799
  '\nConfigure keybindings for commands that lack them {0}.',
797
800
  keybindingToConfigureQuickPick
798
801
  );
@@ -801,7 +804,7 @@ let AccessibleView = class AccessibleView extends Disposable {
801
804
  const configureKb = this._keybindingService.lookupKeybinding(AccessibilityCommandId.AccessibilityHelpConfigureAssignedKeybindings)?.getAriaLabel();
802
805
  const keybindingToConfigureQuickPick = configureKb ? '(' + configureKb + ')' : 'by assigning a keybinding to the command Accessibility Help Configure Assigned Keybindings.';
803
806
  return localize(
804
- 4316,
807
+ 4338,
805
808
  '\nConfigure keybindings for commands that already have assignments {0}.',
806
809
  keybindingToConfigureQuickPick
807
810
  );
@@ -823,11 +826,11 @@ let AccessibleView = class AccessibleView extends Disposable {
823
826
  return screenReaderModeHint;
824
827
  }
825
828
  _exitDialogHint(provider) {
826
- return this._verbosityEnabled() && !provider.options.position ? ( localize(4317, '\nExit this dialog (Escape).')) : '';
829
+ return this._verbosityEnabled() && !provider.options.position ? ( localize(4339, '\nExit this dialog (Escape).')) : '';
827
830
  }
828
831
  _readMoreHint(provider) {
829
832
  return provider.options.readMoreUrl ? ( localize(
830
- 4318,
833
+ 4340,
831
834
  "\nOpen a browser window with more information related to accessibility{0}.",
832
835
  `<keybinding:${AccessibilityCommandId.AccessibilityHelpOpenHelpLink}>`
833
836
  )) : '';
@@ -889,11 +892,11 @@ let AccessibleViewService = class AccessibleViewService extends Disposable {
889
892
  const keybinding = this._keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibleView)?.getAriaLabel();
890
893
  let hint = null;
891
894
  if (keybinding) {
892
- hint = ( localize(4319, "Inspect this in the accessible view with {0}", keybinding));
895
+ hint = ( localize(4341, "Inspect this in the accessible view with {0}", keybinding));
893
896
  }
894
897
  else {
895
898
  hint = ( localize(
896
- 4320,
899
+ 4342,
897
900
  "Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding."
898
901
  ));
899
902
  }
@@ -935,8 +938,8 @@ let AccessibleViewSymbolQuickPick = class AccessibleViewSymbolQuickPick {
935
938
  show(provider) {
936
939
  const disposables = ( new DisposableStore());
937
940
  const quickPick = disposables.add(this._quickInputService.createQuickPick());
938
- quickPick.placeholder = ( localize(4321, "Type to search symbols"));
939
- quickPick.title = ( localize(4322, "Go to Symbol Accessible View"));
941
+ quickPick.placeholder = ( localize(4343, "Type to search symbols"));
942
+ quickPick.title = ( localize(4344, "Go to Symbol Accessible View"));
940
943
  const picks = [];
941
944
  const symbols = this._accessibleView.getSymbols();
942
945
  if (!symbols) {
@@ -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-a17e9d37-b6c1-5556-8402-5db73960fae3-common/vscode/vs/platform/quickinput/browser/pickerQuickAccess";
3
+ import { IPickerQuickAccessItem } from "@codingame/monaco-vscode-3b5a5cd1-d4ff-500a-b609-57e0cd4afa0a-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(4335, "Help: List Signal Sounds")),
19
+ title: ( localize2(4357, "Help: List Signal Sounds")),
20
20
  f1: true,
21
21
  metadata: {
22
22
  description: ( localize(
23
- 4336,
23
+ 4358,
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(4337, 'Configure Sound')),
41
+ tooltip: ( localize(4359, '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(4338, 'Select a sound to play and configure'));
77
+ qp.placeholder = ( localize(4360, '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(4339, "Help: List Signal Announcements")),
90
+ title: ( localize2(4361, "Help: List Signal Announcements")),
91
91
  f1: true,
92
92
  metadata: {
93
93
  description: ( localize(
94
- 4340,
94
+ 4362,
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(4341, 'Configure Announcement')),
112
+ tooltip: ( localize(4363, '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(4342, 'Select an announcement to configure')) : ( localize(
146
- 4343,
145
+ qp.placeholder = screenReaderOptimized ? ( localize(4364, 'Select an announcement to configure')) : ( localize(
146
+ 4365,
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(4344, "Diff editor")));
39
+ this._accessibilityService.alert(( localize(4366, "Diff editor")));
40
40
  }
41
41
  }));
42
42
  }
@@ -17,10 +17,10 @@ class ToggleScreenReaderMode extends Action2 {
17
17
  constructor() {
18
18
  super({
19
19
  id: 'editor.action.toggleScreenReaderAccessibilityMode',
20
- title: ( localize2(5735, "Toggle Screen Reader Accessibility Mode")),
20
+ title: ( localize2(5978, "Toggle Screen Reader Accessibility Mode")),
21
21
  metadata: {
22
22
  description: ( localize2(
23
- 5736,
23
+ 5979,
24
24
  "Toggles an optimized mode for usage with screen readers, braille devices, and other assistive technologies."
25
25
  )),
26
26
  },