monaco-editor-core 0.55.0-dev-20251104 → 0.55.0-dev-20251105
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/esm/nls.keys.json +1 -1
- package/esm/nls.messages.cs.js +2 -2
- package/esm/nls.messages.de.js +2 -2
- package/esm/nls.messages.es.js +2 -2
- package/esm/nls.messages.fr.js +2 -2
- package/esm/nls.messages.it.js +2 -2
- package/esm/nls.messages.ja.js +2 -2
- package/esm/nls.messages.js +1 -1
- package/esm/nls.messages.json +1 -1
- package/esm/nls.messages.ko.js +2 -2
- package/esm/nls.messages.pl.js +2 -2
- package/esm/nls.messages.pt-br.js +2 -2
- package/esm/nls.messages.ru.js +2 -2
- package/esm/nls.messages.tr.js +2 -2
- package/esm/nls.messages.zh-cn.js +2 -2
- package/esm/nls.messages.zh-tw.js +2 -2
- package/esm/nls.metadata.json +12 -8
- package/esm/vs/editor/contrib/hover/browser/hover.css +1 -0
- package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -0
- package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js.map +1 -1
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +20 -20
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/esm/vs/editor/contrib/links/browser/links.js +10 -10
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +16 -25
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js.map +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/hover/browser/hoverWidget.js +1 -1
- package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/package.json +2 -2
|
@@ -23,9 +23,9 @@ import { IContextViewService } from '../../contextview/browser/contextView.js';
|
|
|
23
23
|
import { registerSingleton } from '../../instantiation/common/extensions.js';
|
|
24
24
|
import { createDecorator, IInstantiationService } from '../../instantiation/common/instantiation.js';
|
|
25
25
|
import { inputActiveOptionBackground, registerColor } from '../../theme/common/colorRegistry.js';
|
|
26
|
-
registerColor('actionBar.toggledBackground', inputActiveOptionBackground, localize(
|
|
26
|
+
registerColor('actionBar.toggledBackground', inputActiveOptionBackground, localize(1658, 'Background color for toggled action items in action bar.'));
|
|
27
27
|
const ActionWidgetContextKeys = {
|
|
28
|
-
Visible: new RawContextKey('codeActionMenuVisible', false, localize(
|
|
28
|
+
Visible: new RawContextKey('codeActionMenuVisible', false, localize(1659, "Whether the action widget list is visible"))
|
|
29
29
|
};
|
|
30
30
|
export const IActionWidgetService = createDecorator('actionWidgetService');
|
|
31
31
|
let ActionWidgetService = class ActionWidgetService extends Disposable {
|
|
@@ -131,7 +131,7 @@ registerAction2(class extends Action2 {
|
|
|
131
131
|
constructor() {
|
|
132
132
|
super({
|
|
133
133
|
id: 'hideCodeActionWidget',
|
|
134
|
-
title: localize2(
|
|
134
|
+
title: localize2(1660, "Hide action widget"),
|
|
135
135
|
precondition: ActionWidgetContextKeys.Visible,
|
|
136
136
|
keybinding: {
|
|
137
137
|
weight,
|
|
@@ -148,7 +148,7 @@ registerAction2(class extends Action2 {
|
|
|
148
148
|
constructor() {
|
|
149
149
|
super({
|
|
150
150
|
id: 'selectPrevCodeAction',
|
|
151
|
-
title: localize2(
|
|
151
|
+
title: localize2(1661, "Select previous action"),
|
|
152
152
|
precondition: ActionWidgetContextKeys.Visible,
|
|
153
153
|
keybinding: {
|
|
154
154
|
weight,
|
|
@@ -169,7 +169,7 @@ registerAction2(class extends Action2 {
|
|
|
169
169
|
constructor() {
|
|
170
170
|
super({
|
|
171
171
|
id: 'selectNextCodeAction',
|
|
172
|
-
title: localize2(
|
|
172
|
+
title: localize2(1662, "Select next action"),
|
|
173
173
|
precondition: ActionWidgetContextKeys.Visible,
|
|
174
174
|
keybinding: {
|
|
175
175
|
weight,
|
|
@@ -190,7 +190,7 @@ registerAction2(class extends Action2 {
|
|
|
190
190
|
constructor() {
|
|
191
191
|
super({
|
|
192
192
|
id: acceptSelectedActionCommand,
|
|
193
|
-
title: localize2(
|
|
193
|
+
title: localize2(1663, "Accept selected action"),
|
|
194
194
|
precondition: ActionWidgetContextKeys.Visible,
|
|
195
195
|
keybinding: {
|
|
196
196
|
weight,
|
|
@@ -210,7 +210,7 @@ registerAction2(class extends Action2 {
|
|
|
210
210
|
constructor() {
|
|
211
211
|
super({
|
|
212
212
|
id: previewSelectedActionCommand,
|
|
213
|
-
title: localize2(
|
|
213
|
+
title: localize2(1664, "Preview selected action"),
|
|
214
214
|
precondition: ActionWidgetContextKeys.Visible,
|
|
215
215
|
keybinding: {
|
|
216
216
|
weight,
|
|
@@ -184,16 +184,16 @@ let MenuEntryActionViewItem = class MenuEntryActionViewItem extends ActionViewIt
|
|
|
184
184
|
const keybindingLabel = keybinding && keybinding.getLabel();
|
|
185
185
|
const tooltip = this._commandAction.tooltip || this._commandAction.label;
|
|
186
186
|
let title = keybindingLabel
|
|
187
|
-
? localize(
|
|
187
|
+
? localize(1645, "{0} ({1})", tooltip, keybindingLabel)
|
|
188
188
|
: tooltip;
|
|
189
189
|
if (!this._wantsAltCommand && this._menuItemAction.alt?.enabled) {
|
|
190
190
|
const altTooltip = this._menuItemAction.alt.tooltip || this._menuItemAction.alt.label;
|
|
191
191
|
const altKeybinding = this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id, this._contextKeyService);
|
|
192
192
|
const altKeybindingLabel = altKeybinding && altKeybinding.getLabel();
|
|
193
193
|
const altTitleSection = altKeybindingLabel
|
|
194
|
-
? localize(
|
|
194
|
+
? localize(1646, "{0} ({1})", altTooltip, altKeybindingLabel)
|
|
195
195
|
: altTooltip;
|
|
196
|
-
title = localize(
|
|
196
|
+
title = localize(1647, "{0}\n[{1}] {2}", title, UILabelProvider.modifierLabels[OS].altKey, altTitleSection);
|
|
197
197
|
}
|
|
198
198
|
return title;
|
|
199
199
|
}
|
|
@@ -268,10 +268,10 @@ export class TextOnlyMenuEntryActionViewItem extends MenuEntryActionViewItem {
|
|
|
268
268
|
if (this.label) {
|
|
269
269
|
const kb2 = TextOnlyMenuEntryActionViewItem._symbolPrintEnter(kb);
|
|
270
270
|
if (this._options?.conversational) {
|
|
271
|
-
this.label.textContent = localize(
|
|
271
|
+
this.label.textContent = localize(1648, '{1} to {0}', this._action.label, kb2);
|
|
272
272
|
}
|
|
273
273
|
else {
|
|
274
|
-
this.label.textContent = localize(
|
|
274
|
+
this.label.textContent = localize(1649, '{0} ({1})', this._action.label, kb2);
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
}
|
|
@@ -173,7 +173,7 @@ let WorkbenchToolBar = class WorkbenchToolBar extends ToolBar {
|
|
|
173
173
|
else {
|
|
174
174
|
primaryActions.push(toAction({
|
|
175
175
|
id: 'label',
|
|
176
|
-
label: localize(
|
|
176
|
+
label: localize(1650, "Hide"),
|
|
177
177
|
enabled: false,
|
|
178
178
|
run() { }
|
|
179
179
|
}));
|
|
@@ -188,7 +188,7 @@ let WorkbenchToolBar = class WorkbenchToolBar extends ToolBar {
|
|
|
188
188
|
actions.push(new Separator());
|
|
189
189
|
actions.push(toAction({
|
|
190
190
|
id: 'resetThisMenu',
|
|
191
|
-
label: localize(
|
|
191
|
+
label: localize(1651, "Reset Menu"),
|
|
192
192
|
run: () => this._menuService.resetHiddenStates(menuIds)
|
|
193
193
|
}));
|
|
194
194
|
}
|
|
@@ -403,7 +403,7 @@ function createMenuHide(menu, command, states) {
|
|
|
403
403
|
const title = typeof command.title === 'string' ? command.title : command.title.value;
|
|
404
404
|
const hide = toAction({
|
|
405
405
|
id: `hide/${menu.id}/${id}`,
|
|
406
|
-
label: localize(
|
|
406
|
+
label: localize(1652, 'Hide \'{0}\'', title),
|
|
407
407
|
run() { states.updateHidden(menu, id, true); }
|
|
408
408
|
});
|
|
409
409
|
const toggle = toAction({
|
|
@@ -421,7 +421,7 @@ function createMenuHide(menu, command, states) {
|
|
|
421
421
|
export function createConfigureKeybindingAction(commandService, keybindingService, commandId, when = undefined, enabled = true) {
|
|
422
422
|
return toAction({
|
|
423
423
|
id: `configureKeybinding/${commandId}`,
|
|
424
|
-
label: localize(
|
|
424
|
+
label: localize(1653, "Configure Keybinding"),
|
|
425
425
|
enabled,
|
|
426
426
|
run() {
|
|
427
427
|
// Only set the when clause when there is no keybinding
|
|
@@ -33,7 +33,7 @@ class ConfigurationRegistry extends Disposable {
|
|
|
33
33
|
this.configurationDefaultsOverrides = new Map();
|
|
34
34
|
this.defaultLanguageConfigurationOverridesNode = {
|
|
35
35
|
id: 'defaultOverrides',
|
|
36
|
-
title: nls.localize(
|
|
36
|
+
title: nls.localize(1665, "Default Language Configuration Overrides"),
|
|
37
37
|
properties: {}
|
|
38
38
|
};
|
|
39
39
|
this.configurationContributors = [this.defaultLanguageConfigurationOverridesNode];
|
|
@@ -114,7 +114,7 @@ class ConfigurationRegistry extends Disposable {
|
|
|
114
114
|
},
|
|
115
115
|
type: 'object',
|
|
116
116
|
default: newDefaultOverride.value,
|
|
117
|
-
description: nls.localize(
|
|
117
|
+
description: nls.localize(1666, "Configure settings to be overridden for {0}.", getLanguageTagSettingPlainKey(key)),
|
|
118
118
|
$ref: resourceLanguageSettingsSchemaId,
|
|
119
119
|
defaultDefaultValue: newDefaultOverride.value,
|
|
120
120
|
source,
|
|
@@ -321,8 +321,8 @@ class ConfigurationRegistry extends Disposable {
|
|
|
321
321
|
const overrideIdentifierProperty = `[${overrideIdentifier}]`;
|
|
322
322
|
const resourceLanguagePropertiesSchema = {
|
|
323
323
|
type: 'object',
|
|
324
|
-
description: nls.localize(
|
|
325
|
-
errorMessage: nls.localize(
|
|
324
|
+
description: nls.localize(1667, "Configure editor settings to be overridden for a language."),
|
|
325
|
+
errorMessage: nls.localize(1668, "This setting does not support per-language configuration."),
|
|
326
326
|
$ref: resourceLanguageSettingsSchemaId,
|
|
327
327
|
};
|
|
328
328
|
this.updatePropertyDefaultValue(overrideIdentifierProperty, resourceLanguagePropertiesSchema);
|
|
@@ -338,8 +338,8 @@ class ConfigurationRegistry extends Disposable {
|
|
|
338
338
|
registerOverridePropertyPatternKey() {
|
|
339
339
|
const resourceLanguagePropertiesSchema = {
|
|
340
340
|
type: 'object',
|
|
341
|
-
description: nls.localize(
|
|
342
|
-
errorMessage: nls.localize(
|
|
341
|
+
description: nls.localize(1669, "Configure editor settings to be overridden for a language."),
|
|
342
|
+
errorMessage: nls.localize(1670, "This setting does not support per-language configuration."),
|
|
343
343
|
$ref: resourceLanguageSettingsSchemaId,
|
|
344
344
|
};
|
|
345
345
|
allSettings.patternProperties[OVERRIDE_PROPERTY_PATTERN] = resourceLanguagePropertiesSchema;
|
|
@@ -412,16 +412,16 @@ const configurationRegistry = new ConfigurationRegistry();
|
|
|
412
412
|
Registry.add(Extensions.Configuration, configurationRegistry);
|
|
413
413
|
export function validateProperty(property, schema) {
|
|
414
414
|
if (!property.trim()) {
|
|
415
|
-
return nls.localize(
|
|
415
|
+
return nls.localize(1671, "Cannot register an empty property");
|
|
416
416
|
}
|
|
417
417
|
if (OVERRIDE_PROPERTY_REGEX.test(property)) {
|
|
418
|
-
return nls.localize(
|
|
418
|
+
return nls.localize(1672, "Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.", property);
|
|
419
419
|
}
|
|
420
420
|
if (configurationRegistry.getConfigurationProperties()[property] !== undefined && !CODE_UNIFICATION_DUPLICATE_SETTINGS.has(property)) {
|
|
421
|
-
return nls.localize(
|
|
421
|
+
return nls.localize(1673, "Cannot register '{0}'. This property is already registered.", property);
|
|
422
422
|
}
|
|
423
423
|
if (schema.policy?.name && configurationRegistry.getPolicyConfigurations().get(schema.policy?.name) !== undefined) {
|
|
424
|
-
return nls.localize(
|
|
424
|
+
return nls.localize(1674, "Cannot register '{0}'. The associated policy {1} is already registered with {2}.", property, schema.policy?.name, configurationRegistry.getPolicyConfigurations().get(schema.policy?.name));
|
|
425
425
|
}
|
|
426
426
|
return null;
|
|
427
427
|
}
|
|
@@ -448,7 +448,7 @@ CommandsRegistry.registerCommand({
|
|
|
448
448
|
return [...RawContextKey.all()].sort((a, b) => a.key.localeCompare(b.key));
|
|
449
449
|
},
|
|
450
450
|
metadata: {
|
|
451
|
-
description: localize(
|
|
451
|
+
description: localize(1675, "A command that returns information about context keys"),
|
|
452
452
|
args: []
|
|
453
453
|
}
|
|
454
454
|
});
|
|
@@ -23,14 +23,14 @@ const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
|
23
23
|
const defaultConfig = {
|
|
24
24
|
regexParsingWithErrorRecovery: true
|
|
25
25
|
};
|
|
26
|
-
const errorEmptyString = localize(
|
|
27
|
-
const hintEmptyString = localize(
|
|
28
|
-
const errorNoInAfterNot = localize(
|
|
29
|
-
const errorClosingParenthesis = localize(
|
|
30
|
-
const errorUnexpectedToken = localize(
|
|
31
|
-
const hintUnexpectedToken = localize(
|
|
32
|
-
const errorUnexpectedEOF = localize(
|
|
33
|
-
const hintUnexpectedEOF = localize(
|
|
26
|
+
const errorEmptyString = localize(1676, "Empty context key expression");
|
|
27
|
+
const hintEmptyString = localize(1677, "Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively.");
|
|
28
|
+
const errorNoInAfterNot = localize(1678, "'in' after 'not'.");
|
|
29
|
+
const errorClosingParenthesis = localize(1679, "closing parenthesis ')'");
|
|
30
|
+
const errorUnexpectedToken = localize(1680, "Unexpected token");
|
|
31
|
+
const hintUnexpectedToken = localize(1681, "Did you forget to put && or || before the token?");
|
|
32
|
+
const errorUnexpectedEOF = localize(1682, "Unexpected end of expression");
|
|
33
|
+
const hintUnexpectedEOF = localize(1683, "Did you forget to put a context key?");
|
|
34
34
|
/**
|
|
35
35
|
* A parser for context key expressions.
|
|
36
36
|
*
|
|
@@ -375,7 +375,7 @@ export class Parser {
|
|
|
375
375
|
throw this._errExpectedButGot(message, this._peek());
|
|
376
376
|
}
|
|
377
377
|
_errExpectedButGot(expected, got, additionalInfo) {
|
|
378
|
-
const message = localize(
|
|
378
|
+
const message = localize(1684, "Expected: {0}\nReceived: '{1}'.", expected, Scanner.getLexeme(got));
|
|
379
379
|
const offset = got.offset;
|
|
380
380
|
const lexeme = Scanner.getLexeme(got);
|
|
381
381
|
this._parsingErrors.push({ message, offset, lexeme, additionalInfo });
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
import { isIOS, isLinux, isMacintosh, isMobile, isWeb, isWindows } from '../../../base/common/platform.js';
|
|
6
6
|
import { localize } from '../../../nls.js';
|
|
7
7
|
import { RawContextKey } from './contextkey.js';
|
|
8
|
-
export const IsMacContext = new RawContextKey('isMac', isMacintosh, localize(
|
|
9
|
-
export const IsLinuxContext = new RawContextKey('isLinux', isLinux, localize(
|
|
10
|
-
export const IsWindowsContext = new RawContextKey('isWindows', isWindows, localize(
|
|
11
|
-
export const IsWebContext = new RawContextKey('isWeb', isWeb, localize(
|
|
12
|
-
export const IsMacNativeContext = new RawContextKey('isMacNative', isMacintosh && !isWeb, localize(
|
|
13
|
-
export const IsIOSContext = new RawContextKey('isIOS', isIOS, localize(
|
|
14
|
-
export const IsMobileContext = new RawContextKey('isMobile', isMobile, localize(
|
|
8
|
+
export const IsMacContext = new RawContextKey('isMac', isMacintosh, localize(1685, "Whether the operating system is macOS"));
|
|
9
|
+
export const IsLinuxContext = new RawContextKey('isLinux', isLinux, localize(1686, "Whether the operating system is Linux"));
|
|
10
|
+
export const IsWindowsContext = new RawContextKey('isWindows', isWindows, localize(1687, "Whether the operating system is Windows"));
|
|
11
|
+
export const IsWebContext = new RawContextKey('isWeb', isWeb, localize(1688, "Whether the platform is a web browser"));
|
|
12
|
+
export const IsMacNativeContext = new RawContextKey('isMacNative', isMacintosh && !isWeb, localize(1689, "Whether the operating system is macOS on a non-browser platform"));
|
|
13
|
+
export const IsIOSContext = new RawContextKey('isIOS', isIOS, localize(1690, "Whether the operating system is iOS"));
|
|
14
|
+
export const IsMobileContext = new RawContextKey('isMobile', isMobile, localize(1691, "Whether the platform is a mobile web browser"));
|
|
15
15
|
export const IsDevelopmentContext = new RawContextKey('isDevelopment', false, true);
|
|
16
|
-
export const ProductQualityContext = new RawContextKey('productQualityType', '', localize(
|
|
16
|
+
export const ProductQualityContext = new RawContextKey('productQualityType', '', localize(1692, "Quality type of VS Code"));
|
|
17
17
|
export const InputFocusedContextKey = 'inputFocus';
|
|
18
|
-
export const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, localize(
|
|
18
|
+
export const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, localize(1693, "Whether keyboard focus is inside an input box"));
|
|
19
19
|
//# sourceMappingURL=contextkeys.js.map
|
|
@@ -7,17 +7,17 @@ import { localize } from '../../../nls.js';
|
|
|
7
7
|
function hintDidYouMean(...meant) {
|
|
8
8
|
switch (meant.length) {
|
|
9
9
|
case 1:
|
|
10
|
-
return localize(
|
|
10
|
+
return localize(1694, "Did you mean {0}?", meant[0]);
|
|
11
11
|
case 2:
|
|
12
|
-
return localize(
|
|
12
|
+
return localize(1695, "Did you mean {0} or {1}?", meant[0], meant[1]);
|
|
13
13
|
case 3:
|
|
14
|
-
return localize(
|
|
14
|
+
return localize(1696, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
|
|
15
15
|
default: // we just don't expect that many
|
|
16
16
|
return undefined;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
const hintDidYouForgetToOpenOrCloseQuote = localize(
|
|
20
|
-
const hintDidYouForgetToEscapeSlash = localize(
|
|
19
|
+
const hintDidYouForgetToOpenOrCloseQuote = localize(1697, "Did you forget to open or close the quote?");
|
|
20
|
+
const hintDidYouForgetToEscapeSlash = localize(1698, "Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/\'.");
|
|
21
21
|
/**
|
|
22
22
|
* A simple scanner for context keys.
|
|
23
23
|
*
|
|
@@ -18,7 +18,7 @@ import { KeybindingsRegistry } from '../../keybinding/common/keybindingsRegistry
|
|
|
18
18
|
import { localize } from '../../../nls.js';
|
|
19
19
|
import { DisposableStore, toDisposable } from '../../../base/common/lifecycle.js';
|
|
20
20
|
import { isActiveElement } from '../../../base/browser/dom.js';
|
|
21
|
-
export const historyNavigationVisible = new RawContextKey('suggestWidgetVisible', false, localize(
|
|
21
|
+
export const historyNavigationVisible = new RawContextKey('suggestWidgetVisible', false, localize(1699, "Whether suggestion are visible"));
|
|
22
22
|
const HistoryNavigationWidgetFocusContext = 'historyNavigationWidgetFocus';
|
|
23
23
|
const HistoryNavigationForwardsEnablementContext = 'historyNavigationForwardsEnabled';
|
|
24
24
|
const HistoryNavigationBackwardsEnablementContext = 'historyNavigationBackwardsEnabled';
|
|
@@ -196,7 +196,7 @@ let HoverWidget = class HoverWidget extends Widget {
|
|
|
196
196
|
if (options.appearance?.showHoverHint) {
|
|
197
197
|
const statusBarElement = $('div.hover-row.status-bar');
|
|
198
198
|
const infoElement = $('div.info');
|
|
199
|
-
infoElement.textContent = localize(
|
|
199
|
+
infoElement.textContent = localize(1700, 'Hold {0} key to mouse over', isMacintosh ? 'Option' : 'Alt');
|
|
200
200
|
statusBarElement.appendChild(infoElement);
|
|
201
201
|
this._hover.containerDomNode.appendChild(statusBarElement);
|
|
202
202
|
}
|
|
@@ -47,7 +47,7 @@ export class ManagedHoverWidget {
|
|
|
47
47
|
if (managedContent instanceof Promise) {
|
|
48
48
|
// show 'Loading' if no hover is up yet
|
|
49
49
|
if (!this._hoverWidget) {
|
|
50
|
-
this.show(localize(
|
|
50
|
+
this.show(localize(1701, "Loading..."), focus, options);
|
|
51
51
|
}
|
|
52
52
|
resolvedContent = await managedContent;
|
|
53
53
|
}
|
|
@@ -95,11 +95,11 @@ export class AbstractKeybindingService extends Disposable {
|
|
|
95
95
|
throw illegalState('impossible');
|
|
96
96
|
case 1:
|
|
97
97
|
// TODO@ulugbekna: revise this message and the one below (at least, fix terminology)
|
|
98
|
-
this._currentChordStatusMessage = this._notificationService.status(nls.localize(
|
|
98
|
+
this._currentChordStatusMessage = this._notificationService.status(nls.localize(1702, "({0}) was pressed. Waiting for second key of chord...", keypressLabel));
|
|
99
99
|
break;
|
|
100
100
|
default: {
|
|
101
101
|
const fullKeypressLabel = this._currentChords.map(({ label }) => label).join(', ');
|
|
102
|
-
this._currentChordStatusMessage = this._notificationService.status(nls.localize(
|
|
102
|
+
this._currentChordStatusMessage = this._notificationService.status(nls.localize(1703, "({0}) was pressed. Waiting for next key of chord...", fullKeypressLabel));
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
this._scheduleLeaveChordMode();
|
|
@@ -198,7 +198,7 @@ export class AbstractKeybindingService extends Disposable {
|
|
|
198
198
|
if (this.inChordMode) {
|
|
199
199
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(', ');
|
|
200
200
|
this._log(`+ Leaving multi-chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
201
|
-
this._notificationService.status(nls.localize(
|
|
201
|
+
this._notificationService.status(nls.localize(1704, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
|
|
202
202
|
this._leaveChordMode();
|
|
203
203
|
shouldPreventDefault = true;
|
|
204
204
|
}
|
|
@@ -217,7 +217,7 @@ export class AbstractKeybindingService extends Disposable {
|
|
|
217
217
|
if (this.inChordMode) {
|
|
218
218
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(', ');
|
|
219
219
|
this._log(`+ Leaving chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
220
|
-
this._notificationService.status(nls.localize(
|
|
220
|
+
this._notificationService.status(nls.localize(1705, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
|
|
221
221
|
this._leaveChordMode();
|
|
222
222
|
shouldPreventDefault = true;
|
|
223
223
|
}
|
|
@@ -904,18 +904,18 @@ const configurationRegistry = Registry.as(ConfigurationExtensions.Configuration)
|
|
|
904
904
|
configurationRegistry.registerConfiguration({
|
|
905
905
|
id: 'workbench',
|
|
906
906
|
order: 7,
|
|
907
|
-
title: localize(
|
|
907
|
+
title: localize(1706, "Workbench"),
|
|
908
908
|
type: 'object',
|
|
909
909
|
properties: {
|
|
910
910
|
[multiSelectModifierSettingKey]: {
|
|
911
911
|
type: 'string',
|
|
912
912
|
enum: ['ctrlCmd', 'alt'],
|
|
913
913
|
markdownEnumDescriptions: [
|
|
914
|
-
localize(
|
|
915
|
-
localize(
|
|
914
|
+
localize(1707, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
|
|
915
|
+
localize(1708, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
|
|
916
916
|
],
|
|
917
917
|
default: 'ctrlCmd',
|
|
918
|
-
description: localize(
|
|
918
|
+
description: localize(1709, "The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")
|
|
919
919
|
|
|
920
920
|
|
|
921
921
|
|
|
@@ -927,7 +927,7 @@ configurationRegistry.registerConfiguration({
|
|
|
927
927
|
type: 'string',
|
|
928
928
|
enum: ['singleClick', 'doubleClick'],
|
|
929
929
|
default: 'singleClick',
|
|
930
|
-
description: localize(
|
|
930
|
+
description: localize(1710, "Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")
|
|
931
931
|
|
|
932
932
|
|
|
933
933
|
|
|
@@ -935,96 +935,96 @@ configurationRegistry.registerConfiguration({
|
|
|
935
935
|
[horizontalScrollingKey]: {
|
|
936
936
|
type: 'boolean',
|
|
937
937
|
default: false,
|
|
938
|
-
description: localize(
|
|
938
|
+
description: localize(1711, "Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")
|
|
939
939
|
},
|
|
940
940
|
[scrollByPageKey]: {
|
|
941
941
|
type: 'boolean',
|
|
942
942
|
default: false,
|
|
943
|
-
description: localize(
|
|
943
|
+
description: localize(1712, "Controls whether clicks in the scrollbar scroll page by page.")
|
|
944
944
|
},
|
|
945
945
|
[treeIndentKey]: {
|
|
946
946
|
type: 'number',
|
|
947
947
|
default: 8,
|
|
948
948
|
minimum: 4,
|
|
949
949
|
maximum: 40,
|
|
950
|
-
description: localize(
|
|
950
|
+
description: localize(1713, "Controls tree indentation in pixels.")
|
|
951
951
|
},
|
|
952
952
|
[treeRenderIndentGuidesKey]: {
|
|
953
953
|
type: 'string',
|
|
954
954
|
enum: ['none', 'onHover', 'always'],
|
|
955
955
|
default: 'onHover',
|
|
956
|
-
description: localize(
|
|
956
|
+
description: localize(1714, "Controls whether the tree should render indent guides.")
|
|
957
957
|
},
|
|
958
958
|
[listSmoothScrolling]: {
|
|
959
959
|
type: 'boolean',
|
|
960
960
|
default: false,
|
|
961
|
-
description: localize(
|
|
961
|
+
description: localize(1715, "Controls whether lists and trees have smooth scrolling."),
|
|
962
962
|
},
|
|
963
963
|
[mouseWheelScrollSensitivityKey]: {
|
|
964
964
|
type: 'number',
|
|
965
965
|
default: 1,
|
|
966
|
-
markdownDescription: localize(
|
|
966
|
+
markdownDescription: localize(1716, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")
|
|
967
967
|
},
|
|
968
968
|
[fastScrollSensitivityKey]: {
|
|
969
969
|
type: 'number',
|
|
970
970
|
default: 5,
|
|
971
|
-
markdownDescription: localize(
|
|
971
|
+
markdownDescription: localize(1717, "Scrolling speed multiplier when pressing `Alt`.")
|
|
972
972
|
},
|
|
973
973
|
[defaultFindModeSettingKey]: {
|
|
974
974
|
type: 'string',
|
|
975
975
|
enum: ['highlight', 'filter'],
|
|
976
976
|
enumDescriptions: [
|
|
977
|
-
localize(
|
|
978
|
-
localize(
|
|
977
|
+
localize(1718, "Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),
|
|
978
|
+
localize(1719, "Filter elements when searching.")
|
|
979
979
|
],
|
|
980
980
|
default: 'highlight',
|
|
981
|
-
description: localize(
|
|
981
|
+
description: localize(1720, "Controls the default find mode for lists and trees in the workbench.")
|
|
982
982
|
},
|
|
983
983
|
[keyboardNavigationSettingKey]: {
|
|
984
984
|
type: 'string',
|
|
985
985
|
enum: ['simple', 'highlight', 'filter'],
|
|
986
986
|
enumDescriptions: [
|
|
987
|
-
localize(
|
|
988
|
-
localize(
|
|
989
|
-
localize(
|
|
987
|
+
localize(1721, "Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),
|
|
988
|
+
localize(1722, "Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),
|
|
989
|
+
localize(1723, "Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")
|
|
990
990
|
],
|
|
991
991
|
default: 'highlight',
|
|
992
|
-
description: localize(
|
|
992
|
+
description: localize(1724, "Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),
|
|
993
993
|
deprecated: true,
|
|
994
|
-
deprecationMessage: localize(
|
|
994
|
+
deprecationMessage: localize(1725, "Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")
|
|
995
995
|
},
|
|
996
996
|
[defaultFindMatchTypeSettingKey]: {
|
|
997
997
|
type: 'string',
|
|
998
998
|
enum: ['fuzzy', 'contiguous'],
|
|
999
999
|
enumDescriptions: [
|
|
1000
|
-
localize(
|
|
1001
|
-
localize(
|
|
1000
|
+
localize(1726, "Use fuzzy matching when searching."),
|
|
1001
|
+
localize(1727, "Use contiguous matching when searching.")
|
|
1002
1002
|
],
|
|
1003
1003
|
default: 'fuzzy',
|
|
1004
|
-
description: localize(
|
|
1004
|
+
description: localize(1728, "Controls the type of matching used when searching lists and trees in the workbench.")
|
|
1005
1005
|
},
|
|
1006
1006
|
[treeExpandMode]: {
|
|
1007
1007
|
type: 'string',
|
|
1008
1008
|
enum: ['singleClick', 'doubleClick'],
|
|
1009
1009
|
default: 'singleClick',
|
|
1010
|
-
description: localize(
|
|
1010
|
+
description: localize(1729, "Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable."),
|
|
1011
1011
|
},
|
|
1012
1012
|
[treeStickyScroll]: {
|
|
1013
1013
|
type: 'boolean',
|
|
1014
1014
|
default: true,
|
|
1015
|
-
description: localize(
|
|
1015
|
+
description: localize(1730, "Controls whether sticky scrolling is enabled in trees."),
|
|
1016
1016
|
},
|
|
1017
1017
|
[treeStickyScrollMaxElements]: {
|
|
1018
1018
|
type: 'number',
|
|
1019
1019
|
minimum: 1,
|
|
1020
1020
|
default: 7,
|
|
1021
|
-
markdownDescription: localize(
|
|
1021
|
+
markdownDescription: localize(1731, "Controls the number of sticky elements displayed in the tree when {0} is enabled.", '`#workbench.tree.enableStickyScroll#`'),
|
|
1022
1022
|
},
|
|
1023
1023
|
[typeNavigationModeSettingKey]: {
|
|
1024
1024
|
type: 'string',
|
|
1025
1025
|
enum: ['automatic', 'trigger'],
|
|
1026
1026
|
default: 'automatic',
|
|
1027
|
-
markdownDescription: localize(
|
|
1027
|
+
markdownDescription: localize(1732, "Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run."),
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
1030
1030
|
});
|
|
@@ -239,8 +239,8 @@ export class MarkerService {
|
|
|
239
239
|
*/
|
|
240
240
|
_createFilteredMarker(resource, reasons) {
|
|
241
241
|
const message = reasons.length === 1
|
|
242
|
-
? localize(
|
|
243
|
-
: localize(
|
|
242
|
+
? localize(1739, "Problems are paused because: \"{0}\"", reasons[0])
|
|
243
|
+
: localize(1740, "Problems are paused because: \"{0}\" and {1} more", reasons[0], reasons.length - 1);
|
|
244
244
|
return {
|
|
245
245
|
owner: 'markersFilter',
|
|
246
246
|
resource,
|
|
@@ -18,17 +18,17 @@ export var MarkerSeverity;
|
|
|
18
18
|
}
|
|
19
19
|
MarkerSeverity.compare = compare;
|
|
20
20
|
const _displayStrings = Object.create(null);
|
|
21
|
-
_displayStrings[MarkerSeverity.Error] = localize(
|
|
22
|
-
_displayStrings[MarkerSeverity.Warning] = localize(
|
|
23
|
-
_displayStrings[MarkerSeverity.Info] = localize(
|
|
21
|
+
_displayStrings[MarkerSeverity.Error] = localize(1733, "Error");
|
|
22
|
+
_displayStrings[MarkerSeverity.Warning] = localize(1734, "Warning");
|
|
23
|
+
_displayStrings[MarkerSeverity.Info] = localize(1735, "Info");
|
|
24
24
|
function toString(a) {
|
|
25
25
|
return _displayStrings[a] || '';
|
|
26
26
|
}
|
|
27
27
|
MarkerSeverity.toString = toString;
|
|
28
28
|
const _displayStringsPlural = Object.create(null);
|
|
29
|
-
_displayStringsPlural[MarkerSeverity.Error] = localize(
|
|
30
|
-
_displayStringsPlural[MarkerSeverity.Warning] = localize(
|
|
31
|
-
_displayStringsPlural[MarkerSeverity.Info] = localize(
|
|
29
|
+
_displayStringsPlural[MarkerSeverity.Error] = localize(1736, "Errors");
|
|
30
|
+
_displayStringsPlural[MarkerSeverity.Warning] = localize(1737, "Warnings");
|
|
31
|
+
_displayStringsPlural[MarkerSeverity.Info] = localize(1738, "Infos");
|
|
32
32
|
function toStringPlural(a) {
|
|
33
33
|
return _displayStringsPlural[a] || '';
|
|
34
34
|
}
|
|
@@ -171,22 +171,22 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
171
171
|
const commandPick = filteredCommandPicks[i];
|
|
172
172
|
// Separator: recently used
|
|
173
173
|
if (i === 0 && this.commandsHistory.peek(commandPick.commandId)) {
|
|
174
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
174
|
+
commandPicks.push({ type: 'separator', label: localize(1741, "recently used") });
|
|
175
175
|
addOtherSeparator = true;
|
|
176
176
|
}
|
|
177
177
|
if (addSuggestedSeparator && commandPick.tfIdfScore !== undefined) {
|
|
178
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
178
|
+
commandPicks.push({ type: 'separator', label: localize(1742, "similar commands") });
|
|
179
179
|
addSuggestedSeparator = false;
|
|
180
180
|
}
|
|
181
181
|
// Separator: commonly used
|
|
182
182
|
if (addCommonlyUsedSeparator && commandPick.tfIdfScore === undefined && !this.commandsHistory.peek(commandPick.commandId) && this.options.suggestedCommandIds?.has(commandPick.commandId)) {
|
|
183
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
183
|
+
commandPicks.push({ type: 'separator', label: localize(1743, "commonly used") });
|
|
184
184
|
addOtherSeparator = true;
|
|
185
185
|
addCommonlyUsedSeparator = false;
|
|
186
186
|
}
|
|
187
187
|
// Separator: other commands
|
|
188
188
|
if (addOtherSeparator && commandPick.tfIdfScore === undefined && !this.commandsHistory.peek(commandPick.commandId) && !this.options.suggestedCommandIds?.has(commandPick.commandId)) {
|
|
189
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
189
|
+
commandPicks.push({ type: 'separator', label: localize(1744, "other commands") });
|
|
190
190
|
addOtherSeparator = false;
|
|
191
191
|
}
|
|
192
192
|
// Command
|
|
@@ -206,7 +206,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
206
206
|
// Basically, if we haven't already added a separator, we add one before the additional picks so long
|
|
207
207
|
// as one hasn't been added to the start of the array.
|
|
208
208
|
if (addSuggestedSeparator && commandPicks[0]?.type !== 'separator') {
|
|
209
|
-
commandPicks.unshift({ type: 'separator', label: localize(
|
|
209
|
+
commandPicks.unshift({ type: 'separator', label: localize(1745, "similar commands") });
|
|
210
210
|
}
|
|
211
211
|
return commandPicks;
|
|
212
212
|
})()
|
|
@@ -218,7 +218,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
218
218
|
}
|
|
219
219
|
const keybinding = this.keybindingService.lookupKeybinding(commandPick.commandId);
|
|
220
220
|
const ariaLabel = keybinding ?
|
|
221
|
-
localize(
|
|
221
|
+
localize(1746, "{0}, {1}", commandPick.label, keybinding.getAriaLabel()) :
|
|
222
222
|
commandPick.label;
|
|
223
223
|
return {
|
|
224
224
|
...commandPick,
|
|
@@ -241,7 +241,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
241
241
|
}
|
|
242
242
|
catch (error) {
|
|
243
243
|
if (!isCancellationError(error)) {
|
|
244
|
-
this.dialogService.error(localize(
|
|
244
|
+
this.dialogService.error(localize(1747, "Command '{0}' resulted in an error", commandPick.label), toErrorMessage(error));
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
}
|
|
@@ -62,7 +62,7 @@ let HelpQuickAccessProvider = class HelpQuickAccessProvider {
|
|
|
62
62
|
prefix,
|
|
63
63
|
label,
|
|
64
64
|
keybinding: helpEntry.commandId ? this.keybindingService.lookupKeybinding(helpEntry.commandId) : undefined,
|
|
65
|
-
ariaLabel: localize(
|
|
65
|
+
ariaLabel: localize(1748, "{0}, {1}", label, helpEntry.description),
|
|
66
66
|
description: helpEntry.description
|
|
67
67
|
};
|
|
68
68
|
});
|