@codingame/monaco-vscode-view-title-bar-service-override 37.3.2 → 37.3.4
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-view-title-bar-service-override",
|
|
3
|
-
"version": "37.3.
|
|
3
|
+
"version": "37.3.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - view-title-bar service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "37.3.
|
|
18
|
+
"@codingame/monaco-vscode-api": "37.3.4"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -208,13 +208,13 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
|
|
|
208
208
|
label = that._windowTitle.fileName ?? label;
|
|
209
209
|
}
|
|
210
210
|
if (!label) {
|
|
211
|
-
label = ( localize(
|
|
211
|
+
label = ( localize(6306, "Search"));
|
|
212
212
|
}
|
|
213
213
|
if (prefix) {
|
|
214
|
-
label = ( localize(
|
|
214
|
+
label = ( localize(6307, "{0} {1}", prefix, label));
|
|
215
215
|
}
|
|
216
216
|
if (suffix) {
|
|
217
|
-
label = ( localize(
|
|
217
|
+
label = ( localize(6308, "{0} {1}", label, suffix));
|
|
218
218
|
}
|
|
219
219
|
return label.replaceAll(/\r\n|\r|\n/g, "⏎");
|
|
220
220
|
}
|
|
@@ -235,13 +235,13 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
|
|
|
235
235
|
getTooltip() {
|
|
236
236
|
const kb = this._keybindingService.lookupKeybinding(this.action.id)?.getLabel();
|
|
237
237
|
const title = kb ? ( localize(
|
|
238
|
-
|
|
238
|
+
6309,
|
|
239
239
|
"Search {0} ({1}) — {2}",
|
|
240
240
|
this._windowTitle.workspaceName,
|
|
241
241
|
kb,
|
|
242
242
|
this._windowTitle.value
|
|
243
243
|
)) : ( localize(
|
|
244
|
-
|
|
244
|
+
6310,
|
|
245
245
|
"Search {0} — {1}",
|
|
246
246
|
this._windowTitle.workspaceName,
|
|
247
247
|
this._windowTitle.value
|
|
@@ -252,7 +252,7 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
|
|
|
252
252
|
CommandCenterCenterViewItem = CommandCenterCenterViewItem_1 = ( __decorate([( __param(3, IHoverService)), ( __param(4, IKeybindingService)), ( __param(5, IInstantiationService)), ( __param(6, IEditorGroupsService)), ( __param(7, IConfigurationService))], CommandCenterCenterViewItem));
|
|
253
253
|
MenuRegistry.appendMenuItem(MenuId.CommandCenter, {
|
|
254
254
|
submenu: MenuId.CommandCenterCenter,
|
|
255
|
-
title: ( localize(
|
|
255
|
+
title: ( localize(6311, "Command Center")),
|
|
256
256
|
icon: Codicon.shield,
|
|
257
257
|
order: 101
|
|
258
258
|
});
|
|
@@ -78,7 +78,7 @@ let BrowserTitleService = class BrowserTitleService extends MultiWindowParts {
|
|
|
78
78
|
constructor() {
|
|
79
79
|
super({
|
|
80
80
|
id: `workbench.action.focusTitleBar`,
|
|
81
|
-
title: ( localize2(
|
|
81
|
+
title: ( localize2(6348, "Focus Title Bar")),
|
|
82
82
|
category: Categories.View,
|
|
83
83
|
f1: true,
|
|
84
84
|
precondition: TitleBarVisibleContext
|
|
@@ -524,7 +524,7 @@ let BrowserTitlebarPart = class BrowserTitlebarPart extends Part {
|
|
|
524
524
|
this.instantiationService.createInstance(WorkbenchToolBar, this.actionToolBarElement, {
|
|
525
525
|
contextMenu: MenuId.TitleBarContext,
|
|
526
526
|
orientation: ActionsOrientation.HORIZONTAL,
|
|
527
|
-
ariaLabel: ( localize(
|
|
527
|
+
ariaLabel: ( localize(6349, "Title actions")),
|
|
528
528
|
getKeyBinding: action => this.getKeybinding(action),
|
|
529
529
|
overflowBehavior: {
|
|
530
530
|
maxItems: 12,
|