@codingame/monaco-vscode-api 8.0.2 → 8.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/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +1 -1
- 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/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/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +49 -49
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- 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/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +6 -6
- 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/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/editor.api.d.ts +91 -69
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- 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/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- 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/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +127 -127
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +14 -14
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +10 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- 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/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- 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/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- 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/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +32 -32
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -24,13 +24,13 @@ let TextInputActionsProvider = class TextInputActionsProvider extends Disposable
|
|
|
24
24
|
createActions() {
|
|
25
25
|
return [
|
|
26
26
|
(
|
|
27
|
-
(new Action('undo', ( localize(
|
|
28
|
-
( (new Action('redo', ( localize(
|
|
27
|
+
(new Action('undo', ( localize(691, "Undo")), undefined, true, async () => getActiveDocument().execCommand('undo')))),
|
|
28
|
+
( (new Action('redo', ( localize(692, "Redo")), undefined, true, async () => getActiveDocument().execCommand('redo')))),
|
|
29
29
|
( (new Separator())),
|
|
30
30
|
(
|
|
31
|
-
(new Action('editor.action.clipboardCutAction', ( localize(
|
|
32
|
-
( (new Action('editor.action.clipboardCopyAction', ( localize(
|
|
33
|
-
( (new Action('editor.action.clipboardPasteAction', ( localize(
|
|
31
|
+
(new Action('editor.action.clipboardCutAction', ( localize(693, "Cut")), undefined, true, async () => getActiveDocument().execCommand('cut')))),
|
|
32
|
+
( (new Action('editor.action.clipboardCopyAction', ( localize(694, "Copy")), undefined, true, async () => getActiveDocument().execCommand('copy')))),
|
|
33
|
+
( (new Action('editor.action.clipboardPasteAction', ( localize(695, "Paste")), undefined, true, async (element) => {
|
|
34
34
|
if (isNative) {
|
|
35
35
|
getActiveDocument().execCommand('paste');
|
|
36
36
|
}
|
|
@@ -49,7 +49,7 @@ let TextInputActionsProvider = class TextInputActionsProvider extends Disposable
|
|
|
49
49
|
}))),
|
|
50
50
|
( (new Separator())),
|
|
51
51
|
(
|
|
52
|
-
(new Action('editor.action.selectAll', ( localize(
|
|
52
|
+
(new Action('editor.action.selectAll', ( localize(696, "Select All")), undefined, true, async () => getActiveDocument().execCommand('selectAll'))))
|
|
53
53
|
];
|
|
54
54
|
}
|
|
55
55
|
registerListeners() {
|
|
@@ -16,13 +16,13 @@ import { IWorkspacesService } from '../../../platform/workspaces/common/workspac
|
|
|
16
16
|
import { KeybindingWeight } from '../../../platform/keybinding/common/keybindingsRegistry.js';
|
|
17
17
|
import { IsMacNativeContext } from '../../../platform/contextkey/common/contextkeys.js';
|
|
18
18
|
import { Categories } from '../../../platform/action/common/actionCommonCategories.js';
|
|
19
|
-
const workspacesCategory = ( localize2(
|
|
19
|
+
const workspacesCategory = ( localize2(5390, 'Workspaces'));
|
|
20
20
|
class OpenFileAction extends Action2 {
|
|
21
21
|
static { this.ID = 'workbench.action.files.openFile'; }
|
|
22
22
|
constructor() {
|
|
23
23
|
super({
|
|
24
24
|
id: OpenFileAction.ID,
|
|
25
|
-
title: ( localize2(
|
|
25
|
+
title: ( localize2(5391, 'Open File...')),
|
|
26
26
|
category: Categories.File,
|
|
27
27
|
f1: true,
|
|
28
28
|
keybinding: {
|
|
@@ -42,7 +42,7 @@ class OpenFolderAction extends Action2 {
|
|
|
42
42
|
constructor() {
|
|
43
43
|
super({
|
|
44
44
|
id: OpenFolderAction.ID,
|
|
45
|
-
title: ( localize2(
|
|
45
|
+
title: ( localize2(5392, 'Open Folder...')),
|
|
46
46
|
category: Categories.File,
|
|
47
47
|
f1: true,
|
|
48
48
|
precondition: OpenFolderWorkspaceSupportContext,
|
|
@@ -68,7 +68,7 @@ class OpenFolderViaWorkspaceAction extends Action2 {
|
|
|
68
68
|
constructor() {
|
|
69
69
|
super({
|
|
70
70
|
id: OpenFolderViaWorkspaceAction.ID,
|
|
71
|
-
title: ( localize2(
|
|
71
|
+
title: ( localize2(5392, 'Open Folder...')),
|
|
72
72
|
category: Categories.File,
|
|
73
73
|
f1: true,
|
|
74
74
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -88,7 +88,7 @@ class OpenFolderViaWorkspaceAction extends Action2 {
|
|
|
88
88
|
}
|
|
89
89
|
class OpenFileFolderAction extends Action2 {
|
|
90
90
|
static { this.ID = 'workbench.action.files.openFileFolder'; }
|
|
91
|
-
static { this.LABEL = ( localize2(
|
|
91
|
+
static { this.LABEL = ( localize2(5393, 'Open...')); }
|
|
92
92
|
constructor() {
|
|
93
93
|
super({
|
|
94
94
|
id: OpenFileFolderAction.ID,
|
|
@@ -112,7 +112,7 @@ class OpenWorkspaceAction extends Action2 {
|
|
|
112
112
|
constructor() {
|
|
113
113
|
super({
|
|
114
114
|
id: OpenWorkspaceAction.ID,
|
|
115
|
-
title: ( localize2(
|
|
115
|
+
title: ( localize2(5394, 'Open Workspace from File...')),
|
|
116
116
|
category: Categories.File,
|
|
117
117
|
f1: true,
|
|
118
118
|
precondition: EnterMultiRootWorkspaceSupportContext
|
|
@@ -128,7 +128,7 @@ class CloseWorkspaceAction extends Action2 {
|
|
|
128
128
|
constructor() {
|
|
129
129
|
super({
|
|
130
130
|
id: CloseWorkspaceAction.ID,
|
|
131
|
-
title: ( localize2(
|
|
131
|
+
title: ( localize2(5395, 'Close Workspace')),
|
|
132
132
|
category: workspacesCategory,
|
|
133
133
|
f1: true,
|
|
134
134
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -152,7 +152,7 @@ class OpenWorkspaceConfigFileAction extends Action2 {
|
|
|
152
152
|
constructor() {
|
|
153
153
|
super({
|
|
154
154
|
id: OpenWorkspaceConfigFileAction.ID,
|
|
155
|
-
title: ( localize2(
|
|
155
|
+
title: ( localize2(5396, 'Open Workspace Configuration File')),
|
|
156
156
|
category: workspacesCategory,
|
|
157
157
|
f1: true,
|
|
158
158
|
precondition: ( (WorkbenchStateContext.isEqualTo('workspace')))
|
|
@@ -191,7 +191,7 @@ class RemoveRootFolderAction extends Action2 {
|
|
|
191
191
|
constructor() {
|
|
192
192
|
super({
|
|
193
193
|
id: RemoveRootFolderAction.ID,
|
|
194
|
-
title: ( localize2(
|
|
194
|
+
title: ( localize2(5397, 'Remove Folder from Workspace...')),
|
|
195
195
|
category: workspacesCategory,
|
|
196
196
|
f1: true,
|
|
197
197
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -217,7 +217,7 @@ class SaveWorkspaceAsAction extends Action2 {
|
|
|
217
217
|
constructor() {
|
|
218
218
|
super({
|
|
219
219
|
id: SaveWorkspaceAsAction.ID,
|
|
220
|
-
title: ( localize2(
|
|
220
|
+
title: ( localize2(5398, 'Save Workspace As...')),
|
|
221
221
|
category: workspacesCategory,
|
|
222
222
|
f1: true,
|
|
223
223
|
precondition: EnterMultiRootWorkspaceSupportContext
|
|
@@ -245,7 +245,7 @@ class DuplicateWorkspaceInNewWindowAction extends Action2 {
|
|
|
245
245
|
constructor() {
|
|
246
246
|
super({
|
|
247
247
|
id: DuplicateWorkspaceInNewWindowAction.ID,
|
|
248
|
-
title: ( localize2(
|
|
248
|
+
title: ( localize2(5399, 'Duplicate As Workspace in New Window')),
|
|
249
249
|
category: workspacesCategory,
|
|
250
250
|
f1: true,
|
|
251
251
|
precondition: EnterMultiRootWorkspaceSupportContext
|
|
@@ -279,7 +279,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
279
279
|
group: '2_open',
|
|
280
280
|
command: {
|
|
281
281
|
id: OpenFileAction.ID,
|
|
282
|
-
title: ( localize(
|
|
282
|
+
title: ( localize(5400, "&&Open File..."))
|
|
283
283
|
},
|
|
284
284
|
order: 1,
|
|
285
285
|
when: ( (IsMacNativeContext.toNegated()))
|
|
@@ -288,7 +288,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
288
288
|
group: '2_open',
|
|
289
289
|
command: {
|
|
290
290
|
id: OpenFolderAction.ID,
|
|
291
|
-
title: ( localize(
|
|
291
|
+
title: ( localize(5401, "Open &&Folder..."))
|
|
292
292
|
},
|
|
293
293
|
order: 2,
|
|
294
294
|
when: OpenFolderWorkspaceSupportContext
|
|
@@ -297,7 +297,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
297
297
|
group: '2_open',
|
|
298
298
|
command: {
|
|
299
299
|
id: OpenFolderViaWorkspaceAction.ID,
|
|
300
|
-
title: ( localize(
|
|
300
|
+
title: ( localize(5401, "Open &&Folder..."))
|
|
301
301
|
},
|
|
302
302
|
order: 2,
|
|
303
303
|
when: ( (ContextKeyExpr.and(
|
|
@@ -309,7 +309,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
309
309
|
group: '2_open',
|
|
310
310
|
command: {
|
|
311
311
|
id: OpenFileFolderAction.ID,
|
|
312
|
-
title: ( localize(
|
|
312
|
+
title: ( localize(5402, "&&Open..."))
|
|
313
313
|
},
|
|
314
314
|
order: 1,
|
|
315
315
|
when: ( (ContextKeyExpr.and(IsMacNativeContext, OpenFolderWorkspaceSupportContext)))
|
|
@@ -318,7 +318,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
318
318
|
group: '2_open',
|
|
319
319
|
command: {
|
|
320
320
|
id: OpenWorkspaceAction.ID,
|
|
321
|
-
title: ( localize(
|
|
321
|
+
title: ( localize(5403, "Open Wor&&kspace from File..."))
|
|
322
322
|
},
|
|
323
323
|
order: 3,
|
|
324
324
|
when: EnterMultiRootWorkspaceSupportContext
|
|
@@ -327,7 +327,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
327
327
|
group: '3_workspace',
|
|
328
328
|
command: {
|
|
329
329
|
id: ADD_ROOT_FOLDER_COMMAND_ID,
|
|
330
|
-
title: ( localize(
|
|
330
|
+
title: ( localize(5404, "A&&dd Folder to Workspace..."))
|
|
331
331
|
},
|
|
332
332
|
when: ( (ContextKeyExpr.or(
|
|
333
333
|
EnterMultiRootWorkspaceSupportContext,
|
|
@@ -339,7 +339,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
339
339
|
group: '3_workspace',
|
|
340
340
|
command: {
|
|
341
341
|
id: SaveWorkspaceAsAction.ID,
|
|
342
|
-
title: ( localize(
|
|
342
|
+
title: ( localize(5405, "Save Workspace As..."))
|
|
343
343
|
},
|
|
344
344
|
order: 2,
|
|
345
345
|
when: EnterMultiRootWorkspaceSupportContext
|
|
@@ -348,7 +348,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
348
348
|
group: '3_workspace',
|
|
349
349
|
command: {
|
|
350
350
|
id: DuplicateWorkspaceInNewWindowAction.ID,
|
|
351
|
-
title: ( localize(
|
|
351
|
+
title: ( localize(5406, "Duplicate Workspace"))
|
|
352
352
|
},
|
|
353
353
|
order: 3,
|
|
354
354
|
when: EnterMultiRootWorkspaceSupportContext
|
|
@@ -357,7 +357,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
357
357
|
group: '6_close',
|
|
358
358
|
command: {
|
|
359
359
|
id: CloseWorkspaceAction.ID,
|
|
360
|
-
title: ( localize(
|
|
360
|
+
title: ( localize(5407, "Close &&Folder"))
|
|
361
361
|
},
|
|
362
362
|
order: 3,
|
|
363
363
|
when: ( (ContextKeyExpr.and(
|
|
@@ -369,7 +369,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
369
369
|
group: '6_close',
|
|
370
370
|
command: {
|
|
371
371
|
id: CloseWorkspaceAction.ID,
|
|
372
|
-
title: ( localize(
|
|
372
|
+
title: ( localize(5408, "Close &&Workspace"))
|
|
373
373
|
},
|
|
374
374
|
order: 3,
|
|
375
375
|
when: ( (ContextKeyExpr.and(
|
|
@@ -135,7 +135,7 @@ let EditorTabsControl = class EditorTabsControl extends Themable {
|
|
|
135
135
|
this.editorActionsToolbar = this.editorActionsToolbarDisposables.add(this.instantiationService.createInstance(WorkbenchToolBar, container, {
|
|
136
136
|
actionViewItemProvider: (action, options) => this.actionViewItemProvider(action, options),
|
|
137
137
|
orientation: ActionsOrientation.HORIZONTAL,
|
|
138
|
-
ariaLabel: ( localize(
|
|
138
|
+
ariaLabel: ( localize(6864, "Editor actions")),
|
|
139
139
|
getKeyBinding: action => this.getKeybinding(action),
|
|
140
140
|
actionRunner: this.editorActionsToolbarDisposables.add(( (new EditorCommandsContextActionRunner(context)))),
|
|
141
141
|
anchorAlignmentProvider: () => AnchorAlignment.RIGHT,
|
|
@@ -207,7 +207,7 @@ let EditorTabsControl = class EditorTabsControl extends Themable {
|
|
|
207
207
|
if (this.groupView.activeEditor) {
|
|
208
208
|
let label = this.groupView.activeEditor.getName();
|
|
209
209
|
if (this.groupsView.partOptions.showTabs === 'multiple' && this.groupView.count > 1) {
|
|
210
|
-
label = ( localize(
|
|
210
|
+
label = ( localize(6865, "{0} (+{1})", label, this.groupView.count - 1));
|
|
211
211
|
}
|
|
212
212
|
applyDragImage(e, label, 'monaco-editor-group-drag-image', this.getColor(listActiveSelectionBackground), this.getColor(listActiveSelectionForeground));
|
|
213
213
|
}
|
|
@@ -47,7 +47,7 @@ var GlobalCompositeBar_1;
|
|
|
47
47
|
let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
48
48
|
static { GlobalCompositeBar_1 = this; }
|
|
49
49
|
static { this.ACCOUNTS_ACTION_INDEX = 0; }
|
|
50
|
-
static { this.ACCOUNTS_ICON = registerIcon('accounts-view-bar-icon', Codicon.account, ( localize(
|
|
50
|
+
static { this.ACCOUNTS_ICON = registerIcon('accounts-view-bar-icon', Codicon.account, ( localize(6852, "Accounts icon in the view bar."))); }
|
|
51
51
|
constructor(contextMenuActionsProvider, colors, activityHoverOptions, configurationService, instantiationService, storageService, extensionService) {
|
|
52
52
|
super();
|
|
53
53
|
this.contextMenuActionsProvider = contextMenuActionsProvider;
|
|
@@ -75,7 +75,7 @@ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
|
75
75
|
hoverOptions: this.activityHoverOptions
|
|
76
76
|
}, contextMenuAlignmentOptions, (actions) => {
|
|
77
77
|
actions.unshift(...[
|
|
78
|
-
toAction({ id: 'hideAccounts', label: ( localize(
|
|
78
|
+
toAction({ id: 'hideAccounts', label: ( localize(6853, "Hide Accounts")), run: () => setAccountsActionVisible(storageService, false) }),
|
|
79
79
|
( (new Separator()))
|
|
80
80
|
]);
|
|
81
81
|
});
|
|
@@ -83,7 +83,7 @@ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
|
83
83
|
throw ( (new Error(`No view item for action '${action.id}'`)));
|
|
84
84
|
},
|
|
85
85
|
orientation: ActionsOrientation.VERTICAL,
|
|
86
|
-
ariaLabel: ( localize(
|
|
86
|
+
ariaLabel: ( localize(6854, "Manage")),
|
|
87
87
|
preventLoopNavigation: true
|
|
88
88
|
}))));
|
|
89
89
|
if (this.accountsVisibilityPreference) {
|
|
@@ -109,7 +109,7 @@ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
|
109
109
|
return this.globalActivityActionBar.viewItems.length;
|
|
110
110
|
}
|
|
111
111
|
getContextMenuActions() {
|
|
112
|
-
return [toAction({ id: 'toggleAccountsVisibility', label: ( localize(
|
|
112
|
+
return [toAction({ id: 'toggleAccountsVisibility', label: ( localize(6855, "Accounts")), checked: this.accountsVisibilityPreference, run: () => this.accountsVisibilityPreference = !this.accountsVisibilityPreference })];
|
|
113
113
|
}
|
|
114
114
|
toggleAccountsActivity() {
|
|
115
115
|
if (this.globalActivityActionBar.length() === 2 && this.accountsVisibilityPreference) {
|
|
@@ -250,7 +250,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
250
250
|
constructor(contextMenuActionsProvider, options, contextMenuAlignmentOptions, fillContextMenuActions, themeService, lifecycleService, hoverService, contextMenuService, menuService, contextKeyService, authenticationService, environmentService, productService, configurationService, keybindingService, secretStorageService, logService, activityService, instantiationService, commandService) {
|
|
251
251
|
const action = instantiationService.createInstance(CompositeBarAction, {
|
|
252
252
|
id: ACCOUNTS_ACTIVITY_ID,
|
|
253
|
-
name: ( localize(
|
|
253
|
+
name: ( localize(6855, "Accounts")),
|
|
254
254
|
classNames: ThemeIcon.asClassNameArray(GlobalCompositeBar.ACCOUNTS_ICON)
|
|
255
255
|
});
|
|
256
256
|
super(MenuId.AccountsContext, action, options, contextMenuActionsProvider, contextMenuAlignmentOptions, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, keybindingService, activityService);
|
|
@@ -322,7 +322,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
322
322
|
let menus = [];
|
|
323
323
|
for (const providerId of providers) {
|
|
324
324
|
if (!this.initialized) {
|
|
325
|
-
const noAccountsAvailableAction = disposables.add(( (new Action('noAccountsAvailable', ( localize(
|
|
325
|
+
const noAccountsAvailableAction = disposables.add(( (new Action('noAccountsAvailable', ( localize(6856, "Loading...")), undefined, false))));
|
|
326
326
|
menus.push(noAccountsAvailableAction);
|
|
327
327
|
break;
|
|
328
328
|
}
|
|
@@ -330,7 +330,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
330
330
|
const accounts = this.groupedAccounts.get(providerId);
|
|
331
331
|
if (!accounts) {
|
|
332
332
|
if (( (this.problematicProviders.has(providerId)))) {
|
|
333
|
-
const providerUnavailableAction = disposables.add(( (new Action('providerUnavailable', ( localize(
|
|
333
|
+
const providerUnavailableAction = disposables.add(( (new Action('providerUnavailable', ( localize(6857, '{0} is currently unavailable', providerLabel)), undefined, false))));
|
|
334
334
|
menus.push(providerUnavailableAction);
|
|
335
335
|
try {
|
|
336
336
|
await this.addAccountsFromProvider(providerId);
|
|
@@ -344,7 +344,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
344
344
|
for (const account of accounts) {
|
|
345
345
|
const manageExtensionsAction = toAction({
|
|
346
346
|
id: `configureSessions${account.label}`,
|
|
347
|
-
label: ( localize(
|
|
347
|
+
label: ( localize(6858, "Manage Trusted Extensions")),
|
|
348
348
|
enabled: true,
|
|
349
349
|
run: () => this.commandService.executeCommand('_manageTrustedExtensionsForAccount', { providerId, accountLabel: account.label })
|
|
350
350
|
});
|
|
@@ -352,7 +352,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
352
352
|
if (account.canSignOut) {
|
|
353
353
|
providerSubMenuActions.push(toAction({
|
|
354
354
|
id: 'signOut',
|
|
355
|
-
label: ( localize(
|
|
355
|
+
label: ( localize(6859, "Sign Out")),
|
|
356
356
|
enabled: true,
|
|
357
357
|
run: () => this.commandService.executeCommand('_signOutOfAccount', { providerId, accountLabel: account.label })
|
|
358
358
|
}));
|
|
@@ -366,7 +366,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
if (providers.length && !menus.length) {
|
|
369
|
-
const noAccountsAvailableAction = disposables.add(( (new Action('noAccountsAvailable', ( localize(
|
|
369
|
+
const noAccountsAvailableAction = disposables.add(( (new Action('noAccountsAvailable', ( localize(6860, "You are not signed in to any accounts")), undefined, false))));
|
|
370
370
|
menus.push(noAccountsAvailableAction);
|
|
371
371
|
}
|
|
372
372
|
if (menus.length && otherCommands.length) {
|
|
@@ -466,7 +466,7 @@ let GlobalActivityActionViewItem = class GlobalActivityActionViewItem extends Ab
|
|
|
466
466
|
constructor(contextMenuActionsProvider, options, contextMenuAlignmentOptions, userDataProfileService, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, environmentService, keybindingService, instantiationService, activityService) {
|
|
467
467
|
const action = instantiationService.createInstance(CompositeBarAction, {
|
|
468
468
|
id: GLOBAL_ACTIVITY_ID,
|
|
469
|
-
name: ( localize(
|
|
469
|
+
name: ( localize(6854, "Manage")),
|
|
470
470
|
classNames: ThemeIcon.asClassNameArray(userDataProfileService.currentProfile.icon ? ThemeIcon.fromId(userDataProfileService.currentProfile.icon) : DEFAULT_ICON)
|
|
471
471
|
});
|
|
472
472
|
super(MenuId.GlobalActivity, action, options, contextMenuActionsProvider, contextMenuAlignmentOptions, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, keybindingService, activityService);
|
|
@@ -511,7 +511,7 @@ let GlobalActivityActionViewItem = class GlobalActivityActionViewItem extends Ab
|
|
|
511
511
|
}
|
|
512
512
|
computeTitle() {
|
|
513
513
|
return this.userDataProfileService.currentProfile.isDefault ? super.computeTitle() : ( localize(
|
|
514
|
-
|
|
514
|
+
6861,
|
|
515
515
|
"Manage {0} (Profile)",
|
|
516
516
|
this.userDataProfileService.currentProfile.name
|
|
517
517
|
));
|
|
@@ -592,12 +592,12 @@ SimpleGlobalActivityActionViewItem = ( (__decorate([
|
|
|
592
592
|
function simpleActivityContextMenuActions(storageService, isAccount) {
|
|
593
593
|
const currentElementContextMenuActions = [];
|
|
594
594
|
if (isAccount) {
|
|
595
|
-
currentElementContextMenuActions.push(toAction({ id: 'hideAccounts', label: ( localize(
|
|
595
|
+
currentElementContextMenuActions.push(toAction({ id: 'hideAccounts', label: ( localize(6853, "Hide Accounts")), run: () => setAccountsActionVisible(storageService, false) }), ( (new Separator())));
|
|
596
596
|
}
|
|
597
597
|
return [
|
|
598
598
|
...currentElementContextMenuActions,
|
|
599
|
-
toAction({ id: 'toggle.hideAccounts', label: ( localize(
|
|
600
|
-
toAction({ id: 'toggle.hideManage', label: ( localize(
|
|
599
|
+
toAction({ id: 'toggle.hideAccounts', label: ( localize(6855, "Accounts")), checked: isAccountsActionVisible(storageService), run: () => setAccountsActionVisible(storageService, !isAccountsActionVisible(storageService)) }),
|
|
600
|
+
toAction({ id: 'toggle.hideManage', label: ( localize(6854, "Manage")), checked: true, enabled: false, run: () => { throw ( (new Error('"Manage" can not be hidden'))); } })
|
|
601
601
|
];
|
|
602
602
|
}
|
|
603
603
|
function isAccountsActionVisible(storageService) {
|
|
@@ -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
|
+
3136,
|
|
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
|
+
3137,
|
|
58
58
|
"Warning: {0}",
|
|
59
59
|
(notification.message.linkedText.toString())
|
|
60
60
|
));
|
|
61
61
|
}
|
|
62
62
|
else {
|
|
63
63
|
alertText = ( localize(
|
|
64
|
-
|
|
64
|
+
3138,
|
|
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(3139, "No new notifications"));
|
|
105
105
|
clearAllAction.enabled = false;
|
|
106
106
|
}
|
|
107
107
|
else {
|
|
108
|
-
notificationsCenterTitle.textContent = ( localize(
|
|
108
|
+
notificationsCenterTitle.textContent = ( localize(3140, "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(3141, "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(3142, "Enable Do Not Disturb Mode")) : ( localize(3143, "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(3144, "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(3145, "Notifications Center"))
|
|
177
177
|
});
|
|
178
178
|
this.container.appendChild(this.notificationsCenterContainer);
|
|
179
179
|
}
|
|
@@ -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(6834, "&&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(6835, "&&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(6836, "&&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(6837, "&&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(6838, "&&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(6839, "&&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(6840, "&&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(6841, "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
|
+
6842,
|
|
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(6843, "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(6844, '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(6845, "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(6846, "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(6847, "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(6848, "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(6849, "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(6850, "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(6851, "Restart to &&Update")), undefined, true, () => this.updateService.quitAndInstall()))
|
|
374
374
|
);
|
|
375
375
|
default:
|
|
376
376
|
return null;
|
|
@@ -84,7 +84,7 @@ class TreeItemCheckbox extends Disposable {
|
|
|
84
84
|
}
|
|
85
85
|
checkboxHoverContent(checkbox) {
|
|
86
86
|
return checkbox.tooltip ? checkbox.tooltip :
|
|
87
|
-
checkbox.isChecked ? ( localize(
|
|
87
|
+
checkbox.isChecked ? ( localize(10915, 'Checked')) : ( localize(10916, 'Unchecked'));
|
|
88
88
|
}
|
|
89
89
|
setAccessibilityInformation(checkbox) {
|
|
90
90
|
if (this.toggle && checkbox.accessibilityInformation) {
|
|
@@ -63,8 +63,8 @@ var ViewPaneShowActions;
|
|
|
63
63
|
ViewPaneShowActions[ViewPaneShowActions["Always"] = 2] = "Always";
|
|
64
64
|
})(ViewPaneShowActions || (ViewPaneShowActions = {}))));
|
|
65
65
|
const VIEWPANE_FILTER_ACTION = ( (new Action('viewpane.action.filter')));
|
|
66
|
-
const viewPaneContainerExpandedIcon = registerIcon('view-pane-container-expanded', Codicon.chevronDown, ( localize(
|
|
67
|
-
const viewPaneContainerCollapsedIcon = registerIcon('view-pane-container-collapsed', Codicon.chevronRight, ( localize(
|
|
66
|
+
const viewPaneContainerExpandedIcon = registerIcon('view-pane-container-expanded', Codicon.chevronDown, ( localize(5344, 'Icon for an expanded view pane container.')));
|
|
67
|
+
const viewPaneContainerCollapsedIcon = registerIcon('view-pane-container-collapsed', Codicon.chevronRight, ( localize(5345, 'Icon for a collapsed view pane container.')));
|
|
68
68
|
const viewsRegistry = ( (Registry.as(Extensions.ViewsRegistry)));
|
|
69
69
|
let ViewWelcomeController = class ViewWelcomeController {
|
|
70
70
|
get enabled() { return this._enabled; }
|
|
@@ -334,7 +334,7 @@ let ViewPane = class ViewPane extends Pane {
|
|
|
334
334
|
this.toolbar = this.instantiationService.createInstance(WorkbenchToolBar, actions, {
|
|
335
335
|
orientation: ActionsOrientation.HORIZONTAL,
|
|
336
336
|
actionViewItemProvider: (action, options) => this.getActionViewItem(action, options),
|
|
337
|
-
ariaLabel: ( localize(
|
|
337
|
+
ariaLabel: ( localize(5346, "{0} actions", this.title)),
|
|
338
338
|
getKeyBinding: action => this.keybindingService.lookupKeybinding(action.id),
|
|
339
339
|
renderDropdownAsChildElement: true,
|
|
340
340
|
actionRunner: this.getActionRunner(),
|
|
@@ -420,7 +420,7 @@ let ViewPane = class ViewPane extends Pane {
|
|
|
420
420
|
if (!viewHasAccessibilityHelpContent || accessibleViewHasShownForView) {
|
|
421
421
|
return title;
|
|
422
422
|
}
|
|
423
|
-
return ( localize(
|
|
423
|
+
return ( localize(5347, 'Use Alt+F1 for accessibility help {0}', title));
|
|
424
424
|
}
|
|
425
425
|
updateTitle(title) {
|
|
426
426
|
const calculatedTitle = this.calculateTitle(title);
|