@codingame/monaco-vscode-api 9.0.2 → 9.0.3
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 +8 -8
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +8 -8
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +50 -50
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +28 -28
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +2 -2
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +16 -16
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +19 -19
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +16 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +166 -166
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +14 -14
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
|
@@ -8,16 +8,16 @@ import { IClipboardService } from '../../../../platform/clipboard/common/clipboa
|
|
|
8
8
|
import { Codicon } from '../../../../base/common/codicons.js';
|
|
9
9
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
10
10
|
import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
11
|
-
const clearIcon = registerIcon('notifications-clear', Codicon.close, ( localize(
|
|
12
|
-
const clearAllIcon = registerIcon('notifications-clear-all', Codicon.clearAll, ( localize(
|
|
13
|
-
const hideIcon = registerIcon('notifications-hide', Codicon.chevronDown, ( localize(
|
|
14
|
-
const expandIcon = registerIcon('notifications-expand', Codicon.chevronUp, ( localize(
|
|
15
|
-
const collapseIcon = registerIcon('notifications-collapse', Codicon.chevronDown, ( localize(
|
|
16
|
-
const configureIcon = registerIcon('notifications-configure', Codicon.gear, ( localize(
|
|
17
|
-
const doNotDisturbIcon = registerIcon('notifications-do-not-disturb', Codicon.bellSlash, ( localize(
|
|
11
|
+
const clearIcon = registerIcon('notifications-clear', Codicon.close, ( localize(7602, 'Icon for the clear action in notifications.')));
|
|
12
|
+
const clearAllIcon = registerIcon('notifications-clear-all', Codicon.clearAll, ( localize(7603, 'Icon for the clear all action in notifications.')));
|
|
13
|
+
const hideIcon = registerIcon('notifications-hide', Codicon.chevronDown, ( localize(7604, 'Icon for the hide action in notifications.')));
|
|
14
|
+
const expandIcon = registerIcon('notifications-expand', Codicon.chevronUp, ( localize(7605, 'Icon for the expand action in notifications.')));
|
|
15
|
+
const collapseIcon = registerIcon('notifications-collapse', Codicon.chevronDown, ( localize(7606, 'Icon for the collapse action in notifications.')));
|
|
16
|
+
const configureIcon = registerIcon('notifications-configure', Codicon.gear, ( localize(7607, 'Icon for the configure action in notifications.')));
|
|
17
|
+
const doNotDisturbIcon = registerIcon('notifications-do-not-disturb', Codicon.bellSlash, ( localize(7608, 'Icon for the mute all action in notifications.')));
|
|
18
18
|
let ClearNotificationAction = class ClearNotificationAction extends Action {
|
|
19
19
|
static { this.ID = CLEAR_NOTIFICATION; }
|
|
20
|
-
static { this.LABEL = ( localize(
|
|
20
|
+
static { this.LABEL = ( localize(7609, "Clear Notification")); }
|
|
21
21
|
constructor(id, label, commandService) {
|
|
22
22
|
super(id, label, ThemeIcon.asClassName(clearIcon));
|
|
23
23
|
this.commandService = commandService;
|
|
@@ -31,7 +31,7 @@ ClearNotificationAction = ( (__decorate([
|
|
|
31
31
|
], ClearNotificationAction)));
|
|
32
32
|
let ClearAllNotificationsAction = class ClearAllNotificationsAction extends Action {
|
|
33
33
|
static { this.ID = CLEAR_ALL_NOTIFICATIONS; }
|
|
34
|
-
static { this.LABEL = ( localize(
|
|
34
|
+
static { this.LABEL = ( localize(7610, "Clear All Notifications")); }
|
|
35
35
|
constructor(id, label, commandService) {
|
|
36
36
|
super(id, label, ThemeIcon.asClassName(clearAllIcon));
|
|
37
37
|
this.commandService = commandService;
|
|
@@ -45,7 +45,7 @@ ClearAllNotificationsAction = ( (__decorate([
|
|
|
45
45
|
], ClearAllNotificationsAction)));
|
|
46
46
|
let ToggleDoNotDisturbAction = class ToggleDoNotDisturbAction extends Action {
|
|
47
47
|
static { this.ID = TOGGLE_DO_NOT_DISTURB_MODE; }
|
|
48
|
-
static { this.LABEL = ( localize(
|
|
48
|
+
static { this.LABEL = ( localize(7611, "Toggle Do Not Disturb Mode")); }
|
|
49
49
|
constructor(id, label, commandService) {
|
|
50
50
|
super(id, label, ThemeIcon.asClassName(doNotDisturbIcon));
|
|
51
51
|
this.commandService = commandService;
|
|
@@ -59,7 +59,7 @@ ToggleDoNotDisturbAction = ( (__decorate([
|
|
|
59
59
|
], ToggleDoNotDisturbAction)));
|
|
60
60
|
let ToggleDoNotDisturbBySourceAction = class ToggleDoNotDisturbBySourceAction extends Action {
|
|
61
61
|
static { this.ID = TOGGLE_DO_NOT_DISTURB_MODE_BY_SOURCE; }
|
|
62
|
-
static { this.LABEL = ( localize(
|
|
62
|
+
static { this.LABEL = ( localize(7612, "Toggle Do Not Disturb Mode By Source...")); }
|
|
63
63
|
constructor(id, label, commandService) {
|
|
64
64
|
super(id, label);
|
|
65
65
|
this.commandService = commandService;
|
|
@@ -73,14 +73,14 @@ ToggleDoNotDisturbBySourceAction = ( (__decorate([
|
|
|
73
73
|
], ToggleDoNotDisturbBySourceAction)));
|
|
74
74
|
class ConfigureDoNotDisturbAction extends Action {
|
|
75
75
|
static { this.ID = 'workbench.action.configureDoNotDisturbMode'; }
|
|
76
|
-
static { this.LABEL = ( localize(
|
|
76
|
+
static { this.LABEL = ( localize(7613, "Configure Do Not Disturb...")); }
|
|
77
77
|
constructor(id, label) {
|
|
78
78
|
super(id, label, ThemeIcon.asClassName(doNotDisturbIcon));
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
let HideNotificationsCenterAction = class HideNotificationsCenterAction extends Action {
|
|
82
82
|
static { this.ID = HIDE_NOTIFICATIONS_CENTER; }
|
|
83
|
-
static { this.LABEL = ( localize(
|
|
83
|
+
static { this.LABEL = ( localize(7614, "Hide Notifications")); }
|
|
84
84
|
constructor(id, label, commandService) {
|
|
85
85
|
super(id, label, ThemeIcon.asClassName(hideIcon));
|
|
86
86
|
this.commandService = commandService;
|
|
@@ -94,7 +94,7 @@ HideNotificationsCenterAction = ( (__decorate([
|
|
|
94
94
|
], HideNotificationsCenterAction)));
|
|
95
95
|
let ExpandNotificationAction = class ExpandNotificationAction extends Action {
|
|
96
96
|
static { this.ID = EXPAND_NOTIFICATION; }
|
|
97
|
-
static { this.LABEL = ( localize(
|
|
97
|
+
static { this.LABEL = ( localize(7615, "Expand Notification")); }
|
|
98
98
|
constructor(id, label, commandService) {
|
|
99
99
|
super(id, label, ThemeIcon.asClassName(expandIcon));
|
|
100
100
|
this.commandService = commandService;
|
|
@@ -108,7 +108,7 @@ ExpandNotificationAction = ( (__decorate([
|
|
|
108
108
|
], ExpandNotificationAction)));
|
|
109
109
|
let CollapseNotificationAction = class CollapseNotificationAction extends Action {
|
|
110
110
|
static { this.ID = COLLAPSE_NOTIFICATION; }
|
|
111
|
-
static { this.LABEL = ( localize(
|
|
111
|
+
static { this.LABEL = ( localize(7616, "Collapse Notification")); }
|
|
112
112
|
constructor(id, label, commandService) {
|
|
113
113
|
super(id, label, ThemeIcon.asClassName(collapseIcon));
|
|
114
114
|
this.commandService = commandService;
|
|
@@ -122,7 +122,7 @@ CollapseNotificationAction = ( (__decorate([
|
|
|
122
122
|
], CollapseNotificationAction)));
|
|
123
123
|
class ConfigureNotificationAction extends Action {
|
|
124
124
|
static { this.ID = 'workbench.action.configureNotification'; }
|
|
125
|
-
static { this.LABEL = ( localize(
|
|
125
|
+
static { this.LABEL = ( localize(7617, "More Actions...")); }
|
|
126
126
|
constructor(id, label, notification) {
|
|
127
127
|
super(id, label, ThemeIcon.asClassName(configureIcon));
|
|
128
128
|
this.notification = notification;
|
|
@@ -130,7 +130,7 @@ class ConfigureNotificationAction extends Action {
|
|
|
130
130
|
}
|
|
131
131
|
let CopyNotificationMessageAction = class CopyNotificationMessageAction extends Action {
|
|
132
132
|
static { this.ID = 'workbench.action.copyNotificationMessage'; }
|
|
133
|
-
static { this.LABEL = ( localize(
|
|
133
|
+
static { this.LABEL = ( localize(7618, "Copy Text")); }
|
|
134
134
|
constructor(id, label, clipboardService) {
|
|
135
135
|
super(id, label);
|
|
136
136
|
this.clipboardService = clipboardService;
|
|
@@ -47,21 +47,21 @@ class NotificationsAlerts extends Disposable {
|
|
|
47
47
|
let alertText;
|
|
48
48
|
if (notification.severity === Severity$1.Error) {
|
|
49
49
|
alertText = ( localize(
|
|
50
|
-
|
|
50
|
+
3233,
|
|
51
51
|
"Error: {0}",
|
|
52
52
|
(notification.message.linkedText.toString())
|
|
53
53
|
));
|
|
54
54
|
}
|
|
55
55
|
else if (notification.severity === Severity$1.Warning) {
|
|
56
56
|
alertText = ( localize(
|
|
57
|
-
|
|
57
|
+
3234,
|
|
58
58
|
"Warning: {0}",
|
|
59
59
|
(notification.message.linkedText.toString())
|
|
60
60
|
));
|
|
61
61
|
}
|
|
62
62
|
else {
|
|
63
63
|
alertText = ( localize(
|
|
64
|
-
|
|
64
|
+
3235,
|
|
65
65
|
"Info: {0}",
|
|
66
66
|
(notification.message.linkedText.toString())
|
|
67
67
|
));
|
|
@@ -101,11 +101,11 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
101
101
|
updateTitle() {
|
|
102
102
|
const [notificationsCenterTitle, clearAllAction] = assertAllDefined(this.notificationsCenterTitle, this.clearAllAction);
|
|
103
103
|
if (this.model.notifications.length === 0) {
|
|
104
|
-
notificationsCenterTitle.textContent = ( localize(
|
|
104
|
+
notificationsCenterTitle.textContent = ( localize(3226, "No new notifications"));
|
|
105
105
|
clearAllAction.enabled = false;
|
|
106
106
|
}
|
|
107
107
|
else {
|
|
108
|
-
notificationsCenterTitle.textContent = ( localize(
|
|
108
|
+
notificationsCenterTitle.textContent = ( localize(3227, "Notifications"));
|
|
109
109
|
clearAllAction.enabled = ( (this.model.notifications.some(notification => !notification.hasProgress)));
|
|
110
110
|
}
|
|
111
111
|
}
|
|
@@ -124,7 +124,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
124
124
|
const actionRunner = this._register(this.instantiationService.createInstance(NotificationActionRunner));
|
|
125
125
|
const that = this;
|
|
126
126
|
const notificationsToolBar = this._register(( (new ActionBar(toolbarContainer, {
|
|
127
|
-
ariaLabel: ( localize(
|
|
127
|
+
ariaLabel: ( localize(3228, "Notification Center Actions")),
|
|
128
128
|
actionRunner,
|
|
129
129
|
actionViewItemProvider: (action, options) => {
|
|
130
130
|
if (action.id === ConfigureDoNotDisturbAction.ID) {
|
|
@@ -132,7 +132,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
132
132
|
getActions() {
|
|
133
133
|
const actions = [toAction({
|
|
134
134
|
id: ToggleDoNotDisturbAction.ID,
|
|
135
|
-
label: that.notificationService.getFilter() === NotificationsFilter.OFF ? ( localize(
|
|
135
|
+
label: that.notificationService.getFilter() === NotificationsFilter.OFF ? ( localize(3229, "Enable Do Not Disturb Mode")) : ( localize(3230, "Disable Do Not Disturb Mode")),
|
|
136
136
|
run: () => that.notificationService.setFilter(that.notificationService.getFilter() === NotificationsFilter.OFF ? NotificationsFilter.ERROR : NotificationsFilter.OFF)
|
|
137
137
|
})];
|
|
138
138
|
const sortedFilters = that.notificationService.getFilters().sort((a, b) => a.label.localeCompare(b.label));
|
|
@@ -152,7 +152,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
152
152
|
}
|
|
153
153
|
if (sortedFilters.length > NotificationsCenter_1.MAX_NOTIFICATION_SOURCES) {
|
|
154
154
|
actions.push(( (new Separator())));
|
|
155
|
-
actions.push(that._register(that.instantiationService.createInstance(ToggleDoNotDisturbBySourceAction, ToggleDoNotDisturbBySourceAction.ID, ( localize(
|
|
155
|
+
actions.push(that._register(that.instantiationService.createInstance(ToggleDoNotDisturbBySourceAction, ToggleDoNotDisturbBySourceAction.ID, ( localize(3231, "More…")))));
|
|
156
156
|
}
|
|
157
157
|
return actions;
|
|
158
158
|
},
|
|
@@ -173,7 +173,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
173
173
|
const hideAllAction = this._register(this.instantiationService.createInstance(HideNotificationsCenterAction, HideNotificationsCenterAction.ID, HideNotificationsCenterAction.LABEL));
|
|
174
174
|
notificationsToolBar.push(hideAllAction, { icon: true, label: false, keybinding: this.getKeybindingLabel(hideAllAction) });
|
|
175
175
|
this.notificationsList = this.instantiationService.createInstance(NotificationsList, this.notificationsCenterContainer, {
|
|
176
|
-
widgetAriaLabel: ( localize(
|
|
176
|
+
widgetAriaLabel: ( localize(3232, "Notifications Center"))
|
|
177
177
|
});
|
|
178
178
|
this.container.appendChild(this.notificationsCenterContainer);
|
|
179
179
|
}
|
|
@@ -235,7 +235,7 @@ function registerNotificationCommands(center, toasts, model) {
|
|
|
235
235
|
filter: source.filter
|
|
236
236
|
}))));
|
|
237
237
|
picker.canSelectMany = true;
|
|
238
|
-
picker.placeholder = ( localize(
|
|
238
|
+
picker.placeholder = ( localize(3217, "Select sources to enable all notifications from"));
|
|
239
239
|
picker.selectedItems = picker.items.filter(item => item.filter === NotificationsFilter.OFF);
|
|
240
240
|
picker.show();
|
|
241
241
|
disposables.add(picker.onDidAccept(async () => {
|
|
@@ -250,14 +250,14 @@ function registerNotificationCommands(center, toasts, model) {
|
|
|
250
250
|
}));
|
|
251
251
|
disposables.add(picker.onDidHide(() => disposables.dispose()));
|
|
252
252
|
});
|
|
253
|
-
const category = ( localize2(
|
|
254
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: SHOW_NOTIFICATIONS_CENTER, title: ( localize2(
|
|
255
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: HIDE_NOTIFICATIONS_CENTER, title: ( localize2(
|
|
256
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLEAR_ALL_NOTIFICATIONS, title: ( localize2(
|
|
257
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: ACCEPT_PRIMARY_ACTION_NOTIFICATION, title: ( localize2(
|
|
258
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE, title: ( localize2(
|
|
259
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE_BY_SOURCE, title: ( localize2(
|
|
260
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: FOCUS_NOTIFICATION_TOAST, title: ( localize2(
|
|
253
|
+
const category = ( localize2(3218, 'Notifications'));
|
|
254
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: SHOW_NOTIFICATIONS_CENTER, title: ( localize2(3219, 'Show Notifications')), category } });
|
|
255
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: HIDE_NOTIFICATIONS_CENTER, title: ( localize2(3220, 'Hide Notifications')), category }, when: NotificationsCenterVisibleContext });
|
|
256
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLEAR_ALL_NOTIFICATIONS, title: ( localize2(3221, 'Clear All Notifications')), category } });
|
|
257
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: ACCEPT_PRIMARY_ACTION_NOTIFICATION, title: ( localize2(3222, 'Accept Notification Primary Action')), category } });
|
|
258
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE, title: ( localize2(3223, 'Toggle Do Not Disturb Mode')), category } });
|
|
259
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE_BY_SOURCE, title: ( localize2(3224, 'Toggle Do Not Disturb Mode By Source...')), category } });
|
|
260
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: FOCUS_NOTIFICATION_TOAST, title: ( localize2(3225, 'Focus Notification Toast')), category }, when: NotificationsToastsVisibleContext });
|
|
261
261
|
}
|
|
262
262
|
let NotificationActionRunner = class NotificationActionRunner extends ActionRunner {
|
|
263
263
|
constructor(telemetryService, notificationService) {
|
|
@@ -168,29 +168,29 @@ let NotificationAccessibilityProvider = class NotificationAccessibilityProvider
|
|
|
168
168
|
let accessibleViewHint;
|
|
169
169
|
const keybinding = this._keybindingService.lookupKeybinding('editor.action.accessibleView')?.getAriaLabel();
|
|
170
170
|
if (this._configurationService.getValue('accessibility.verbosity.notification')) {
|
|
171
|
-
accessibleViewHint = keybinding ? ( localize(
|
|
172
|
-
|
|
171
|
+
accessibleViewHint = keybinding ? ( localize(7595, "Inspect the response in the accessible view with {0}", keybinding)) : ( localize(
|
|
172
|
+
7596,
|
|
173
173
|
"Inspect the response in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding"
|
|
174
174
|
));
|
|
175
175
|
}
|
|
176
176
|
if (!element.source) {
|
|
177
|
-
return accessibleViewHint ? ( localize(
|
|
177
|
+
return accessibleViewHint ? ( localize(7597, "{0}, notification, {1}", element.message.raw, accessibleViewHint)) : ( localize(7598, "{0}, notification", element.message.raw));
|
|
178
178
|
}
|
|
179
179
|
return accessibleViewHint ? ( localize(
|
|
180
|
-
|
|
180
|
+
7599,
|
|
181
181
|
"{0}, source: {1}, notification, {2}",
|
|
182
182
|
element.message.raw,
|
|
183
183
|
element.source,
|
|
184
184
|
accessibleViewHint
|
|
185
185
|
)) : ( localize(
|
|
186
|
-
|
|
186
|
+
7600,
|
|
187
187
|
"{0}, source: {1}, notification",
|
|
188
188
|
element.message.raw,
|
|
189
189
|
element.source
|
|
190
190
|
));
|
|
191
191
|
}
|
|
192
192
|
getWidgetAriaLabel() {
|
|
193
|
-
return this._options.widgetAriaLabel ?? ( localize(
|
|
193
|
+
return this._options.widgetAriaLabel ?? ( localize(7601, "Notifications List"));
|
|
194
194
|
}
|
|
195
195
|
getRole() {
|
|
196
196
|
return 'dialog';
|
|
@@ -48,9 +48,9 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
let statusProperties = {
|
|
51
|
-
name: ( localize(
|
|
51
|
+
name: ( localize(3236, "Notifications")),
|
|
52
52
|
text: `${notificationsInProgress > 0 || this.newNotificationsCount > 0 ? '$(bell-dot)' : '$(bell)'}`,
|
|
53
|
-
ariaLabel: ( localize(
|
|
53
|
+
ariaLabel: ( localize(3236, "Notifications")),
|
|
54
54
|
command: this.isNotificationsCenterVisible ? HIDE_NOTIFICATIONS_CENTER : SHOW_NOTIFICATIONS_CENTER,
|
|
55
55
|
tooltip: this.getTooltip(notificationsInProgress),
|
|
56
56
|
showBeak: this.isNotificationsCenterVisible
|
|
@@ -59,8 +59,8 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
59
59
|
statusProperties = {
|
|
60
60
|
...statusProperties,
|
|
61
61
|
text: `${notificationsInProgress > 0 || this.newNotificationsCount > 0 ? '$(bell-slash-dot)' : '$(bell-slash)'}`,
|
|
62
|
-
ariaLabel: ( localize(
|
|
63
|
-
tooltip: ( localize(
|
|
62
|
+
ariaLabel: ( localize(3237, "Do Not Disturb")),
|
|
63
|
+
tooltip: ( localize(3238, "Do Not Disturb Mode is Enabled"))
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
if (!this.notificationsCenterStatusItem) {
|
|
@@ -72,28 +72,28 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
72
72
|
}
|
|
73
73
|
getTooltip(notificationsInProgress) {
|
|
74
74
|
if (this.isNotificationsCenterVisible) {
|
|
75
|
-
return ( localize(
|
|
75
|
+
return ( localize(3239, "Hide Notifications"));
|
|
76
76
|
}
|
|
77
77
|
if (this.model.notifications.length === 0) {
|
|
78
|
-
return ( localize(
|
|
78
|
+
return ( localize(3240, "No Notifications"));
|
|
79
79
|
}
|
|
80
80
|
if (notificationsInProgress === 0) {
|
|
81
81
|
if (this.newNotificationsCount === 0) {
|
|
82
|
-
return ( localize(
|
|
82
|
+
return ( localize(3241, "No New Notifications"));
|
|
83
83
|
}
|
|
84
84
|
if (this.newNotificationsCount === 1) {
|
|
85
|
-
return ( localize(
|
|
85
|
+
return ( localize(3242, "1 New Notification"));
|
|
86
86
|
}
|
|
87
|
-
return ( localize(
|
|
87
|
+
return ( localize(3243, "{0} New Notifications", this.newNotificationsCount));
|
|
88
88
|
}
|
|
89
89
|
if (this.newNotificationsCount === 0) {
|
|
90
|
-
return ( localize(
|
|
90
|
+
return ( localize(3244, "No New Notifications ({0} in progress)", notificationsInProgress));
|
|
91
91
|
}
|
|
92
92
|
if (this.newNotificationsCount === 1) {
|
|
93
|
-
return ( localize(
|
|
93
|
+
return ( localize(3245, "1 New Notification ({0} in progress)", notificationsInProgress));
|
|
94
94
|
}
|
|
95
95
|
return ( localize(
|
|
96
|
-
|
|
96
|
+
3246,
|
|
97
97
|
"{0} New Notifications ({1} in progress)",
|
|
98
98
|
this.newNotificationsCount,
|
|
99
99
|
notificationsInProgress
|
|
@@ -138,7 +138,7 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
138
138
|
let statusMessageEntry;
|
|
139
139
|
let showHandle = setTimeout(() => {
|
|
140
140
|
statusMessageEntry = this.statusbarService.addEntry({
|
|
141
|
-
name: ( localize(
|
|
141
|
+
name: ( localize(3247, "Status Message")),
|
|
142
142
|
text: message,
|
|
143
143
|
ariaLabel: message
|
|
144
144
|
}, 'status.message', StatusbarAlignment.LEFT, -Number.MAX_VALUE );
|
|
@@ -140,9 +140,9 @@ let NotificationsToasts = class NotificationsToasts extends Themable {
|
|
|
140
140
|
verticalScrollMode: ScrollbarVisibility.Hidden,
|
|
141
141
|
widgetAriaLabel: (() => {
|
|
142
142
|
if (!item.source) {
|
|
143
|
-
return ( localize(
|
|
143
|
+
return ( localize(3214, "{0}, notification", item.message.raw));
|
|
144
144
|
}
|
|
145
|
-
return ( localize(
|
|
145
|
+
return ( localize(3215, "{0}, source: {1}, notification", item.message.raw, item.source));
|
|
146
146
|
})()
|
|
147
147
|
});
|
|
148
148
|
itemDisposables.add(notificationList);
|
|
@@ -49,7 +49,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
49
49
|
title: {
|
|
50
50
|
value: 'File',
|
|
51
51
|
original: 'File',
|
|
52
|
-
mnemonicTitle: ( localize(
|
|
52
|
+
mnemonicTitle: ( localize(6926, "&&File")),
|
|
53
53
|
},
|
|
54
54
|
order: 1
|
|
55
55
|
});
|
|
@@ -58,7 +58,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
58
58
|
title: {
|
|
59
59
|
value: 'Edit',
|
|
60
60
|
original: 'Edit',
|
|
61
|
-
mnemonicTitle: ( localize(
|
|
61
|
+
mnemonicTitle: ( localize(6927, "&&Edit"))
|
|
62
62
|
},
|
|
63
63
|
order: 2
|
|
64
64
|
});
|
|
@@ -67,7 +67,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
67
67
|
title: {
|
|
68
68
|
value: 'Selection',
|
|
69
69
|
original: 'Selection',
|
|
70
|
-
mnemonicTitle: ( localize(
|
|
70
|
+
mnemonicTitle: ( localize(6928, "&&Selection"))
|
|
71
71
|
},
|
|
72
72
|
order: 3
|
|
73
73
|
});
|
|
@@ -76,7 +76,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
76
76
|
title: {
|
|
77
77
|
value: 'View',
|
|
78
78
|
original: 'View',
|
|
79
|
-
mnemonicTitle: ( localize(
|
|
79
|
+
mnemonicTitle: ( localize(6929, "&&View"))
|
|
80
80
|
},
|
|
81
81
|
order: 4
|
|
82
82
|
});
|
|
@@ -85,7 +85,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
85
85
|
title: {
|
|
86
86
|
value: 'Go',
|
|
87
87
|
original: 'Go',
|
|
88
|
-
mnemonicTitle: ( localize(
|
|
88
|
+
mnemonicTitle: ( localize(6930, "&&Go"))
|
|
89
89
|
},
|
|
90
90
|
order: 5
|
|
91
91
|
});
|
|
@@ -94,7 +94,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
94
94
|
title: {
|
|
95
95
|
value: 'Terminal',
|
|
96
96
|
original: 'Terminal',
|
|
97
|
-
mnemonicTitle: ( localize(
|
|
97
|
+
mnemonicTitle: ( localize(6931, "&&Terminal"))
|
|
98
98
|
},
|
|
99
99
|
order: 7
|
|
100
100
|
});
|
|
@@ -103,7 +103,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
103
103
|
title: {
|
|
104
104
|
value: 'Help',
|
|
105
105
|
original: 'Help',
|
|
106
|
-
mnemonicTitle: ( localize(
|
|
106
|
+
mnemonicTitle: ( localize(6932, "&&Help"))
|
|
107
107
|
},
|
|
108
108
|
order: 8
|
|
109
109
|
});
|
|
@@ -112,7 +112,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
112
112
|
title: {
|
|
113
113
|
value: 'Preferences',
|
|
114
114
|
original: 'Preferences',
|
|
115
|
-
mnemonicTitle: ( localize(
|
|
115
|
+
mnemonicTitle: ( localize(6933, "Preferences"))
|
|
116
116
|
},
|
|
117
117
|
when: IsMacNativeContext,
|
|
118
118
|
order: 9
|
|
@@ -277,12 +277,12 @@ class MenubarControl extends Disposable {
|
|
|
277
277
|
return;
|
|
278
278
|
}
|
|
279
279
|
const message = ( localize(
|
|
280
|
-
|
|
280
|
+
6934,
|
|
281
281
|
"Accessibility support is enabled for you. For the most accessible experience, we recommend the custom title bar style."
|
|
282
282
|
));
|
|
283
283
|
this.notificationService.prompt(Severity$1.Info, message, [
|
|
284
284
|
{
|
|
285
|
-
label: ( localize(
|
|
285
|
+
label: ( localize(6935, "Open Settings")),
|
|
286
286
|
run: () => {
|
|
287
287
|
return this.preferencesService.openUserSettings({ query: TitleBarSetting.TITLE_BAR_STYLE });
|
|
288
288
|
}
|
|
@@ -328,7 +328,7 @@ let CustomMenubarControl = class CustomMenubarControl extends MenubarControl {
|
|
|
328
328
|
constructor() {
|
|
329
329
|
super({
|
|
330
330
|
id: `workbench.actions.menubar.focus`,
|
|
331
|
-
title: ( localize2(
|
|
331
|
+
title: ( localize2(6936, 'Focus Application Menu')),
|
|
332
332
|
keybinding: {
|
|
333
333
|
primary: KeyMod$1.Alt | KeyCode.F10,
|
|
334
334
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -348,29 +348,29 @@ let CustomMenubarControl = class CustomMenubarControl extends MenubarControl {
|
|
|
348
348
|
switch (state.type) {
|
|
349
349
|
case StateType.Idle:
|
|
350
350
|
return (
|
|
351
|
-
(new Action('update.check', ( localize(
|
|
351
|
+
(new Action('update.check', ( localize(6937, "Check for &&Updates...")), undefined, true, () => this.updateService.checkForUpdates(true)))
|
|
352
352
|
);
|
|
353
353
|
case StateType.CheckingForUpdates:
|
|
354
354
|
return (
|
|
355
|
-
(new Action('update.checking', ( localize(
|
|
355
|
+
(new Action('update.checking', ( localize(6938, "Checking for Updates...")), undefined, false))
|
|
356
356
|
);
|
|
357
357
|
case StateType.AvailableForDownload:
|
|
358
358
|
return (
|
|
359
|
-
(new Action('update.downloadNow', ( localize(
|
|
359
|
+
(new Action('update.downloadNow', ( localize(6939, "D&&ownload Update")), undefined, true, () => this.updateService.downloadUpdate()))
|
|
360
360
|
);
|
|
361
361
|
case StateType.Downloading:
|
|
362
362
|
return (
|
|
363
|
-
(new Action('update.downloading', ( localize(
|
|
363
|
+
(new Action('update.downloading', ( localize(6940, "Downloading Update...")), undefined, false))
|
|
364
364
|
);
|
|
365
365
|
case StateType.Downloaded:
|
|
366
|
-
return isMacintosh ? null : ( (new Action('update.install', ( localize(
|
|
366
|
+
return isMacintosh ? null : ( (new Action('update.install', ( localize(6941, "Install &&Update...")), undefined, true, () => this.updateService.applyUpdate())));
|
|
367
367
|
case StateType.Updating:
|
|
368
368
|
return (
|
|
369
|
-
(new Action('update.updating', ( localize(
|
|
369
|
+
(new Action('update.updating', ( localize(6942, "Installing Update...")), undefined, false))
|
|
370
370
|
);
|
|
371
371
|
case StateType.Ready:
|
|
372
372
|
return (
|
|
373
|
-
(new Action('update.restart', ( localize(
|
|
373
|
+
(new Action('update.restart', ( localize(6943, "Restart to &&Update")), undefined, true, () => this.updateService.quitAndInstall()))
|
|
374
374
|
);
|
|
375
375
|
default:
|
|
376
376
|
return null;
|
|
@@ -33,7 +33,7 @@ const viewFilterMenu = ( (new MenuId('menu.view.filter')));
|
|
|
33
33
|
const viewFilterSubmenu = ( (new MenuId('submenu.view.filter')));
|
|
34
34
|
MenuRegistry.appendMenuItem(viewFilterMenu, {
|
|
35
35
|
submenu: viewFilterSubmenu,
|
|
36
|
-
title: ( localize(
|
|
36
|
+
title: ( localize(5603, "More Filters...")),
|
|
37
37
|
group: 'navigation',
|
|
38
38
|
icon: Codicon.filter,
|
|
39
39
|
});
|