@codingame/monaco-vscode-view-common-service-override 10.0.2 → 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/package.json +3 -3
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +58 -58
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +3 -3
- package/vscode/src/vs/workbench/browser/actions/navigationActions.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +21 -21
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +159 -159
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +12 -12
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +5 -5
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +12 -12
- package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -10
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +5 -5
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +9 -9
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +9 -9
- package/vscode/src/vs/workbench/services/progress/browser/progressService.js +7 -7
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +2 -2
|
@@ -127,23 +127,23 @@ let ProgressService = class ProgressService extends Disposable {
|
|
|
127
127
|
let title;
|
|
128
128
|
const source = options.source && typeof options.source !== 'string' ? options.source.label : options.source;
|
|
129
129
|
if (progressTitle && progressMessage) {
|
|
130
|
-
text = ( localize(
|
|
131
|
-
title = source ? ( localize(
|
|
130
|
+
text = ( localize(4211, "{0}: {1}", progressTitle, progressMessage));
|
|
131
|
+
title = source ? ( localize(4212, "[{0}] {1}: {2}", source, progressTitle, progressMessage)) : text;
|
|
132
132
|
}
|
|
133
133
|
else if (progressTitle) {
|
|
134
134
|
text = progressTitle;
|
|
135
|
-
title = source ? ( localize(
|
|
135
|
+
title = source ? ( localize(4213, "[{0}]: {1}", source, progressTitle)) : text;
|
|
136
136
|
}
|
|
137
137
|
else if (progressMessage) {
|
|
138
138
|
text = progressMessage;
|
|
139
|
-
title = source ? ( localize(
|
|
139
|
+
title = source ? ( localize(4213, "[{0}]: {1}", source, progressMessage)) : text;
|
|
140
140
|
}
|
|
141
141
|
else {
|
|
142
142
|
this.updateWindowProgress(idx + 1);
|
|
143
143
|
return;
|
|
144
144
|
}
|
|
145
145
|
const statusEntryProperties = {
|
|
146
|
-
name: ( localize(
|
|
146
|
+
name: ( localize(4214, "Progress Message")),
|
|
147
147
|
text,
|
|
148
148
|
showProgress: options.type || true,
|
|
149
149
|
ariaLabel: text,
|
|
@@ -239,7 +239,7 @@ let ProgressService = class ProgressService extends Disposable {
|
|
|
239
239
|
if (options.cancellable) {
|
|
240
240
|
const cancelAction = new (class extends Action {
|
|
241
241
|
constructor() {
|
|
242
|
-
super('progress.cancel', ( localize(
|
|
242
|
+
super('progress.cancel', ( localize(4215, "Cancel")), undefined, true);
|
|
243
243
|
}
|
|
244
244
|
async run() {
|
|
245
245
|
progressStateModel.cancel();
|
|
@@ -424,7 +424,7 @@ let ProgressService = class ProgressService extends Disposable {
|
|
|
424
424
|
const createDialog = (message) => {
|
|
425
425
|
const buttons = options.buttons || [];
|
|
426
426
|
if (!options.sticky) {
|
|
427
|
-
buttons.push(options.cancellable ? ( localize(
|
|
427
|
+
buttons.push(options.cancellable ? ( localize(4215, "Cancel")) : ( localize(4216, "Dismiss")));
|
|
428
428
|
}
|
|
429
429
|
dialog = ( (new Dialog(this.layoutService.activeContainer, message, buttons, {
|
|
430
430
|
type: 'pending',
|
|
@@ -583,7 +583,7 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
|
|
|
583
583
|
super({
|
|
584
584
|
id: `${viewDescriptor.id}.removeView`,
|
|
585
585
|
viewPaneContainerId: viewContainerModel.viewContainer.id,
|
|
586
|
-
title: ( localize(
|
|
586
|
+
title: ( localize(4150, "Hide '{0}'", viewDescriptor.name.value)),
|
|
587
587
|
precondition: viewDescriptor.canToggleVisibility && (!viewContainerModel.isVisible(viewDescriptor.id) || viewContainerModel.visibleViewDescriptors.length > 1) ? ContextKeyExpr.true() : ( (ContextKeyExpr.false())),
|
|
588
588
|
menu: [{
|
|
589
589
|
id: MenuId.ViewTitleContext,
|
|
@@ -610,7 +610,7 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
|
|
|
610
610
|
constructor() {
|
|
611
611
|
super({
|
|
612
612
|
id: `${viewContainer.id}.resetViewContainerLocation`,
|
|
613
|
-
title: ( localize2(
|
|
613
|
+
title: ( localize2(4151, "Reset Location")),
|
|
614
614
|
menu: [{
|
|
615
615
|
id: MenuId.ViewContainerTitleContext,
|
|
616
616
|
when: ( (ContextKeyExpr.or( (ContextKeyExpr.and(
|