@codingame/monaco-vscode-view-title-bar-service-override 11.0.2 → 11.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-view-title-bar-service-override",
|
|
3
|
-
"version": "11.0
|
|
3
|
+
"version": "11.1.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@11.0
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@11.1.0"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -144,13 +144,13 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
|
|
|
144
144
|
label = that._windowTitle.fileName ?? label;
|
|
145
145
|
}
|
|
146
146
|
if (!label) {
|
|
147
|
-
label = ( localize(
|
|
147
|
+
label = ( localize(7071, "Search"));
|
|
148
148
|
}
|
|
149
149
|
if (prefix) {
|
|
150
|
-
label = ( localize(
|
|
150
|
+
label = ( localize(7072, "{0} {1}", prefix, label));
|
|
151
151
|
}
|
|
152
152
|
if (suffix) {
|
|
153
|
-
label = ( localize(
|
|
153
|
+
label = ( localize(7073, "{0} {1}", label, suffix));
|
|
154
154
|
}
|
|
155
155
|
return label.replaceAll(/\r\n|\r|\n/g, '\u23CE');
|
|
156
156
|
}
|
|
@@ -172,14 +172,14 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
|
|
|
172
172
|
const kb = this._keybindingService.lookupKeybinding(this.action.id)?.getLabel();
|
|
173
173
|
const title = kb
|
|
174
174
|
? ( localize(
|
|
175
|
-
|
|
175
|
+
7074,
|
|
176
176
|
"Search {0} ({1}) \u2014 {2}",
|
|
177
177
|
this._windowTitle.workspaceName,
|
|
178
178
|
kb,
|
|
179
179
|
this._windowTitle.value
|
|
180
180
|
))
|
|
181
181
|
: ( localize(
|
|
182
|
-
|
|
182
|
+
7075,
|
|
183
183
|
"Search {0} \u2014 {1}",
|
|
184
184
|
this._windowTitle.workspaceName,
|
|
185
185
|
this._windowTitle.value
|
|
@@ -195,7 +195,7 @@ CommandCenterCenterViewItem = CommandCenterCenterViewItem_1 = ( (__decorate([
|
|
|
195
195
|
], CommandCenterCenterViewItem)));
|
|
196
196
|
MenuRegistry.appendMenuItem(MenuId.CommandCenter, {
|
|
197
197
|
submenu: MenuId.CommandCenterCenter,
|
|
198
|
-
title: ( localize(
|
|
198
|
+
title: ( localize(7076, "Command Center")),
|
|
199
199
|
icon: Codicon.shield,
|
|
200
200
|
order: 101,
|
|
201
201
|
});
|
|
@@ -68,7 +68,7 @@ let BrowserTitleService = class BrowserTitleService extends MultiWindowParts {
|
|
|
68
68
|
constructor() {
|
|
69
69
|
super({
|
|
70
70
|
id: `workbench.action.focusTitleBar`,
|
|
71
|
-
title: ( localize2(
|
|
71
|
+
title: ( localize2(3082, 'Focus Title Bar')),
|
|
72
72
|
category: Categories.View,
|
|
73
73
|
f1: true,
|
|
74
74
|
});
|
|
@@ -380,7 +380,7 @@ let BrowserTitlebarPart = class BrowserTitlebarPart extends Part {
|
|
|
380
380
|
this.actionToolBar = this.actionToolBarDisposable.add(this.instantiationService.createInstance(WorkbenchToolBar, this.actionToolBarElement, {
|
|
381
381
|
contextMenu: MenuId.TitleBarContext,
|
|
382
382
|
orientation: 0 ,
|
|
383
|
-
ariaLabel: ( localize(
|
|
383
|
+
ariaLabel: ( localize(3083, "Title actions")),
|
|
384
384
|
getKeyBinding: action => this.getKeybinding(action),
|
|
385
385
|
overflowBehavior: { maxItems: 9, exempted: [ACCOUNTS_ACTIVITY_ID, GLOBAL_ACTIVITY_ID, ...EDITOR_CORE_NAVIGATION_COMMANDS] },
|
|
386
386
|
anchorAlignmentProvider: () => 1 ,
|