@codingame/monaco-vscode-view-title-bar-service-override 24.2.0 → 25.0.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": "
|
|
3
|
+
"version": "25.0.0",
|
|
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": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "25.0.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -146,13 +146,13 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
|
|
|
146
146
|
label = that._windowTitle.fileName ?? label;
|
|
147
147
|
}
|
|
148
148
|
if (!label) {
|
|
149
|
-
label = ( localize(
|
|
149
|
+
label = ( localize(3644, "Search"));
|
|
150
150
|
}
|
|
151
151
|
if (prefix) {
|
|
152
|
-
label = ( localize(
|
|
152
|
+
label = ( localize(3645, "{0} {1}", prefix, label));
|
|
153
153
|
}
|
|
154
154
|
if (suffix) {
|
|
155
|
-
label = ( localize(
|
|
155
|
+
label = ( localize(3646, "{0} {1}", label, suffix));
|
|
156
156
|
}
|
|
157
157
|
return label.replaceAll(/\r\n|\r|\n/g, '\u23CE');
|
|
158
158
|
}
|
|
@@ -174,14 +174,14 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
|
|
|
174
174
|
const kb = this._keybindingService.lookupKeybinding(this.action.id)?.getLabel();
|
|
175
175
|
const title = kb
|
|
176
176
|
? ( localize(
|
|
177
|
-
|
|
177
|
+
3647,
|
|
178
178
|
"Search {0} ({1}) \u2014 {2}",
|
|
179
179
|
this._windowTitle.workspaceName,
|
|
180
180
|
kb,
|
|
181
181
|
this._windowTitle.value
|
|
182
182
|
))
|
|
183
183
|
: ( localize(
|
|
184
|
-
|
|
184
|
+
3648,
|
|
185
185
|
"Search {0} \u2014 {1}",
|
|
186
186
|
this._windowTitle.workspaceName,
|
|
187
187
|
this._windowTitle.value
|
|
@@ -197,7 +197,7 @@ CommandCenterCenterViewItem = CommandCenterCenterViewItem_1 = ( __decorate([
|
|
|
197
197
|
], CommandCenterCenterViewItem));
|
|
198
198
|
MenuRegistry.appendMenuItem(MenuId.CommandCenter, {
|
|
199
199
|
submenu: MenuId.CommandCenterCenter,
|
|
200
|
-
title: ( localize(
|
|
200
|
+
title: ( localize(3649, "Command Center")),
|
|
201
201
|
icon: Codicon.shield,
|
|
202
202
|
order: 101,
|
|
203
203
|
});
|
|
@@ -74,7 +74,7 @@ let BrowserTitleService = class BrowserTitleService extends MultiWindowParts {
|
|
|
74
74
|
constructor() {
|
|
75
75
|
super({
|
|
76
76
|
id: `workbench.action.focusTitleBar`,
|
|
77
|
-
title: ( localize2(
|
|
77
|
+
title: ( localize2(3683, 'Focus Title Bar')),
|
|
78
78
|
category: Categories.View,
|
|
79
79
|
f1: true,
|
|
80
80
|
precondition: TitleBarVisibleContext
|
|
@@ -399,7 +399,7 @@ let BrowserTitlebarPart = class BrowserTitlebarPart extends Part {
|
|
|
399
399
|
this.actionToolBar = this.actionToolBarDisposable.add(this.instantiationService.createInstance(WorkbenchToolBar, this.actionToolBarElement, {
|
|
400
400
|
contextMenu: MenuId.TitleBarContext,
|
|
401
401
|
orientation: ActionsOrientation.HORIZONTAL,
|
|
402
|
-
ariaLabel: ( localize(
|
|
402
|
+
ariaLabel: ( localize(3684, "Title actions")),
|
|
403
403
|
getKeyBinding: action => this.getKeybinding(action),
|
|
404
404
|
overflowBehavior: { maxItems: 9, exempted: [ACCOUNTS_ACTIVITY_ID, GLOBAL_ACTIVITY_ID, ...EDITOR_CORE_NAVIGATION_COMMANDS] },
|
|
405
405
|
anchorAlignmentProvider: () => AnchorAlignment.RIGHT,
|