@codingame/monaco-vscode-api 10.0.1 → 10.1.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/api.js +1 -1
- package/missing-services.js +7062 -1575
- package/monaco.d.ts +1 -1
- package/monaco.js +1 -1
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/button/button.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/findinput/findInputToggles.js +3 -3
- 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/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +9 -9
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +15 -6
- package/vscode/src/vs/base/common/errors.d.ts +3 -1
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- 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/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/config/editorOptions.js +368 -368
- 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/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- 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/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.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/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.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/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +42 -23
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- 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/contextkeys.js +9 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -11
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- 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/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.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/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- 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/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +10 -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/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- 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/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugExpressionRenderer.js +1 -1
- 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/common/debug.js +63 -63
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +11 -9
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- 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/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- 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/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- 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/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- 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/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- 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/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -26,30 +26,30 @@ const colorIdPattern = '^\\w+[.\\w+]*$';
|
|
|
26
26
|
const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
27
27
|
extensionPoint: 'colors',
|
|
28
28
|
jsonSchema: {
|
|
29
|
-
description: ( localize(
|
|
29
|
+
description: ( localize(728, 'Contributes extension defined themable colors')),
|
|
30
30
|
type: 'array',
|
|
31
31
|
items: {
|
|
32
32
|
type: 'object',
|
|
33
33
|
properties: {
|
|
34
34
|
id: {
|
|
35
35
|
type: 'string',
|
|
36
|
-
description: ( localize(
|
|
36
|
+
description: ( localize(729, 'The identifier of the themable color')),
|
|
37
37
|
pattern: colorIdPattern,
|
|
38
38
|
patternErrorMessage: ( localize(
|
|
39
|
-
|
|
39
|
+
730,
|
|
40
40
|
'Identifiers must only contain letters, digits and dots and can not start with a dot'
|
|
41
41
|
)),
|
|
42
42
|
},
|
|
43
43
|
description: {
|
|
44
44
|
type: 'string',
|
|
45
|
-
description: ( localize(
|
|
45
|
+
description: ( localize(731, 'The description of the themable color')),
|
|
46
46
|
},
|
|
47
47
|
defaults: {
|
|
48
48
|
type: 'object',
|
|
49
49
|
properties: {
|
|
50
50
|
light: {
|
|
51
51
|
description: ( localize(
|
|
52
|
-
|
|
52
|
+
732,
|
|
53
53
|
'The default color for light themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default.'
|
|
54
54
|
)),
|
|
55
55
|
type: 'string',
|
|
@@ -60,7 +60,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
60
60
|
},
|
|
61
61
|
dark: {
|
|
62
62
|
description: ( localize(
|
|
63
|
-
|
|
63
|
+
733,
|
|
64
64
|
'The default color for dark themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default.'
|
|
65
65
|
)),
|
|
66
66
|
type: 'string',
|
|
@@ -71,7 +71,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
71
71
|
},
|
|
72
72
|
highContrast: {
|
|
73
73
|
description: ( localize(
|
|
74
|
-
|
|
74
|
+
734,
|
|
75
75
|
'The default color for high contrast dark themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default. If not provided, the `dark` color is used as default for high contrast dark themes.'
|
|
76
76
|
)),
|
|
77
77
|
type: 'string',
|
|
@@ -82,7 +82,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
82
82
|
},
|
|
83
83
|
highContrastLight: {
|
|
84
84
|
description: ( localize(
|
|
85
|
-
|
|
85
|
+
735,
|
|
86
86
|
'The default color for high contrast light themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default. If not provided, the `light` color is used as default for high contrast light themes.'
|
|
87
87
|
)),
|
|
88
88
|
type: 'string',
|
|
@@ -105,7 +105,7 @@ class ColorExtensionPoint {
|
|
|
105
105
|
const extensionValue = extension.value;
|
|
106
106
|
const collector = extension.collector;
|
|
107
107
|
if (!extensionValue || !Array.isArray(extensionValue)) {
|
|
108
|
-
collector.error(( localize(
|
|
108
|
+
collector.error(( localize(736, "'configuration.colors' must be a array")));
|
|
109
109
|
return;
|
|
110
110
|
}
|
|
111
111
|
const parseColorValue = (s, name) => {
|
|
@@ -118,7 +118,7 @@ class ColorExtensionPoint {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
collector.error(( localize(
|
|
121
|
-
|
|
121
|
+
737,
|
|
122
122
|
"{0} must be either a color value in hex (#RRGGBB[AA] or #RGB[A]) or the identifier of a themable color which provides the default.",
|
|
123
123
|
name
|
|
124
124
|
)));
|
|
@@ -126,19 +126,19 @@ class ColorExtensionPoint {
|
|
|
126
126
|
};
|
|
127
127
|
for (const colorContribution of extensionValue) {
|
|
128
128
|
if (typeof colorContribution.id !== 'string' || colorContribution.id.length === 0) {
|
|
129
|
-
collector.error(( localize(
|
|
129
|
+
collector.error(( localize(738, "'configuration.colors.id' must be defined and can not be empty")));
|
|
130
130
|
return;
|
|
131
131
|
}
|
|
132
132
|
if (!colorContribution.id.match(colorIdPattern)) {
|
|
133
133
|
collector.error(( localize(
|
|
134
|
-
|
|
134
|
+
739,
|
|
135
135
|
"'configuration.colors.id' must only contain letters, digits and dots and can not start with a dot"
|
|
136
136
|
)));
|
|
137
137
|
return;
|
|
138
138
|
}
|
|
139
139
|
if (typeof colorContribution.description !== 'string' || colorContribution.id.length === 0) {
|
|
140
140
|
collector.error(( localize(
|
|
141
|
-
|
|
141
|
+
740,
|
|
142
142
|
"'configuration.colors.description' must be defined and can not be empty"
|
|
143
143
|
)));
|
|
144
144
|
return;
|
|
@@ -146,21 +146,21 @@ class ColorExtensionPoint {
|
|
|
146
146
|
const defaults = colorContribution.defaults;
|
|
147
147
|
if (!defaults || typeof defaults !== 'object' || typeof defaults.light !== 'string' || typeof defaults.dark !== 'string') {
|
|
148
148
|
collector.error(( localize(
|
|
149
|
-
|
|
149
|
+
741,
|
|
150
150
|
"'configuration.colors.defaults' must be defined and must contain 'light' and 'dark'"
|
|
151
151
|
)));
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
154
154
|
if (defaults.highContrast && typeof defaults.highContrast !== 'string') {
|
|
155
155
|
collector.error(( localize(
|
|
156
|
-
|
|
156
|
+
742,
|
|
157
157
|
"If defined, 'configuration.colors.defaults.highContrast' must be a string."
|
|
158
158
|
)));
|
|
159
159
|
return;
|
|
160
160
|
}
|
|
161
161
|
if (defaults.highContrastLight && typeof defaults.highContrastLight !== 'string') {
|
|
162
162
|
collector.error(( localize(
|
|
163
|
-
|
|
163
|
+
743,
|
|
164
164
|
"If defined, 'configuration.colors.defaults.highContrastLight' must be a string."
|
|
165
165
|
)));
|
|
166
166
|
return;
|
|
@@ -196,11 +196,11 @@ class ColorDataRenderer extends Disposable {
|
|
|
196
196
|
return { data: { headers: [], rows: [] }, dispose: () => { } };
|
|
197
197
|
}
|
|
198
198
|
const headers = [
|
|
199
|
-
( localize(
|
|
200
|
-
( localize(
|
|
201
|
-
( localize(
|
|
202
|
-
( localize(
|
|
203
|
-
( localize(
|
|
199
|
+
( localize(744, "ID")),
|
|
200
|
+
( localize(745, "Description")),
|
|
201
|
+
( localize(746, "Dark Default")),
|
|
202
|
+
( localize(747, "Light Default")),
|
|
203
|
+
( localize(748, "High Contrast Default")),
|
|
204
204
|
];
|
|
205
205
|
const toColor = (colorReference) => colorReference[0] === '#' ? ( (Color.fromHex(colorReference))) : undefined;
|
|
206
206
|
const rows = ( (colors.sort((a, b) => a.id.localeCompare(b.id))
|
|
@@ -224,7 +224,7 @@ class ColorDataRenderer extends Disposable {
|
|
|
224
224
|
}
|
|
225
225
|
( (Registry.as(Extensions.ExtensionFeaturesRegistry))).registerExtensionFeature({
|
|
226
226
|
id: 'colors',
|
|
227
|
-
label: ( localize(
|
|
227
|
+
label: ( localize(749, "Colors")),
|
|
228
228
|
access: {
|
|
229
229
|
canToggle: false
|
|
230
230
|
},
|
|
@@ -14,13 +14,13 @@ const iconIdPattern = `^${ThemeIcon.iconNameSegment}(-${ThemeIcon.iconNameSegmen
|
|
|
14
14
|
const iconConfigurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
15
15
|
extensionPoint: 'icons',
|
|
16
16
|
jsonSchema: {
|
|
17
|
-
description: ( localize(
|
|
17
|
+
description: ( localize(750, 'Contributes extension defined themable icons')),
|
|
18
18
|
type: 'object',
|
|
19
19
|
propertyNames: {
|
|
20
20
|
pattern: iconIdPattern,
|
|
21
|
-
description: ( localize(
|
|
21
|
+
description: ( localize(751, 'The identifier of the themable icon')),
|
|
22
22
|
patternErrorMessage: ( localize(
|
|
23
|
-
|
|
23
|
+
752,
|
|
24
24
|
'Identifiers can only contain letters, digits and minuses and need to consist of at least two segments in the form `component-iconname`.'
|
|
25
25
|
)),
|
|
26
26
|
},
|
|
@@ -29,7 +29,7 @@ const iconConfigurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
29
29
|
properties: {
|
|
30
30
|
description: {
|
|
31
31
|
type: 'string',
|
|
32
|
-
description: ( localize(
|
|
32
|
+
description: ( localize(753, 'The description of the themable icon')),
|
|
33
33
|
},
|
|
34
34
|
default: {
|
|
35
35
|
anyOf: [
|
|
@@ -38,11 +38,11 @@ const iconConfigurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
38
38
|
type: 'object',
|
|
39
39
|
properties: {
|
|
40
40
|
fontPath: {
|
|
41
|
-
description: ( localize(
|
|
41
|
+
description: ( localize(754, 'The path of the icon font that defines the icon.')),
|
|
42
42
|
type: 'string'
|
|
43
43
|
},
|
|
44
44
|
fontCharacter: {
|
|
45
|
-
description: ( localize(
|
|
45
|
+
description: ( localize(755, 'The character for the icon in the icon font.')),
|
|
46
46
|
type: 'string'
|
|
47
47
|
}
|
|
48
48
|
},
|
|
@@ -51,7 +51,7 @@ const iconConfigurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
51
51
|
}
|
|
52
52
|
],
|
|
53
53
|
description: ( localize(
|
|
54
|
-
|
|
54
|
+
756,
|
|
55
55
|
'The default of the icon. Either a reference to an extisting ThemeIcon or an icon in an icon font.'
|
|
56
56
|
)),
|
|
57
57
|
}
|
|
@@ -70,7 +70,7 @@ class IconExtensionPoint {
|
|
|
70
70
|
const collector = extension.collector;
|
|
71
71
|
if (!extensionValue || typeof extensionValue !== 'object') {
|
|
72
72
|
collector.error(( localize(
|
|
73
|
-
|
|
73
|
+
757,
|
|
74
74
|
"'configuration.icons' must be an object with the icon names as properties."
|
|
75
75
|
)));
|
|
76
76
|
return;
|
|
@@ -78,7 +78,7 @@ class IconExtensionPoint {
|
|
|
78
78
|
for (const id in extensionValue) {
|
|
79
79
|
if (!id.match(iconIdPattern)) {
|
|
80
80
|
collector.error(( localize(
|
|
81
|
-
|
|
81
|
+
758,
|
|
82
82
|
"'configuration.icons' keys represent the icon id and can only contain letter, digits and minuses. They need to consist of at least two segments in the form `component-iconname`."
|
|
83
83
|
)));
|
|
84
84
|
return;
|
|
@@ -86,7 +86,7 @@ class IconExtensionPoint {
|
|
|
86
86
|
const iconContribution = extensionValue[id];
|
|
87
87
|
if (typeof iconContribution.description !== 'string' || iconContribution.description.length === 0) {
|
|
88
88
|
collector.error(( localize(
|
|
89
|
-
|
|
89
|
+
759,
|
|
90
90
|
"'configuration.icons.description' must be defined and can not be empty"
|
|
91
91
|
)));
|
|
92
92
|
return;
|
|
@@ -100,7 +100,7 @@ class IconExtensionPoint {
|
|
|
100
100
|
const format = formatMap[fileExt];
|
|
101
101
|
if (!format) {
|
|
102
102
|
collector.warn(( localize(
|
|
103
|
-
|
|
103
|
+
760,
|
|
104
104
|
"Expected `contributes.icons.default.fontPath` to have file extension 'woff', woff2' or 'ttf', is '{0}'.",
|
|
105
105
|
fileExt
|
|
106
106
|
)));
|
|
@@ -110,7 +110,7 @@ class IconExtensionPoint {
|
|
|
110
110
|
const iconFontLocation = joinPath(extensionLocation, defaultIcon.fontPath);
|
|
111
111
|
if (!isEqualOrParent(iconFontLocation, extensionLocation)) {
|
|
112
112
|
collector.warn(( localize(
|
|
113
|
-
|
|
113
|
+
761,
|
|
114
114
|
"Expected `contributes.icons.default.fontPath` ({0}) to be included inside extension's folder ({0}).",
|
|
115
115
|
iconFontLocation.path,
|
|
116
116
|
extensionLocation.path
|
|
@@ -129,7 +129,7 @@ class IconExtensionPoint {
|
|
|
129
129
|
}
|
|
130
130
|
else {
|
|
131
131
|
collector.error(( localize(
|
|
132
|
-
|
|
132
|
+
762,
|
|
133
133
|
"'configuration.icons.default' must be either a reference to the id of an other theme icon (string) or a icon definition (object) with properties `fontPath` and `fontCharacter`."
|
|
134
134
|
)));
|
|
135
135
|
}
|
|
@@ -17,11 +17,11 @@ const PROFILE_URL_AUTHORITY_PREFIX = 'profile-';
|
|
|
17
17
|
function isProfileURL(uri) {
|
|
18
18
|
return uri.authority === PROFILE_URL_AUTHORITY || ( (new RegExp(`^${PROFILE_URL_AUTHORITY_PREFIX}`))).test(uri.authority);
|
|
19
19
|
}
|
|
20
|
-
const defaultUserDataProfileIcon = registerIcon('defaultProfile-icon', Codicon.settings, ( localize(
|
|
21
|
-
const PROFILES_TITLE = ( localize2(
|
|
20
|
+
const defaultUserDataProfileIcon = registerIcon('defaultProfile-icon', Codicon.settings, ( localize(2113, 'Icon for Default Profile.')));
|
|
21
|
+
const PROFILES_TITLE = ( localize2(2114, 'Profiles'));
|
|
22
22
|
const PROFILES_CATEGORY = { ...PROFILES_TITLE };
|
|
23
23
|
const PROFILE_EXTENSION = 'code-profile';
|
|
24
|
-
const PROFILE_FILTER = [{ name: ( localize(
|
|
24
|
+
const PROFILE_FILTER = [{ name: ( localize(2115, "Profile")), extensions: [PROFILE_EXTENSION] }];
|
|
25
25
|
const PROFILES_ENABLEMENT_CONTEXT = ( (new RawContextKey('profiles.enabled', true)));
|
|
26
26
|
const CURRENT_PROFILE_CONTEXT = ( (new RawContextKey('currentProfile', '')));
|
|
27
27
|
const IS_CURRENT_PROFILE_TRANSIENT_CONTEXT = ( (new RawContextKey('isCurrentProfileTransient', false)));
|
|
@@ -224,7 +224,7 @@ let ViewsService = class ViewsService extends Disposable {
|
|
|
224
224
|
}
|
|
225
225
|
getFocusedViewName() {
|
|
226
226
|
const viewId = this.contextKeyService.getContextKeyValue(FocusedViewContext.key) ?? '';
|
|
227
|
-
const textEditorFocused = this.editorService.activeTextEditorControl?.hasTextFocus() ? ( localize(
|
|
227
|
+
const textEditorFocused = this.editorService.activeTextEditorControl?.hasTextFocus() ? ( localize(4222, "Text Editor")) : undefined;
|
|
228
228
|
return this.viewDescriptorService.getViewDescriptorById(( (viewId.toString())))?.name?.value ?? textEditorFocused ?? '';
|
|
229
229
|
}
|
|
230
230
|
async openView(id, focus) {
|
|
@@ -325,10 +325,10 @@ let ViewsService = class ViewsService extends Disposable {
|
|
|
325
325
|
const localizedTitle = typeof title === 'string' ? title : title.value;
|
|
326
326
|
const originalTitle = typeof title === 'string' ? title : title.original;
|
|
327
327
|
if (viewContainerLocation === 0 ) {
|
|
328
|
-
return { value: ( localize(
|
|
328
|
+
return { value: ( localize(4223, "Show {0}", localizedTitle)), original: `Show ${originalTitle}` };
|
|
329
329
|
}
|
|
330
330
|
else {
|
|
331
|
-
return { value: ( localize(
|
|
331
|
+
return { value: ( localize(4224, "Toggle {0}", localizedTitle)), original: `Toggle ${originalTitle}` };
|
|
332
332
|
}
|
|
333
333
|
},
|
|
334
334
|
category: Categories.View,
|
|
@@ -396,10 +396,10 @@ let ViewsService = class ViewsService extends Disposable {
|
|
|
396
396
|
const localizedTitle = typeof title === 'string' ? title : title.value;
|
|
397
397
|
const originalTitle = typeof title === 'string' ? title : title.original;
|
|
398
398
|
if (viewContainerLocation === 0 ) {
|
|
399
|
-
return { value: ( localize(
|
|
399
|
+
return { value: ( localize(4223, "Show {0}", localizedTitle)), original: `Show ${originalTitle}` };
|
|
400
400
|
}
|
|
401
401
|
else {
|
|
402
|
-
return { value: ( localize(
|
|
402
|
+
return { value: ( localize(4224, "Toggle {0}", localizedTitle)), original: `Toggle ${originalTitle}` };
|
|
403
403
|
}
|
|
404
404
|
},
|
|
405
405
|
category: Categories.View,
|
|
@@ -450,7 +450,7 @@ let ViewsService = class ViewsService extends Disposable {
|
|
|
450
450
|
registerFocusViewAction(viewDescriptor, category) {
|
|
451
451
|
return registerAction2(class FocusViewAction extends Action2 {
|
|
452
452
|
constructor() {
|
|
453
|
-
const title = ( localize2(
|
|
453
|
+
const title = ( localize2(4225, "Focus on {0} View", viewDescriptor.name.value));
|
|
454
454
|
super({
|
|
455
455
|
id: viewDescriptor.focusCommand ? viewDescriptor.focusCommand.id : `${viewDescriptor.id}.focus`,
|
|
456
456
|
title,
|
|
@@ -498,7 +498,7 @@ let ViewsService = class ViewsService extends Disposable {
|
|
|
498
498
|
constructor() {
|
|
499
499
|
super({
|
|
500
500
|
id: `${viewDescriptor.id}.resetViewLocation`,
|
|
501
|
-
title: ( localize2(
|
|
501
|
+
title: ( localize2(4226, "Reset Location")),
|
|
502
502
|
menu: [{
|
|
503
503
|
id: MenuId.ViewTitleContext,
|
|
504
504
|
when: ( (ContextKeyExpr.or( (ContextKeyExpr.and(
|
|
@@ -390,7 +390,7 @@ let StoredFileWorkingCopy = class StoredFileWorkingCopy extends ResourceWorkingC
|
|
|
390
390
|
}
|
|
391
391
|
const saveCancellation = ( (new CancellationTokenSource()));
|
|
392
392
|
return this.progressService.withProgress({
|
|
393
|
-
title: ( localize(
|
|
393
|
+
title: ( localize(11589, "Saving '{0}'", this.name)),
|
|
394
394
|
location: 10 ,
|
|
395
395
|
cancellable: true,
|
|
396
396
|
delay: this.isDirty() ? 3000 : 5000
|
|
@@ -437,7 +437,7 @@ let StoredFileWorkingCopy = class StoredFileWorkingCopy extends ResourceWorkingC
|
|
|
437
437
|
}
|
|
438
438
|
versionId = this.versionId;
|
|
439
439
|
this.inErrorMode = false;
|
|
440
|
-
progress.report({ message: ( localize(
|
|
440
|
+
progress.report({ message: ( localize(11590, "Writing into file...")) });
|
|
441
441
|
this.trace(`doSave(${versionId}) - before write()`);
|
|
442
442
|
const lastResolvedFileStat = assertIsDefined(this.lastResolvedFileStat);
|
|
443
443
|
const resolvedFileWorkingCopy = this;
|
|
@@ -514,12 +514,12 @@ let StoredFileWorkingCopy = class StoredFileWorkingCopy extends ResourceWorkingC
|
|
|
514
514
|
let message;
|
|
515
515
|
if (fileOperationError.fileOperationResult === 3 ) {
|
|
516
516
|
message = ( localize(
|
|
517
|
-
|
|
517
|
+
11591,
|
|
518
518
|
"Failed to save '{0}': The content of the file is newer. Do you want to overwrite the file with your changes?",
|
|
519
519
|
this.name
|
|
520
520
|
));
|
|
521
|
-
primaryActions.push(toAction({ id: 'fileWorkingCopy.overwrite', label: ( localize(
|
|
522
|
-
primaryActions.push(toAction({ id: 'fileWorkingCopy.revert', label: ( localize(
|
|
521
|
+
primaryActions.push(toAction({ id: 'fileWorkingCopy.overwrite', label: ( localize(11592, "Overwrite")), run: () => this.save({ ...options, ignoreModifiedSince: true, reason: 1 }) }));
|
|
522
|
+
primaryActions.push(toAction({ id: 'fileWorkingCopy.revert', label: ( localize(11593, "Revert")), run: () => this.revert() }));
|
|
523
523
|
}
|
|
524
524
|
else {
|
|
525
525
|
const isWriteLocked = fileOperationError.fileOperationResult === 5 ;
|
|
@@ -533,22 +533,22 @@ let StoredFileWorkingCopy = class StoredFileWorkingCopy extends ResourceWorkingC
|
|
|
533
533
|
primaryActions.push(toAction({
|
|
534
534
|
id: 'fileWorkingCopy.saveElevated',
|
|
535
535
|
label: triedToUnlock ?
|
|
536
|
-
isWindows ? ( localize(
|
|
537
|
-
isWindows ? ( localize(
|
|
536
|
+
isWindows ? ( localize(11594, "Overwrite as Admin...")) : ( localize(11595, "Overwrite as Sudo...")) :
|
|
537
|
+
isWindows ? ( localize(11596, "Retry as Admin...")) : ( localize(11597, "Retry as Sudo...")),
|
|
538
538
|
run: () => {
|
|
539
539
|
this.save({ ...options, writeElevated: true, writeUnlock: triedToUnlock, reason: 1 });
|
|
540
540
|
}
|
|
541
541
|
}));
|
|
542
542
|
}
|
|
543
543
|
else if (isWriteLocked) {
|
|
544
|
-
primaryActions.push(toAction({ id: 'fileWorkingCopy.unlock', label: ( localize(
|
|
544
|
+
primaryActions.push(toAction({ id: 'fileWorkingCopy.unlock', label: ( localize(11592, "Overwrite")), run: () => this.save({ ...options, writeUnlock: true, reason: 1 }) }));
|
|
545
545
|
}
|
|
546
546
|
else {
|
|
547
|
-
primaryActions.push(toAction({ id: 'fileWorkingCopy.retry', label: ( localize(
|
|
547
|
+
primaryActions.push(toAction({ id: 'fileWorkingCopy.retry', label: ( localize(11598, "Retry")), run: () => this.save({ ...options, reason: 1 }) }));
|
|
548
548
|
}
|
|
549
549
|
primaryActions.push(toAction({
|
|
550
550
|
id: 'fileWorkingCopy.saveAs',
|
|
551
|
-
label: ( localize(
|
|
551
|
+
label: ( localize(11599, "Save As...")),
|
|
552
552
|
run: async () => {
|
|
553
553
|
const editor = this.workingCopyEditorService.findEditor(this);
|
|
554
554
|
if (editor) {
|
|
@@ -559,24 +559,24 @@ let StoredFileWorkingCopy = class StoredFileWorkingCopy extends ResourceWorkingC
|
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
561
|
}));
|
|
562
|
-
primaryActions.push(toAction({ id: 'fileWorkingCopy.revert', label: ( localize(
|
|
562
|
+
primaryActions.push(toAction({ id: 'fileWorkingCopy.revert', label: ( localize(11593, "Revert")), run: () => this.revert() }));
|
|
563
563
|
if (isWriteLocked) {
|
|
564
564
|
if (triedToUnlock && canSaveElevated) {
|
|
565
565
|
message = isWindows ?
|
|
566
566
|
( localize(
|
|
567
|
-
|
|
567
|
+
11600,
|
|
568
568
|
"Failed to save '{0}': File is read-only. Select 'Overwrite as Admin' to retry as administrator.",
|
|
569
569
|
this.name
|
|
570
570
|
)) :
|
|
571
571
|
( localize(
|
|
572
|
-
|
|
572
|
+
11601,
|
|
573
573
|
"Failed to save '{0}': File is read-only. Select 'Overwrite as Sudo' to retry as superuser.",
|
|
574
574
|
this.name
|
|
575
575
|
));
|
|
576
576
|
}
|
|
577
577
|
else {
|
|
578
578
|
message = ( localize(
|
|
579
|
-
|
|
579
|
+
11602,
|
|
580
580
|
"Failed to save '{0}': File is read-only. Select 'Overwrite' to attempt to make it writeable.",
|
|
581
581
|
this.name
|
|
582
582
|
));
|
|
@@ -585,19 +585,19 @@ let StoredFileWorkingCopy = class StoredFileWorkingCopy extends ResourceWorkingC
|
|
|
585
585
|
else if (canSaveElevated && isPermissionDenied) {
|
|
586
586
|
message = isWindows ?
|
|
587
587
|
( localize(
|
|
588
|
-
|
|
588
|
+
11603,
|
|
589
589
|
"Failed to save '{0}': Insufficient permissions. Select 'Retry as Admin' to retry as administrator.",
|
|
590
590
|
this.name
|
|
591
591
|
)) :
|
|
592
592
|
( localize(
|
|
593
|
-
|
|
593
|
+
11604,
|
|
594
594
|
"Failed to save '{0}': Insufficient permissions. Select 'Retry as Sudo' to retry as superuser.",
|
|
595
595
|
this.name
|
|
596
596
|
));
|
|
597
597
|
}
|
|
598
598
|
else {
|
|
599
599
|
message = ( localize(
|
|
600
|
-
|
|
600
|
+
11605,
|
|
601
601
|
"Failed to save '{0}': {1}",
|
|
602
602
|
this.name,
|
|
603
603
|
toErrorMessage(error, false)
|