@codingame/monaco-vscode-update-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-update-service-override",
3
- "version": "37.3.2",
3
+ "version": "37.3.4",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - update 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.2"
18
+ "@codingame/monaco-vscode-api": "37.3.4"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -143,7 +143,7 @@ let PostUpdateWidgetContribution = class PostUpdateWidgetContribution extends Di
143
143
  info = {
144
144
  ...info,
145
145
  buttons: [{
146
- label: ( localize(20496, "Release Notes")),
146
+ label: ( localize(20615, "Release Notes")),
147
147
  commandId: ShowCurrentReleaseNotesActionId,
148
148
  args: [this.productService.version],
149
149
  style: "secondary"
@@ -172,7 +172,7 @@ let PostUpdateWidgetContribution = class PostUpdateWidgetContribution extends Di
172
172
  banner.style.setProperty("background-image", `url(${JSON.stringify(safeBannerUrl)})`);
173
173
  }
174
174
  const closeButton = append(container, $("button.banner-close"));
175
- closeButton.setAttribute("aria-label", ( localize(20497, "Close")));
175
+ closeButton.setAttribute("aria-label", ( localize(20616, "Close")));
176
176
  const closeIcon = append(closeButton, $(ThemeIcon.asCSSSelector(Codicon.close)));
177
177
  closeIcon.setAttribute("aria-hidden", "true");
178
178
  disposables.add(addDisposableListener(closeButton, "click", () => {
@@ -185,7 +185,7 @@ let PostUpdateWidgetContribution = class PostUpdateWidgetContribution extends Di
185
185
  }
186
186
  const titleEl = append(body, $(".title"));
187
187
  titleEl.id = titleId;
188
- titleEl.textContent = title ?? ( localize(20498, "New in {0}", this.productService.version));
188
+ titleEl.textContent = title ?? ( localize(20617, "New in {0}", this.productService.version));
189
189
  if (features?.length) {
190
190
  const list = append(body, $(".features"));
191
191
  list.setAttribute("role", "list");
@@ -39,8 +39,8 @@ class ShowReleaseNotesAction extends Action2 {
39
39
  super({
40
40
  id: ShowCurrentReleaseNotesActionId,
41
41
  title: {
42
- ...( localize2(20502, "Show Release Notes")),
43
- mnemonicTitle: ( localize(20503, "Show &&Release Notes"))
42
+ ...( localize2(20621, "Show Release Notes")),
43
+ mnemonicTitle: ( localize(20622, "Show &&Release Notes"))
44
44
  },
45
45
  category: {
46
46
  value: product.nameShort,
@@ -66,7 +66,7 @@ class ShowReleaseNotesAction extends Action2 {
66
66
  await openerService.open(( URI.parse(productService.releaseNotesUrl)));
67
67
  } else {
68
68
  throw ( new Error(( localize(
69
- 20504,
69
+ 20623,
70
70
  "This version of {0} does not have release notes online",
71
71
  productService.nameLong
72
72
  ))));
@@ -79,10 +79,10 @@ class ShowCurrentReleaseNotesFromCurrentFileAction extends Action2 {
79
79
  super({
80
80
  id: ShowCurrentReleaseNotesFromCurrentFileActionId,
81
81
  title: {
82
- ...( localize2(20505, "Open Current File as Release Notes")),
83
- mnemonicTitle: ( localize(20503, "Show &&Release Notes"))
82
+ ...( localize2(20624, "Open Current File as Release Notes")),
83
+ mnemonicTitle: ( localize(20622, "Show &&Release Notes"))
84
84
  },
85
- category: ( localize2(20506, "Developer")),
85
+ category: ( localize2(20625, "Developer")),
86
86
  f1: true
87
87
  });
88
88
  }
@@ -92,7 +92,7 @@ class ShowCurrentReleaseNotesFromCurrentFileAction extends Action2 {
92
92
  try {
93
93
  await showReleaseNotesInEditor(instantiationService, productService.version, true);
94
94
  } catch (err) {
95
- throw ( new Error(( localize(20507, "Cannot open the current file as Release Notes"))));
95
+ throw ( new Error(( localize(20626, "Cannot open the current file as Release Notes"))));
96
96
  }
97
97
  }
98
98
  }
@@ -104,7 +104,7 @@ class CheckForUpdateAction extends Action2 {
104
104
  constructor() {
105
105
  super({
106
106
  id: "update.checkForUpdate",
107
- title: ( localize2(20508, "Check for Updates...")),
107
+ title: ( localize2(20627, "Check for Updates...")),
108
108
  category: {
109
109
  value: product.nameShort,
110
110
  original: product.nameShort
@@ -122,7 +122,7 @@ class DownloadUpdateAction extends Action2 {
122
122
  constructor() {
123
123
  super({
124
124
  id: "update.downloadUpdate",
125
- title: ( localize2(20509, "Download Update")),
125
+ title: ( localize2(20628, "Download Update")),
126
126
  category: {
127
127
  value: product.nameShort,
128
128
  original: product.nameShort
@@ -139,7 +139,7 @@ class InstallUpdateAction extends Action2 {
139
139
  constructor() {
140
140
  super({
141
141
  id: "update.installUpdate",
142
- title: ( localize2(20510, "Install Update")),
142
+ title: ( localize2(20629, "Install Update")),
143
143
  category: {
144
144
  value: product.nameShort,
145
145
  original: product.nameShort
@@ -156,7 +156,7 @@ class RestartToUpdateAction extends Action2 {
156
156
  constructor() {
157
157
  super({
158
158
  id: "update.restartToUpdate",
159
- title: ( localize2(20511, "Restart to Update")),
159
+ title: ( localize2(20630, "Restart to Update")),
160
160
  category: {
161
161
  value: product.nameShort,
162
162
  original: product.nameShort
@@ -179,7 +179,7 @@ class DownloadAction extends Action2 {
179
179
  constructor() {
180
180
  super({
181
181
  id: DownloadAction.ID,
182
- title: ( localize2(20512, "Download {0}", product.nameLong)),
182
+ title: ( localize2(20631, "Download {0}", product.nameLong)),
183
183
  precondition: IsWebContext,
184
184
  f1: true,
185
185
  menu: [{
@@ -208,7 +208,7 @@ if (isWindows) {
208
208
  constructor() {
209
209
  super({
210
210
  id: "_update.applyupdate",
211
- title: ( localize2(20513, "Apply Update from File...")),
211
+ title: ( localize2(20632, "Apply Update from File...")),
212
212
  category: Categories.Developer,
213
213
  f1: true,
214
214
  precondition: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Idle))
@@ -218,13 +218,13 @@ if (isWindows) {
218
218
  const updateService = accessor.get(IUpdateService);
219
219
  const fileDialogService = accessor.get(IFileDialogService);
220
220
  const updatePath = await fileDialogService.showOpenDialog({
221
- title: ( localize(20514, "Apply Update from File")),
221
+ title: ( localize(20633, "Apply Update from File")),
222
222
  filters: [{
223
223
  name: "Setup",
224
224
  extensions: ["exe"]
225
225
  }],
226
226
  canSelectFiles: true,
227
- openLabel: mnemonicButtonLabel(( localize(20515, "&&Update")))
227
+ openLabel: mnemonicButtonLabel(( localize(20634, "&&Update")))
228
228
  });
229
229
  if (!updatePath || !updatePath[0]) {
230
230
  return;
@@ -238,7 +238,7 @@ registerAction2(class ShowUpdateInfoAction extends Action2 {
238
238
  constructor() {
239
239
  super({
240
240
  id: "update.showUpdateInfo",
241
- title: ( localize2(20516, "Show Update Info")),
241
+ title: ( localize2(20635, "Show Update Info")),
242
242
  category: Categories.Developer,
243
243
  f1: true,
244
244
  precondition: ( IsWebContext.negate())
@@ -249,7 +249,7 @@ registerAction2(class ShowUpdateInfoAction extends Action2 {
249
249
  const quickInputService = accessor.get(IQuickInputService);
250
250
  const markdown = await quickInputService.input({
251
251
  prompt: ( localize(
252
- 20517,
252
+ 20636,
253
253
  "Enter markdown to render, or JSON with markdown/buttons (leave empty to load from URL)"
254
254
  ))
255
255
  });