@codingame/monaco-vscode-update-service-override 16.1.1 → 17.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-update-service-override",
3
- "version": "16.1.1",
3
+ "version": "17.1.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - update service-override",
6
6
  "keywords": [],
@@ -15,12 +15,12 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common": "16.1.1",
19
- "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "16.1.1",
20
- "@codingame/monaco-vscode-5e324391-11e3-5ceb-93ee-938e4098e4ad-common": "16.1.1",
21
- "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "16.1.1",
22
- "@codingame/monaco-vscode-api": "16.1.1",
23
- "@codingame/monaco-vscode-c3b3387c-7bce-5b8f-9e14-bebeb636f1c8-common": "16.1.1"
18
+ "@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common": "17.1.0",
19
+ "@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "17.1.0",
20
+ "@codingame/monaco-vscode-5e324391-11e3-5ceb-93ee-938e4098e4ad-common": "17.1.0",
21
+ "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "17.1.0",
22
+ "@codingame/monaco-vscode-api": "17.1.0",
23
+ "@codingame/monaco-vscode-c3b3387c-7bce-5b8f-9e14-bebeb636f1c8-common": "17.1.0"
24
24
  },
25
25
  "main": "index.js",
26
26
  "module": "index.js",
@@ -8,7 +8,7 @@ const configurationRegistry = ( Registry.as(Extensions.Configuration));
8
8
  configurationRegistry.registerConfiguration({
9
9
  id: 'update',
10
10
  order: 15,
11
- title: ( localize(2334, "Update")),
11
+ title: ( localize(2352, "Update")),
12
12
  type: 'object',
13
13
  properties: {
14
14
  'update.mode': {
@@ -17,22 +17,22 @@ configurationRegistry.registerConfiguration({
17
17
  default: 'default',
18
18
  scope: ConfigurationScope.APPLICATION,
19
19
  description: ( localize(
20
- 2335,
20
+ 2353,
21
21
  "Configure whether you receive automatic updates. Requires a restart after change. The updates are fetched from a Microsoft online service."
22
22
  )),
23
23
  tags: ['usesOnlineServices'],
24
24
  enumDescriptions: [
25
- ( localize(2336, "Disable updates.")),
25
+ ( localize(2354, "Disable updates.")),
26
26
  ( localize(
27
- 2337,
27
+ 2355,
28
28
  "Disable automatic background update checks. Updates will be available if you manually check for updates."
29
29
  )),
30
30
  ( localize(
31
- 2338,
31
+ 2356,
32
32
  "Check for updates only on startup. Disable automatic background update checks."
33
33
  )),
34
34
  ( localize(
35
- 2339,
35
+ 2357,
36
36
  "Enable automatic update checks. Code will check for updates automatically and periodically."
37
37
  ))
38
38
  ],
@@ -46,11 +46,11 @@ configurationRegistry.registerConfiguration({
46
46
  default: 'default',
47
47
  scope: ConfigurationScope.APPLICATION,
48
48
  description: ( localize(
49
- 2335,
49
+ 2353,
50
50
  "Configure whether you receive automatic updates. Requires a restart after change. The updates are fetched from a Microsoft online service."
51
51
  )),
52
52
  deprecationMessage: ( localize(
53
- 2340,
53
+ 2358,
54
54
  "This setting is deprecated, please use '{0}' instead.",
55
55
  'update.mode'
56
56
  ))
@@ -59,9 +59,9 @@ configurationRegistry.registerConfiguration({
59
59
  type: 'boolean',
60
60
  default: true,
61
61
  scope: ConfigurationScope.APPLICATION,
62
- title: ( localize(2341, "Enable Background Updates on Windows")),
62
+ title: ( localize(2359, "Enable Background Updates on Windows")),
63
63
  description: ( localize(
64
- 2342,
64
+ 2360,
65
65
  "Enable to download and install new VS Code versions in the background on Windows."
66
66
  )),
67
67
  included: isWindows && !isWeb
@@ -71,7 +71,7 @@ configurationRegistry.registerConfiguration({
71
71
  default: true,
72
72
  scope: ConfigurationScope.APPLICATION,
73
73
  description: ( localize(
74
- 2343,
74
+ 2361,
75
75
  "Show Release Notes after an update. The Release Notes are fetched from a Microsoft online service."
76
76
  )),
77
77
  tags: ['usesOnlineServices']
@@ -109,12 +109,12 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
109
109
  }
110
110
  viewInSettingsMessage(settingId, alreadyDisplayed) {
111
111
  if (alreadyDisplayed) {
112
- return localize(7439, "View in Settings");
112
+ return localize(7520, "View in Settings");
113
113
  }
114
114
  else {
115
115
  const displayName = settingKeyToDisplayFormat(settingId);
116
116
  return localize(
117
- 7440,
117
+ 7521,
118
118
  "View \"{0}: {1}\" in Settings",
119
119
  displayName.category,
120
120
  displayName.label
@@ -124,7 +124,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
124
124
  restorePreviousSettingMessage(settingId) {
125
125
  const displayName = settingKeyToDisplayFormat(settingId);
126
126
  return localize(
127
- 7441,
127
+ 7522,
128
128
  "Restore value of \"{0}: {1}\"",
129
129
  displayName.category,
130
130
  displayName.label
@@ -139,7 +139,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
139
139
  if (this.isAlreadySet(setting, booleanValue)) {
140
140
  if (booleanValue) {
141
141
  return localize(
142
- 7442,
142
+ 7523,
143
143
  "\"{0}: {1}\" is already enabled",
144
144
  displayName.category,
145
145
  displayName.label
@@ -147,7 +147,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
147
147
  }
148
148
  else {
149
149
  return localize(
150
- 7443,
150
+ 7524,
151
151
  "\"{0}: {1}\" is already disabled",
152
152
  displayName.category,
153
153
  displayName.label
@@ -155,17 +155,17 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
155
155
  }
156
156
  }
157
157
  if (booleanValue) {
158
- return localize(7444, "Enable \"{0}: {1}\"", displayName.category, displayName.label);
158
+ return localize(7525, "Enable \"{0}: {1}\"", displayName.category, displayName.label);
159
159
  }
160
160
  else {
161
- return localize(7445, "Disable \"{0}: {1}\"", displayName.category, displayName.label);
161
+ return localize(7526, "Disable \"{0}: {1}\"", displayName.category, displayName.label);
162
162
  }
163
163
  }
164
164
  stringSettingMessage(setting, stringValue) {
165
165
  const displayName = settingKeyToDisplayFormat(setting.key);
166
166
  if (this.isAlreadySet(setting, stringValue)) {
167
167
  return localize(
168
- 7446,
168
+ 7527,
169
169
  "\"{0}: {1}\" is already set to \"{2}\"",
170
170
  displayName.category,
171
171
  displayName.label,
@@ -173,7 +173,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
173
173
  );
174
174
  }
175
175
  return localize(
176
- 7447,
176
+ 7528,
177
177
  "Set \"{0}: {1}\" to \"{2}\"",
178
178
  displayName.category,
179
179
  displayName.label,
@@ -184,7 +184,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
184
184
  const displayName = settingKeyToDisplayFormat(setting.key);
185
185
  if (this.isAlreadySet(setting, numberValue)) {
186
186
  return localize(
187
- 7448,
187
+ 7529,
188
188
  "\"{0}: {1}\" is already set to {2}",
189
189
  displayName.category,
190
190
  displayName.label,
@@ -192,7 +192,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
192
192
  );
193
193
  }
194
194
  return localize(
195
- 7449,
195
+ 7530,
196
196
  "Set \"{0}: {1}\" to {2}",
197
197
  displayName.category,
198
198
  displayName.label,
@@ -201,7 +201,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
201
201
  }
202
202
  renderSetting(setting, newValue) {
203
203
  const href = this.settingToUriString(setting.key, newValue);
204
- const title = ( localize(7450, "View or change setting"));
204
+ const title = ( localize(7531, "View or change setting"));
205
205
  return `<code tabindex="0"><a href="${href}" class="codesetting" title="${title}" aria-role="button"><svg width="14" height="14" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M9.1 4.4L8.6 2H7.4l-.5 2.4-.7.3-2-1.3-.9.8 1.3 2-.2.7-2.4.5v1.2l2.4.5.3.8-1.3 2 .8.8 2-1.3.8.3.4 2.3h1.2l.5-2.4.8-.3 2 1.3.8-.8-1.3-2 .3-.8 2.3-.4V7.4l-2.4-.5-.3-.8 1.3-2-.8-.8-2 1.3-.7-.2zM9.4 1l.5 2.4L12 2.1l2 2-1.4 2.1 2.4.4v2.8l-2.4.5L14 12l-2 2-2.1-1.4-.5 2.4H6.6l-.5-2.4L4 13.9l-2-2 1.4-2.1L1 9.4V6.6l2.4-.5L2.1 4l2-2 2.1 1.4.4-2.4h2.8zm.6 7c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zM8 9c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z"/></svg>
206
206
  <span class="separator"></span>
207
207
  <span class="setting-name">${setting.key}</span>
@@ -280,8 +280,8 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
280
280
  class: undefined,
281
281
  enabled: true,
282
282
  id: 'copySettingId',
283
- tooltip: ( localize(7451, "Copy Setting ID")),
284
- label: ( localize(7451, "Copy Setting ID")),
283
+ tooltip: ( localize(7532, "Copy Setting ID")),
284
+ label: ( localize(7532, "Copy Setting ID")),
285
285
  run: () => {
286
286
  this._clipboardService.writeText(settingId);
287
287
  }
@@ -85,7 +85,7 @@ let ReleaseNotesManager = class ReleaseNotesManager {
85
85
  const base = await this.getBase(useCurrentFile);
86
86
  this._lastMeta = { text: releaseNoteText, base };
87
87
  const html = await this.renderBody(this._lastMeta);
88
- const title = ( localize(11069, "Release Notes: {0}", version));
88
+ const title = ( localize(11176, "Release Notes: {0}", version));
89
89
  const activeEditorPane = this._editorService.activeEditorPane;
90
90
  if (this._currentReleaseNotes) {
91
91
  this._currentReleaseNotes.setName(title);
@@ -134,7 +134,7 @@ let ReleaseNotesManager = class ReleaseNotesManager {
134
134
  const versionLabel = match[1].replace(/\./g, '_');
135
135
  const baseUrl = 'https://code.visualstudio.com/raw';
136
136
  const url = `${baseUrl}/v${versionLabel}.md`;
137
- const unassigned = ( localize(11070, "unassigned"));
137
+ const unassigned = ( localize(11177, "unassigned"));
138
138
  const escapeMdHtml = (text) => {
139
139
  return escape(text).replace(/\\/g, '\\\\');
140
140
  };
@@ -344,7 +344,7 @@ let ReleaseNotesManager = class ReleaseNotesManager {
344
344
 
345
345
  const label = document.createElement('label');
346
346
  label.htmlFor = 'showReleaseNotes';
347
- label.textContent = '${( localize(11071, "Show release notes after an update"))}';
347
+ label.textContent = '${( localize(11178, "Show release notes after an update"))}';
348
348
  container.appendChild(label);
349
349
 
350
350
  const beforeElement = document.querySelector("body > h1")?.nextElementSibling;
@@ -30,8 +30,8 @@ class ShowCurrentReleaseNotesAction extends Action2 {
30
30
  super({
31
31
  id: ShowCurrentReleaseNotesActionId,
32
32
  title: {
33
- ...( localize2(11072, "Show Release Notes")),
34
- mnemonicTitle: ( localize(11073, "Show &&Release Notes")),
33
+ ...( localize2(11179, "Show Release Notes")),
34
+ mnemonicTitle: ( localize(11180, "Show &&Release Notes")),
35
35
  },
36
36
  category: { value: product.nameShort, original: product.nameShort },
37
37
  f1: true,
@@ -57,7 +57,7 @@ class ShowCurrentReleaseNotesAction extends Action2 {
57
57
  }
58
58
  else {
59
59
  throw ( new Error(( localize(
60
- 11074,
60
+ 11181,
61
61
  "This version of {0} does not have release notes online",
62
62
  productService.nameLong
63
63
  ))));
@@ -70,10 +70,10 @@ class ShowCurrentReleaseNotesFromCurrentFileAction extends Action2 {
70
70
  super({
71
71
  id: ShowCurrentReleaseNotesFromCurrentFileActionId,
72
72
  title: {
73
- ...( localize2(11075, "Open Current File as Release Notes")),
74
- mnemonicTitle: ( localize(11073, "Show &&Release Notes")),
73
+ ...( localize2(11182, "Open Current File as Release Notes")),
74
+ mnemonicTitle: ( localize(11180, "Show &&Release Notes")),
75
75
  },
76
- category: ( localize2(11076, "Developer")),
76
+ category: ( localize2(11183, "Developer")),
77
77
  f1: true,
78
78
  });
79
79
  }
@@ -84,7 +84,7 @@ class ShowCurrentReleaseNotesFromCurrentFileAction extends Action2 {
84
84
  await showReleaseNotesInEditor(instantiationService, productService.version, true);
85
85
  }
86
86
  catch (err) {
87
- throw ( new Error(( localize(11077, "Cannot open the current file as Release Notes"))));
87
+ throw ( new Error(( localize(11184, "Cannot open the current file as Release Notes"))));
88
88
  }
89
89
  }
90
90
  }
@@ -94,7 +94,7 @@ class CheckForUpdateAction extends Action2 {
94
94
  constructor() {
95
95
  super({
96
96
  id: 'update.checkForUpdate',
97
- title: ( localize2(11078, 'Check for Updates...')),
97
+ title: ( localize2(11185, 'Check for Updates...')),
98
98
  category: { value: product.nameShort, original: product.nameShort },
99
99
  f1: true,
100
100
  precondition: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Idle)),
@@ -109,7 +109,7 @@ class DownloadUpdateAction extends Action2 {
109
109
  constructor() {
110
110
  super({
111
111
  id: 'update.downloadUpdate',
112
- title: ( localize2(11079, 'Download Update')),
112
+ title: ( localize2(11186, 'Download Update')),
113
113
  category: { value: product.nameShort, original: product.nameShort },
114
114
  f1: true,
115
115
  precondition: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.AvailableForDownload))
@@ -123,7 +123,7 @@ class InstallUpdateAction extends Action2 {
123
123
  constructor() {
124
124
  super({
125
125
  id: 'update.installUpdate',
126
- title: ( localize2(11080, 'Install Update')),
126
+ title: ( localize2(11187, 'Install Update')),
127
127
  category: { value: product.nameShort, original: product.nameShort },
128
128
  f1: true,
129
129
  precondition: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Downloaded))
@@ -137,7 +137,7 @@ class RestartToUpdateAction extends Action2 {
137
137
  constructor() {
138
138
  super({
139
139
  id: 'update.restartToUpdate',
140
- title: ( localize2(11081, 'Restart to Update')),
140
+ title: ( localize2(11188, 'Restart to Update')),
141
141
  category: { value: product.nameShort, original: product.nameShort },
142
142
  f1: true,
143
143
  precondition: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Ready))
@@ -152,7 +152,7 @@ class DownloadAction extends Action2 {
152
152
  constructor() {
153
153
  super({
154
154
  id: DownloadAction.ID,
155
- title: ( localize2(11082, "Download {0}", product.nameLong)),
155
+ title: ( localize2(11189, "Download {0}", product.nameLong)),
156
156
  precondition: ( ContextKeyExpr.and(IsWebContext, DOWNLOAD_URL)),
157
157
  f1: true,
158
158
  menu: [{
@@ -179,7 +179,7 @@ if (isWindows) {
179
179
  constructor() {
180
180
  super({
181
181
  id: '_update.applyupdate',
182
- title: ( localize2(11083, 'Apply Update...')),
182
+ title: ( localize2(11190, 'Apply Update...')),
183
183
  category: Categories.Developer,
184
184
  f1: true,
185
185
  precondition: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Idle))
@@ -189,10 +189,10 @@ if (isWindows) {
189
189
  const updateService = accessor.get(IUpdateService);
190
190
  const fileDialogService = accessor.get(IFileDialogService);
191
191
  const updatePath = await fileDialogService.showOpenDialog({
192
- title: ( localize(11084, "Apply Update")),
192
+ title: ( localize(11191, "Apply Update")),
193
193
  filters: [{ name: 'Setup', extensions: ['exe'] }],
194
194
  canSelectFiles: true,
195
- openLabel: mnemonicButtonLabel(( localize(11085, "&&Update")))
195
+ openLabel: mnemonicButtonLabel(( localize(11192, "&&Update")))
196
196
  });
197
197
  if (!updatePath || !updatePath[0]) {
198
198
  return;
@@ -7,7 +7,7 @@ import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform
7
7
  import { IUpdateService } from "@codingame/monaco-vscode-api/vscode/vs/platform/update/common/update.service";
8
8
  import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service";
9
9
  import { IDialogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service";
10
- import { IBrowserWorkbenchEnvironmentService } from "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common/vscode/vs/workbench/services/environment/browser/environmentService.service";
10
+ import { IBrowserWorkbenchEnvironmentService } from "@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common/vscode/vs/workbench/services/environment/browser/environmentService.service";
11
11
  import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
12
12
  import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
13
13
  import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
@@ -12,10 +12,10 @@ import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode
12
12
  import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
13
13
  import { StateType, DisablementReason } from '@codingame/monaco-vscode-api/vscode/vs/platform/update/common/update';
14
14
  import { IUpdateService } from '@codingame/monaco-vscode-api/vscode/vs/platform/update/common/update.service';
15
- import '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification';
15
+ import { NotificationPriority } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification';
16
16
  import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
17
17
  import { IDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
18
- import { IBrowserWorkbenchEnvironmentService } from '@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common/vscode/vs/workbench/services/environment/browser/environmentService.service';
18
+ import { IBrowserWorkbenchEnvironmentService } from '@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common/vscode/vs/workbench/services/environment/browser/environmentService.service';
19
19
  import { ReleaseNotesManager } from './releaseNotesEditor.js';
20
20
  import { isWeb, isMacintosh, isWindows } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
21
21
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
@@ -54,7 +54,7 @@ async function openLatestReleaseNotesInBrowser(accessor) {
54
54
  }
55
55
  else {
56
56
  throw ( new Error(( localize(
57
- 11086,
57
+ 11193,
58
58
  "This version of {0} does not have release notes online",
59
59
  productService.nameLong
60
60
  ))));
@@ -115,17 +115,17 @@ let ProductContribution = class ProductContribution {
115
115
  showReleaseNotesInEditor(instantiationService, productService.version, false)
116
116
  .then(undefined, () => {
117
117
  notificationService.prompt(Severity.Info, ( localize(
118
- 11087,
118
+ 11194,
119
119
  "Welcome to {0} v{1}! Would you like to read the Release Notes?",
120
120
  productService.nameLong,
121
121
  productService.version
122
122
  )), [{
123
- label: ( localize(11088, "Release Notes")),
123
+ label: ( localize(11195, "Release Notes")),
124
124
  run: () => {
125
125
  const uri = ( URI.parse(releaseNotesUrl));
126
126
  openerService.open(uri);
127
127
  }
128
- }]);
128
+ }], { priority: NotificationPriority.OPTIONAL });
129
129
  });
130
130
  }
131
131
  storageService.store(ProductContribution_1.KEY, productService.version, StorageScope.APPLICATION, StorageTarget.MACHINE);
@@ -179,7 +179,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
179
179
  this.notificationService.notify({
180
180
  severity: Severity.Info,
181
181
  message: ( localize(
182
- 11089,
182
+ 11196,
183
183
  "Updates are disabled because you are running the user-scope installation of {0} as Administrator.",
184
184
  this.productService.nameLong
185
185
  )),
@@ -187,7 +187,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
187
187
  primary: [
188
188
  toAction({
189
189
  id: '',
190
- label: ( localize(11090, "Learn More")),
190
+ label: ( localize(11197, "Learn More")),
191
191
  run: () => this.openerService.open('https://aka.ms/vscode-windows-setup')
192
192
  })
193
193
  ]
@@ -223,16 +223,16 @@ let UpdateContribution = class UpdateContribution extends Disposable {
223
223
  }
224
224
  let badge = undefined;
225
225
  if (state.type === StateType.AvailableForDownload || state.type === StateType.Downloaded || state.type === StateType.Ready) {
226
- badge = ( new NumberBadge(1, () => ( localize(11091, "New {0} update available.", this.productService.nameShort))));
226
+ badge = ( new NumberBadge(1, () => ( localize(11198, "New {0} update available.", this.productService.nameShort))));
227
227
  }
228
228
  else if (state.type === StateType.CheckingForUpdates) {
229
- badge = ( new ProgressBadge(() => ( localize(11092, "Checking for {0} updates...", this.productService.nameShort))));
229
+ badge = ( new ProgressBadge(() => ( localize(11199, "Checking for {0} updates...", this.productService.nameShort))));
230
230
  }
231
231
  else if (state.type === StateType.Downloading) {
232
- badge = ( new ProgressBadge(() => ( localize(11093, "Downloading {0} update...", this.productService.nameShort))));
232
+ badge = ( new ProgressBadge(() => ( localize(11200, "Downloading {0} update...", this.productService.nameShort))));
233
233
  }
234
234
  else if (state.type === StateType.Updating) {
235
- badge = ( new ProgressBadge(() => ( localize(11094, "Updating {0}...", this.productService.nameShort))));
235
+ badge = ( new ProgressBadge(() => ( localize(11201, "Updating {0}...", this.productService.nameShort))));
236
236
  }
237
237
  this.badgeDisposable.clear();
238
238
  if (badge) {
@@ -248,11 +248,11 @@ let UpdateContribution = class UpdateContribution extends Disposable {
248
248
  this.notificationService.notify({
249
249
  severity: Severity.Error,
250
250
  message: error,
251
- source: ( localize(11095, "Update Service")),
251
+ source: ( localize(11202, "Update Service")),
252
252
  });
253
253
  }
254
254
  onUpdateNotAvailable() {
255
- this.dialogService.info(( localize(11096, "There are currently no updates available.")));
255
+ this.dialogService.info(( localize(11203, "There are currently no updates available.")));
256
256
  }
257
257
  onUpdateAvailable(update) {
258
258
  if (!this.shouldShowNotification()) {
@@ -262,18 +262,18 @@ let UpdateContribution = class UpdateContribution extends Disposable {
262
262
  if (!productVersion) {
263
263
  return;
264
264
  }
265
- this.notificationService.prompt(Severity.Info, ( localize(11097, "There is an available update.")), [{
266
- label: ( localize(11098, "Download Update")),
265
+ this.notificationService.prompt(Severity.Info, ( localize(11204, "There is an available update.")), [{
266
+ label: ( localize(11205, "Download Update")),
267
267
  run: () => this.updateService.downloadUpdate()
268
268
  }, {
269
- label: ( localize(11099, "Later")),
269
+ label: ( localize(11206, "Later")),
270
270
  run: () => { }
271
271
  }, {
272
- label: ( localize(11088, "Release Notes")),
272
+ label: ( localize(11195, "Release Notes")),
273
273
  run: () => {
274
274
  this.instantiationService.invokeFunction(accessor => showReleaseNotes(accessor, productVersion));
275
275
  }
276
- }]);
276
+ }], { priority: NotificationPriority.OPTIONAL });
277
277
  }
278
278
  onUpdateDownloaded(update) {
279
279
  if (isMacintosh) {
@@ -290,48 +290,51 @@ let UpdateContribution = class UpdateContribution extends Disposable {
290
290
  return;
291
291
  }
292
292
  this.notificationService.prompt(Severity.Info, ( localize(
293
- 11100,
293
+ 11207,
294
294
  "There's an update available: {0} {1}",
295
295
  this.productService.nameLong,
296
296
  productVersion
297
297
  )), [{
298
- label: ( localize(11101, "Install Update")),
298
+ label: ( localize(11208, "Install Update")),
299
299
  run: () => this.updateService.applyUpdate()
300
300
  }, {
301
- label: ( localize(11099, "Later")),
301
+ label: ( localize(11206, "Later")),
302
302
  run: () => { }
303
303
  }, {
304
- label: ( localize(11088, "Release Notes")),
304
+ label: ( localize(11195, "Release Notes")),
305
305
  run: () => {
306
306
  this.instantiationService.invokeFunction(accessor => showReleaseNotes(accessor, productVersion));
307
307
  }
308
- }]);
308
+ }], { priority: NotificationPriority.OPTIONAL });
309
309
  }
310
310
  onUpdateReady(update) {
311
311
  if (!(isWindows && this.productService.target !== 'user') && !this.shouldShowNotification()) {
312
312
  return;
313
313
  }
314
314
  const actions = [{
315
- label: ( localize(11102, "Update Now")),
315
+ label: ( localize(11209, "Update Now")),
316
316
  run: () => this.updateService.quitAndInstall()
317
317
  }, {
318
- label: ( localize(11099, "Later")),
318
+ label: ( localize(11206, "Later")),
319
319
  run: () => { }
320
320
  }];
321
321
  const productVersion = update.productVersion;
322
322
  if (productVersion) {
323
323
  actions.push({
324
- label: ( localize(11088, "Release Notes")),
324
+ label: ( localize(11195, "Release Notes")),
325
325
  run: () => {
326
326
  this.instantiationService.invokeFunction(accessor => showReleaseNotes(accessor, productVersion));
327
327
  }
328
328
  });
329
329
  }
330
330
  this.notificationService.prompt(Severity.Info, ( localize(
331
- 11103,
331
+ 11210,
332
332
  "Restart {0} to apply the latest update.",
333
333
  this.productService.nameLong
334
- )), actions, { sticky: true });
334
+ )), actions, {
335
+ sticky: true,
336
+ priority: NotificationPriority.OPTIONAL
337
+ });
335
338
  }
336
339
  shouldShowNotification() {
337
340
  const currentVersion = this.productService.commit;
@@ -351,7 +354,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
351
354
  group: '7_update',
352
355
  command: {
353
356
  id: 'update.check',
354
- title: ( localize(11104, "Check for Updates..."))
357
+ title: ( localize(11211, "Check for Updates..."))
355
358
  },
356
359
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Idle))
357
360
  });
@@ -360,7 +363,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
360
363
  group: '7_update',
361
364
  command: {
362
365
  id: 'update.checking',
363
- title: ( localize(11105, "Checking for Updates...")),
366
+ title: ( localize(11212, "Checking for Updates...")),
364
367
  precondition: ( ContextKeyExpr.false())
365
368
  },
366
369
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.CheckingForUpdates))
@@ -370,7 +373,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
370
373
  group: '7_update',
371
374
  command: {
372
375
  id: 'update.downloadNow',
373
- title: ( localize(11106, "Download Update (1)"))
376
+ title: ( localize(11213, "Download Update (1)"))
374
377
  },
375
378
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.AvailableForDownload))
376
379
  });
@@ -379,7 +382,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
379
382
  group: '7_update',
380
383
  command: {
381
384
  id: 'update.downloading',
382
- title: ( localize(11107, "Downloading Update...")),
385
+ title: ( localize(11214, "Downloading Update...")),
383
386
  precondition: ( ContextKeyExpr.false())
384
387
  },
385
388
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Downloading))
@@ -389,7 +392,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
389
392
  group: '7_update',
390
393
  command: {
391
394
  id: 'update.install',
392
- title: ( localize(11108, "Install Update... (1)"))
395
+ title: ( localize(11215, "Install Update... (1)"))
393
396
  },
394
397
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Downloaded))
395
398
  });
@@ -398,7 +401,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
398
401
  group: '7_update',
399
402
  command: {
400
403
  id: 'update.updating',
401
- title: ( localize(11109, "Installing Update...")),
404
+ title: ( localize(11216, "Installing Update...")),
402
405
  precondition: ( ContextKeyExpr.false())
403
406
  },
404
407
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Updating))
@@ -418,7 +421,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
418
421
  order: 1,
419
422
  command: {
420
423
  id: 'update.showUpdateReleaseNotes',
421
- title: ( localize(11110, "Show Update Release Notes"))
424
+ title: ( localize(11217, "Show Update Release Notes"))
422
425
  },
423
426
  when: ( ContextKeyExpr.and(( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Ready)), MAJOR_MINOR_UPDATE_AVAILABLE))
424
427
  });
@@ -429,7 +432,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
429
432
  order: 2,
430
433
  command: {
431
434
  id: 'update.restart',
432
- title: ( localize(11111, "Restart to Update (1)"))
435
+ title: ( localize(11218, "Restart to Update (1)"))
433
436
  },
434
437
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Ready))
435
438
  });
@@ -469,7 +472,7 @@ let SwitchProductQualityContribution = class SwitchProductQualityContribution ex
469
472
  constructor() {
470
473
  super({
471
474
  id: commandId,
472
- title: isSwitchingToInsiders ? ( localize(11112, "Switch to Insiders Version...")) : ( localize(11113, "Switch to Stable Version...")),
475
+ title: isSwitchingToInsiders ? ( localize(11219, "Switch to Insiders Version...")) : ( localize(11220, "Switch to Stable Version...")),
473
476
  precondition: IsWebContext,
474
477
  menu: {
475
478
  id: MenuId.GlobalActivity,
@@ -503,17 +506,17 @@ let SwitchProductQualityContribution = class SwitchProductQualityContribution ex
503
506
  }
504
507
  const res = await dialogService.confirm({
505
508
  type: 'info',
506
- message: ( localize(11114, "Changing the version requires a reload to take effect")),
509
+ message: ( localize(11221, "Changing the version requires a reload to take effect")),
507
510
  detail: newQuality === 'insider' ?
508
511
  ( localize(
509
- 11115,
512
+ 11222,
510
513
  "Press the reload button to switch to the Insiders version of VS Code."
511
514
  )) :
512
515
  ( localize(
513
- 11116,
516
+ 11223,
514
517
  "Press the reload button to switch to the Stable version of VS Code."
515
518
  )),
516
- primaryButton: ( localize(11117, "&&Reload"))
519
+ primaryButton: ( localize(11224, "&&Reload"))
517
520
  });
518
521
  if (res.confirmed) {
519
522
  const promises = [];
@@ -540,20 +543,20 @@ let SwitchProductQualityContribution = class SwitchProductQualityContribution ex
540
543
  const { result } = await dialogService.prompt({
541
544
  type: Severity.Info,
542
545
  message: ( localize(
543
- 11118,
546
+ 11225,
544
547
  "Choose the settings sync service to use after changing the version"
545
548
  )),
546
549
  detail: ( localize(
547
- 11119,
550
+ 11226,
548
551
  "The Insiders version of VS Code will synchronize your settings, keybindings, extensions, snippets and UI State using separate insiders settings sync service by default."
549
552
  )),
550
553
  buttons: [
551
554
  {
552
- label: ( localize(11120, "&&Insiders")),
555
+ label: ( localize(11227, "&&Insiders")),
553
556
  run: () => 'insiders'
554
557
  },
555
558
  {
556
- label: ( localize(11121, "&&Stable (current)")),
559
+ label: ( localize(11228, "&&Stable (current)")),
557
560
  run: () => 'stable'
558
561
  }
559
562
  ],
@@ -1,7 +1,7 @@
1
1
  import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
2
2
  import { State } from "@codingame/monaco-vscode-api/vscode/vs/platform/update/common/update";
3
3
  import { IUpdateService } from "@codingame/monaco-vscode-api/vscode/vs/platform/update/common/update.service";
4
- import { IBrowserWorkbenchEnvironmentService } from "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common/vscode/vs/workbench/services/environment/browser/environmentService.service";
4
+ import { IBrowserWorkbenchEnvironmentService } from "@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common/vscode/vs/workbench/services/environment/browser/environmentService.service";
5
5
  import { IHostService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service";
6
6
  import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
7
7
  export interface IUpdate {
@@ -4,7 +4,7 @@ import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/even
4
4
  import { State, UpdateType } from '@codingame/monaco-vscode-api/vscode/vs/platform/update/common/update';
5
5
  import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
6
6
  import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
7
- import { IBrowserWorkbenchEnvironmentService } from '@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common/vscode/vs/workbench/services/environment/browser/environmentService.service';
7
+ import { IBrowserWorkbenchEnvironmentService } from '@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common/vscode/vs/workbench/services/environment/browser/environmentService.service';
8
8
  import { IHostService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service';
9
9
  import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
10
10