@codingame/monaco-vscode-view-title-bar-service-override 10.1.3 → 10.1.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": "10.1.3",
3
+ "version": "10.1.4",
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@10.1.3"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@10.1.4"
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(7032, "Search"));
147
+ label = ( localize(6775, "Search"));
148
148
  }
149
149
  if (prefix) {
150
- label = ( localize(7033, "{0} {1}", prefix, label));
150
+ label = ( localize(6776, "{0} {1}", prefix, label));
151
151
  }
152
152
  if (suffix) {
153
- label = ( localize(7034, "{0} {1}", label, suffix));
153
+ label = ( localize(6777, "{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
- 7035,
175
+ 6778,
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
- 7036,
182
+ 6779,
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(7037, "Command Center")),
198
+ title: ( localize(6780, "Command Center")),
199
199
  icon: Codicon.shield,
200
200
  order: 101,
201
201
  });
@@ -40,19 +40,19 @@ class ToggleConfigAction extends Action2 {
40
40
  }
41
41
  registerAction2(class ToggleCommandCenter extends ToggleConfigAction {
42
42
  constructor() {
43
- super("window.commandCenter" , ( localize(7050, 'Command Center')), ( localize(7051, "Toggle visibility of the Command Center in title bar")), 1, false);
43
+ super("window.commandCenter" , ( localize(6793, 'Command Center')), ( localize(6794, "Toggle visibility of the Command Center in title bar")), 1, false);
44
44
  }
45
45
  });
46
46
  registerAction2(class ToggleLayoutControl extends ToggleConfigAction {
47
47
  constructor() {
48
- super('workbench.layoutControl.enabled', ( localize(7052, 'Layout Controls')), ( localize(7053, "Toggle visibility of the Layout Controls in title bar")), 2, true);
48
+ super('workbench.layoutControl.enabled', ( localize(6795, 'Layout Controls')), ( localize(6796, "Toggle visibility of the Layout Controls in title bar")), 2, true);
49
49
  }
50
50
  });
51
51
  registerAction2(class ToggleCustomTitleBar extends Action2 {
52
52
  constructor() {
53
53
  super({
54
54
  id: `toggle.${"window.customTitleBarVisibility" }`,
55
- title: ( localize(7054, 'Hide Custom Title Bar')),
55
+ title: ( localize(6797, 'Hide Custom Title Bar')),
56
56
  menu: [
57
57
  { id: MenuId.TitleBarContext, order: 0, when: ( (ContextKeyExpr.equals(TitleBarStyleContext.key, "native" ))), group: '3_toggle' },
58
58
  { id: MenuId.TitleBarTitleContext, order: 0, when: ( (ContextKeyExpr.equals(TitleBarStyleContext.key, "native" ))), group: '3_toggle' },
@@ -68,7 +68,7 @@ registerAction2(class ToggleCustomTitleBarWindowed extends Action2 {
68
68
  constructor() {
69
69
  super({
70
70
  id: `toggle.${"window.customTitleBarVisibility" }.windowed`,
71
- title: ( localize(7055, 'Hide Custom Title Bar In Full Screen')),
71
+ title: ( localize(6798, 'Hide Custom Title Bar In Full Screen')),
72
72
  menu: [
73
73
  { id: MenuId.TitleBarContext, order: 1, when: IsMainWindowFullscreenContext, group: '3_toggle' },
74
74
  { id: MenuId.TitleBarTitleContext, order: 1, when: IsMainWindowFullscreenContext, group: '3_toggle' },
@@ -84,7 +84,7 @@ class ToggleCustomTitleBar extends Action2 {
84
84
  constructor() {
85
85
  super({
86
86
  id: `toggle.toggleCustomTitleBar`,
87
- title: ( localize(7056, 'Custom Title Bar')),
87
+ title: ( localize(6799, 'Custom Title Bar')),
88
88
  toggled: TitleBarVisibleContext,
89
89
  menu: [
90
90
  {
@@ -135,7 +135,7 @@ registerAction2(class ShowCustomTitleBar extends Action2 {
135
135
  constructor() {
136
136
  super({
137
137
  id: `showCustomTitleBar`,
138
- title: ( localize2(7057, "Show Custom Title Bar")),
138
+ title: ( localize2(6800, "Show Custom Title Bar")),
139
139
  precondition: ( (TitleBarVisibleContext.negate())),
140
140
  f1: true
141
141
  });
@@ -149,7 +149,7 @@ registerAction2(class HideCustomTitleBar extends Action2 {
149
149
  constructor() {
150
150
  super({
151
151
  id: `hideCustomTitleBar`,
152
- title: ( localize2(7058, "Hide Custom Title Bar")),
152
+ title: ( localize2(6801, "Hide Custom Title Bar")),
153
153
  precondition: TitleBarVisibleContext,
154
154
  f1: true
155
155
  });
@@ -163,7 +163,7 @@ registerAction2(class HideCustomTitleBar extends Action2 {
163
163
  constructor() {
164
164
  super({
165
165
  id: `hideCustomTitleBarInFullScreen`,
166
- title: ( localize2(7059, "Hide Custom Title Bar In Full Screen")),
166
+ title: ( localize2(6802, "Hide Custom Title Bar In Full Screen")),
167
167
  precondition: ( (ContextKeyExpr.and(TitleBarVisibleContext, IsMainWindowFullscreenContext))),
168
168
  f1: true
169
169
  });
@@ -182,7 +182,7 @@ registerAction2(class ToggleEditorActions extends Action2 {
182
182
  )))?.negate();
183
183
  super({
184
184
  id: `toggle.${ToggleEditorActions.settingsID}`,
185
- title: ( localize(7060, 'Editor Actions')),
185
+ title: ( localize(6803, 'Editor Actions')),
186
186
  toggled: ( (( (ContextKeyExpr.equals(`config.${ToggleEditorActions.settingsID}`, 'hidden'))).negate())),
187
187
  menu: [
188
188
  { id: MenuId.TitleBarContext, order: 3, when: titleBarContextCondition, group: '2_config' },
@@ -213,16 +213,16 @@ registerAction2(class ToggleEditorActions extends Action2 {
213
213
  });
214
214
  const ACCOUNTS_ACTIVITY_TILE_ACTION = {
215
215
  id: ACCOUNTS_ACTIVITY_ID,
216
- label: ( localize(7061, "Accounts")),
217
- tooltip: ( localize(7061, "Accounts")),
216
+ label: ( localize(6804, "Accounts")),
217
+ tooltip: ( localize(6804, "Accounts")),
218
218
  class: undefined,
219
219
  enabled: true,
220
220
  run: function () { }
221
221
  };
222
222
  const GLOBAL_ACTIVITY_TITLE_ACTION = {
223
223
  id: GLOBAL_ACTIVITY_ID,
224
- label: ( localize(7062, "Manage")),
225
- tooltip: ( localize(7062, "Manage")),
224
+ label: ( localize(6805, "Manage")),
225
+ tooltip: ( localize(6805, "Manage")),
226
226
  class: undefined,
227
227
  enabled: true,
228
228
  run: function () { }
@@ -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(3080, 'Focus Title Bar')),
71
+ title: ( localize2(3018, '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(3081, "Title actions")),
383
+ ariaLabel: ( localize(3019, "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 ,