@codingame/monaco-vscode-update-service-override 15.0.3 → 16.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-update-service-override",
3
- "version": "15.0.3",
3
+ "version": "16.0.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": "15.0.3",
19
- "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "15.0.3",
20
- "@codingame/monaco-vscode-5e324391-11e3-5ceb-93ee-938e4098e4ad-common": "15.0.3",
21
- "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "15.0.3",
22
- "@codingame/monaco-vscode-api": "15.0.3",
23
- "@codingame/monaco-vscode-c3b3387c-7bce-5b8f-9e14-bebeb636f1c8-common": "15.0.3"
18
+ "@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common": "16.0.0",
19
+ "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "16.0.0",
20
+ "@codingame/monaco-vscode-5e324391-11e3-5ceb-93ee-938e4098e4ad-common": "16.0.0",
21
+ "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "16.0.0",
22
+ "@codingame/monaco-vscode-api": "16.0.0",
23
+ "@codingame/monaco-vscode-c3b3387c-7bce-5b8f-9e14-bebeb636f1c8-common": "16.0.0"
24
24
  },
25
25
  "main": "index.js",
26
26
  "module": "index.js",
@@ -29,6 +29,9 @@
29
29
  ".": {
30
30
  "default": "./index.js"
31
31
  },
32
+ "./vscode/*.css": {
33
+ "default": "./vscode/src/*.css"
34
+ },
32
35
  "./vscode/*": {
33
36
  "types": "./vscode/src/*.d.ts",
34
37
  "default": "./vscode/src/*.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(2295, "Update")),
11
+ title: ( localize(2334, "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
- 2296,
20
+ 2335,
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(2297, "Disable updates.")),
25
+ ( localize(2336, "Disable updates.")),
26
26
  ( localize(
27
- 2298,
27
+ 2337,
28
28
  "Disable automatic background update checks. Updates will be available if you manually check for updates."
29
29
  )),
30
30
  ( localize(
31
- 2299,
31
+ 2338,
32
32
  "Check for updates only on startup. Disable automatic background update checks."
33
33
  )),
34
34
  ( localize(
35
- 2300,
35
+ 2339,
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
- 2296,
49
+ 2335,
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
- 2301,
53
+ 2340,
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(2302, "Enable Background Updates on Windows")),
62
+ title: ( localize(2341, "Enable Background Updates on Windows")),
63
63
  description: ( localize(
64
- 2303,
64
+ 2342,
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
- 2304,
74
+ 2343,
75
75
  "Show Release Notes after an update. The Release Notes are fetched from a Microsoft online service."
76
76
  )),
77
77
  tags: ['usesOnlineServices']
@@ -0,0 +1 @@
1
+ <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><style>.st0{fill:#f6f6f6;fill-opacity:0}.st1{fill:#fff}.st2{fill:#167abf}</style><path class="st0" d="M1024 1024H0V0h1024v1024z"/><path class="st1" d="M1024 85.333v853.333H0V85.333h1024z"/><path class="st2" d="M0 85.333h298.667v853.333H0V85.333zm1024 0v853.333H384V85.333h640zm-554.667 160h341.333v-64H469.333v64zm341.334 533.334H469.333v64h341.333l.001-64zm128-149.334H597.333v64h341.333l.001-64zm0-149.333H597.333v64h341.333l.001-64zm0-149.333H597.333v64h341.333l.001-64z"/></svg>
@@ -109,12 +109,12 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
109
109
  }
110
110
  viewInSettingsMessage(settingId, alreadyDisplayed) {
111
111
  if (alreadyDisplayed) {
112
- return localize(7291, "View in Settings");
112
+ return localize(7439, "View in Settings");
113
113
  }
114
114
  else {
115
115
  const displayName = settingKeyToDisplayFormat(settingId);
116
116
  return localize(
117
- 7292,
117
+ 7440,
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
- 7293,
127
+ 7441,
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
- 7294,
142
+ 7442,
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
- 7295,
150
+ 7443,
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(7296, "Enable \"{0}: {1}\"", displayName.category, displayName.label);
158
+ return localize(7444, "Enable \"{0}: {1}\"", displayName.category, displayName.label);
159
159
  }
160
160
  else {
161
- return localize(7297, "Disable \"{0}: {1}\"", displayName.category, displayName.label);
161
+ return localize(7445, "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
- 7298,
168
+ 7446,
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
- 7299,
176
+ 7447,
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
- 7300,
187
+ 7448,
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
- 7301,
195
+ 7449,
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(7302, "View or change setting"));
204
+ const title = ( localize(7450, "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(7303, "Copy Setting ID")),
284
- label: ( localize(7303, "Copy Setting ID")),
283
+ tooltip: ( localize(7451, "Copy Setting ID")),
284
+ label: ( localize(7451, "Copy Setting ID")),
285
285
  run: () => {
286
286
  this._clipboardService.writeText(settingId);
287
287
  }
@@ -0,0 +1,4 @@
1
+ .file-icons-enabled .show-file-icons .webview-vs_code_release_notes-name-file-icon.file-icon::before {
2
+ content: ' ';
3
+ background-image: url('../../../../browser/media/code-icon.svg');
4
+ }
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
- import './media/releasenoteseditor.css.js';
3
+ import './media/releasenoteseditor.css';
4
4
  import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
5
5
  import { onUnexpectedError } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
6
6
  import { escapeMarkdownSyntaxTokens } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
@@ -83,7 +83,7 @@ let ReleaseNotesManager = class ReleaseNotesManager {
83
83
  const base = await this.getBase(useCurrentFile);
84
84
  this._lastMeta = { text: releaseNoteText, base };
85
85
  const html = await this.renderBody(this._lastMeta);
86
- const title = ( localize(10747, "Release Notes: {0}", version));
86
+ const title = ( localize(11069, "Release Notes: {0}", version));
87
87
  const activeEditorPane = this._editorService.activeEditorPane;
88
88
  if (this._currentReleaseNotes) {
89
89
  this._currentReleaseNotes.setName(title);
@@ -132,7 +132,7 @@ let ReleaseNotesManager = class ReleaseNotesManager {
132
132
  const versionLabel = match[1].replace(/\./g, '_');
133
133
  const baseUrl = 'https://code.visualstudio.com/raw';
134
134
  const url = `${baseUrl}/v${versionLabel}.md`;
135
- const unassigned = ( localize(10748, "unassigned"));
135
+ const unassigned = ( localize(11070, "unassigned"));
136
136
  const escapeMdHtml = (text) => {
137
137
  return escape(text).replace(/\\/g, '\\\\');
138
138
  };
@@ -298,7 +298,6 @@ let ReleaseNotesManager = class ReleaseNotesManager {
298
298
  padding-right: 3px;
299
299
  padding-top: 1px;
300
300
  padding-bottom: 1px;
301
- margin-left: -5px;
302
301
  margin-top: -3px;
303
302
  }
304
303
  .codesetting:hover {
@@ -321,7 +320,7 @@ let ReleaseNotesManager = class ReleaseNotesManager {
321
320
  display: inline-block;
322
321
  background-color: var(--vscode-editor-background);
323
322
  font-size: 12px;
324
- margin-right: 8px;
323
+ margin-right: 4px;
325
324
  }
326
325
 
327
326
  header { display: flex; align-items: center; padding-top: 1em; }
@@ -343,7 +342,7 @@ let ReleaseNotesManager = class ReleaseNotesManager {
343
342
 
344
343
  const label = document.createElement('label');
345
344
  label.htmlFor = 'showReleaseNotes';
346
- label.textContent = '${( localize(10749, "Show release notes after an update"))}';
345
+ label.textContent = '${( localize(11071, "Show release notes after an update"))}';
347
346
  container.appendChild(label);
348
347
 
349
348
  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(10750, "Show Release Notes")),
34
- mnemonicTitle: ( localize(10751, "Show &&Release Notes")),
33
+ ...( localize2(11072, "Show Release Notes")),
34
+ mnemonicTitle: ( localize(11073, "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
- 10752,
60
+ 11074,
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(10753, "Open Current File as Release Notes")),
74
- mnemonicTitle: ( localize(10751, "Show &&Release Notes")),
73
+ ...( localize2(11075, "Open Current File as Release Notes")),
74
+ mnemonicTitle: ( localize(11073, "Show &&Release Notes")),
75
75
  },
76
- category: ( localize2(10754, "Developer")),
76
+ category: ( localize2(11076, "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(10755, "Cannot open the current file as Release Notes"))));
87
+ throw ( new Error(( localize(11077, "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(10756, 'Check for Updates...')),
97
+ title: ( localize2(11078, '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(10757, 'Download Update')),
112
+ title: ( localize2(11079, '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(10758, 'Install Update')),
126
+ title: ( localize2(11080, '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(10759, 'Restart to Update')),
140
+ title: ( localize2(11081, '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(10760, "Download {0}", product.nameLong)),
155
+ title: ( localize2(11082, "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(10761, 'Apply Update...')),
182
+ title: ( localize2(11083, '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(10762, "Apply Update")),
192
+ title: ( localize(11084, "Apply Update")),
193
193
  filters: [{ name: 'Setup', extensions: ['exe'] }],
194
194
  canSelectFiles: true,
195
- openLabel: mnemonicButtonLabel(( localize(10763, "&&Update")))
195
+ openLabel: mnemonicButtonLabel(( localize(11085, "&&Update")))
196
196
  });
197
197
  if (!updatePath || !updatePath[0]) {
198
198
  return;
@@ -31,7 +31,7 @@ import { IsWebContext } from '@codingame/monaco-vscode-api/vscode/vs/platform/co
31
31
  import { Promises } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
32
32
  import { IUserDataSyncWorkbenchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataSync/common/userDataSync.service';
33
33
  import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
34
- import { Action } from '@codingame/monaco-vscode-api/vscode/vs/base/common/actions';
34
+ import { toAction } from '@codingame/monaco-vscode-api/vscode/vs/base/common/actions';
35
35
 
36
36
  var ProductContribution_1;
37
37
  const CONTEXT_UPDATE_STATE = ( new RawContextKey('updateState', StateType.Uninitialized));
@@ -54,7 +54,7 @@ async function openLatestReleaseNotesInBrowser(accessor) {
54
54
  }
55
55
  else {
56
56
  throw ( new Error(( localize(
57
- 10764,
57
+ 11086,
58
58
  "This version of {0} does not have release notes online",
59
59
  productService.nameLong
60
60
  ))));
@@ -115,12 +115,12 @@ let ProductContribution = class ProductContribution {
115
115
  showReleaseNotesInEditor(instantiationService, productService.version, false)
116
116
  .then(undefined, () => {
117
117
  notificationService.prompt(Severity.Info, ( localize(
118
- 10765,
118
+ 11087,
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(10766, "Release Notes")),
123
+ label: ( localize(11088, "Release Notes")),
124
124
  run: () => {
125
125
  const uri = ( URI.parse(releaseNotesUrl));
126
126
  openerService.open(uri);
@@ -179,15 +179,17 @@ let UpdateContribution = class UpdateContribution extends Disposable {
179
179
  this.notificationService.notify({
180
180
  severity: Severity.Info,
181
181
  message: ( localize(
182
- 10767,
182
+ 11089,
183
183
  "Updates are disabled because you are running the user-scope installation of {0} as Administrator.",
184
184
  this.productService.nameLong
185
185
  )),
186
186
  actions: {
187
187
  primary: [
188
- ( new Action('', ( localize(10768, "Learn More")), undefined, undefined, () => {
189
- this.openerService.open('https://aka.ms/vscode-windows-setup');
190
- }))
188
+ toAction({
189
+ id: '',
190
+ label: ( localize(11090, "Learn More")),
191
+ run: () => this.openerService.open('https://aka.ms/vscode-windows-setup')
192
+ })
191
193
  ]
192
194
  },
193
195
  neverShowAgain: { id: 'no-updates-running-as-admin', }
@@ -221,16 +223,16 @@ let UpdateContribution = class UpdateContribution extends Disposable {
221
223
  }
222
224
  let badge = undefined;
223
225
  if (state.type === StateType.AvailableForDownload || state.type === StateType.Downloaded || state.type === StateType.Ready) {
224
- badge = ( new NumberBadge(1, () => ( localize(10769, "New {0} update available.", this.productService.nameShort))));
226
+ badge = ( new NumberBadge(1, () => ( localize(11091, "New {0} update available.", this.productService.nameShort))));
225
227
  }
226
228
  else if (state.type === StateType.CheckingForUpdates) {
227
- badge = ( new ProgressBadge(() => ( localize(10770, "Checking for {0} updates...", this.productService.nameShort))));
229
+ badge = ( new ProgressBadge(() => ( localize(11092, "Checking for {0} updates...", this.productService.nameShort))));
228
230
  }
229
231
  else if (state.type === StateType.Downloading) {
230
- badge = ( new ProgressBadge(() => ( localize(10771, "Downloading {0} update...", this.productService.nameShort))));
232
+ badge = ( new ProgressBadge(() => ( localize(11093, "Downloading {0} update...", this.productService.nameShort))));
231
233
  }
232
234
  else if (state.type === StateType.Updating) {
233
- badge = ( new ProgressBadge(() => ( localize(10772, "Updating {0}...", this.productService.nameShort))));
235
+ badge = ( new ProgressBadge(() => ( localize(11094, "Updating {0}...", this.productService.nameShort))));
234
236
  }
235
237
  this.badgeDisposable.clear();
236
238
  if (badge) {
@@ -246,11 +248,11 @@ let UpdateContribution = class UpdateContribution extends Disposable {
246
248
  this.notificationService.notify({
247
249
  severity: Severity.Error,
248
250
  message: error,
249
- source: ( localize(10773, "Update Service")),
251
+ source: ( localize(11095, "Update Service")),
250
252
  });
251
253
  }
252
254
  onUpdateNotAvailable() {
253
- this.dialogService.info(( localize(10774, "There are currently no updates available.")));
255
+ this.dialogService.info(( localize(11096, "There are currently no updates available.")));
254
256
  }
255
257
  onUpdateAvailable(update) {
256
258
  if (!this.shouldShowNotification()) {
@@ -260,14 +262,14 @@ let UpdateContribution = class UpdateContribution extends Disposable {
260
262
  if (!productVersion) {
261
263
  return;
262
264
  }
263
- this.notificationService.prompt(Severity.Info, ( localize(10775, "There is an available update.")), [{
264
- label: ( localize(10776, "Download Update")),
265
+ this.notificationService.prompt(Severity.Info, ( localize(11097, "There is an available update.")), [{
266
+ label: ( localize(11098, "Download Update")),
265
267
  run: () => this.updateService.downloadUpdate()
266
268
  }, {
267
- label: ( localize(10777, "Later")),
269
+ label: ( localize(11099, "Later")),
268
270
  run: () => { }
269
271
  }, {
270
- label: ( localize(10766, "Release Notes")),
272
+ label: ( localize(11088, "Release Notes")),
271
273
  run: () => {
272
274
  this.instantiationService.invokeFunction(accessor => showReleaseNotes(accessor, productVersion));
273
275
  }
@@ -288,18 +290,18 @@ let UpdateContribution = class UpdateContribution extends Disposable {
288
290
  return;
289
291
  }
290
292
  this.notificationService.prompt(Severity.Info, ( localize(
291
- 10778,
293
+ 11100,
292
294
  "There's an update available: {0} {1}",
293
295
  this.productService.nameLong,
294
296
  productVersion
295
297
  )), [{
296
- label: ( localize(10779, "Install Update")),
298
+ label: ( localize(11101, "Install Update")),
297
299
  run: () => this.updateService.applyUpdate()
298
300
  }, {
299
- label: ( localize(10777, "Later")),
301
+ label: ( localize(11099, "Later")),
300
302
  run: () => { }
301
303
  }, {
302
- label: ( localize(10766, "Release Notes")),
304
+ label: ( localize(11088, "Release Notes")),
303
305
  run: () => {
304
306
  this.instantiationService.invokeFunction(accessor => showReleaseNotes(accessor, productVersion));
305
307
  }
@@ -310,23 +312,23 @@ let UpdateContribution = class UpdateContribution extends Disposable {
310
312
  return;
311
313
  }
312
314
  const actions = [{
313
- label: ( localize(10780, "Update Now")),
315
+ label: ( localize(11102, "Update Now")),
314
316
  run: () => this.updateService.quitAndInstall()
315
317
  }, {
316
- label: ( localize(10777, "Later")),
318
+ label: ( localize(11099, "Later")),
317
319
  run: () => { }
318
320
  }];
319
321
  const productVersion = update.productVersion;
320
322
  if (productVersion) {
321
323
  actions.push({
322
- label: ( localize(10766, "Release Notes")),
324
+ label: ( localize(11088, "Release Notes")),
323
325
  run: () => {
324
326
  this.instantiationService.invokeFunction(accessor => showReleaseNotes(accessor, productVersion));
325
327
  }
326
328
  });
327
329
  }
328
330
  this.notificationService.prompt(Severity.Info, ( localize(
329
- 10781,
331
+ 11103,
330
332
  "Restart {0} to apply the latest update.",
331
333
  this.productService.nameLong
332
334
  )), actions, { sticky: true });
@@ -349,7 +351,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
349
351
  group: '7_update',
350
352
  command: {
351
353
  id: 'update.check',
352
- title: ( localize(10782, "Check for Updates..."))
354
+ title: ( localize(11104, "Check for Updates..."))
353
355
  },
354
356
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Idle))
355
357
  });
@@ -358,7 +360,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
358
360
  group: '7_update',
359
361
  command: {
360
362
  id: 'update.checking',
361
- title: ( localize(10783, "Checking for Updates...")),
363
+ title: ( localize(11105, "Checking for Updates...")),
362
364
  precondition: ( ContextKeyExpr.false())
363
365
  },
364
366
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.CheckingForUpdates))
@@ -368,7 +370,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
368
370
  group: '7_update',
369
371
  command: {
370
372
  id: 'update.downloadNow',
371
- title: ( localize(10784, "Download Update (1)"))
373
+ title: ( localize(11106, "Download Update (1)"))
372
374
  },
373
375
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.AvailableForDownload))
374
376
  });
@@ -377,7 +379,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
377
379
  group: '7_update',
378
380
  command: {
379
381
  id: 'update.downloading',
380
- title: ( localize(10785, "Downloading Update...")),
382
+ title: ( localize(11107, "Downloading Update...")),
381
383
  precondition: ( ContextKeyExpr.false())
382
384
  },
383
385
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Downloading))
@@ -387,7 +389,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
387
389
  group: '7_update',
388
390
  command: {
389
391
  id: 'update.install',
390
- title: ( localize(10786, "Install Update... (1)"))
392
+ title: ( localize(11108, "Install Update... (1)"))
391
393
  },
392
394
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Downloaded))
393
395
  });
@@ -396,7 +398,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
396
398
  group: '7_update',
397
399
  command: {
398
400
  id: 'update.updating',
399
- title: ( localize(10787, "Installing Update...")),
401
+ title: ( localize(11109, "Installing Update...")),
400
402
  precondition: ( ContextKeyExpr.false())
401
403
  },
402
404
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Updating))
@@ -416,7 +418,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
416
418
  order: 1,
417
419
  command: {
418
420
  id: 'update.showUpdateReleaseNotes',
419
- title: ( localize(10788, "Show Update Release Notes"))
421
+ title: ( localize(11110, "Show Update Release Notes"))
420
422
  },
421
423
  when: ( ContextKeyExpr.and(( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Ready)), MAJOR_MINOR_UPDATE_AVAILABLE))
422
424
  });
@@ -427,7 +429,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
427
429
  order: 2,
428
430
  command: {
429
431
  id: 'update.restart',
430
- title: ( localize(10789, "Restart to Update (1)"))
432
+ title: ( localize(11111, "Restart to Update (1)"))
431
433
  },
432
434
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Ready))
433
435
  });
@@ -467,7 +469,7 @@ let SwitchProductQualityContribution = class SwitchProductQualityContribution ex
467
469
  constructor() {
468
470
  super({
469
471
  id: commandId,
470
- title: isSwitchingToInsiders ? ( localize(10790, "Switch to Insiders Version...")) : ( localize(10791, "Switch to Stable Version...")),
472
+ title: isSwitchingToInsiders ? ( localize(11112, "Switch to Insiders Version...")) : ( localize(11113, "Switch to Stable Version...")),
471
473
  precondition: IsWebContext,
472
474
  menu: {
473
475
  id: MenuId.GlobalActivity,
@@ -501,17 +503,17 @@ let SwitchProductQualityContribution = class SwitchProductQualityContribution ex
501
503
  }
502
504
  const res = await dialogService.confirm({
503
505
  type: 'info',
504
- message: ( localize(10792, "Changing the version requires a reload to take effect")),
506
+ message: ( localize(11114, "Changing the version requires a reload to take effect")),
505
507
  detail: newQuality === 'insider' ?
506
508
  ( localize(
507
- 10793,
509
+ 11115,
508
510
  "Press the reload button to switch to the Insiders version of VS Code."
509
511
  )) :
510
512
  ( localize(
511
- 10794,
513
+ 11116,
512
514
  "Press the reload button to switch to the Stable version of VS Code."
513
515
  )),
514
- primaryButton: ( localize(10795, "&&Reload"))
516
+ primaryButton: ( localize(11117, "&&Reload"))
515
517
  });
516
518
  if (res.confirmed) {
517
519
  const promises = [];
@@ -538,20 +540,20 @@ let SwitchProductQualityContribution = class SwitchProductQualityContribution ex
538
540
  const { result } = await dialogService.prompt({
539
541
  type: Severity.Info,
540
542
  message: ( localize(
541
- 10796,
543
+ 11118,
542
544
  "Choose the settings sync service to use after changing the version"
543
545
  )),
544
546
  detail: ( localize(
545
- 10797,
547
+ 11119,
546
548
  "The Insiders version of VS Code will synchronize your settings, keybindings, extensions, snippets and UI State using separate insiders settings sync service by default."
547
549
  )),
548
550
  buttons: [
549
551
  {
550
- label: ( localize(10798, "&&Insiders")),
552
+ label: ( localize(11120, "&&Insiders")),
551
553
  run: () => 'insiders'
552
554
  },
553
555
  {
554
- label: ( localize(10799, "&&Stable (current)")),
556
+ label: ( localize(11121, "&&Stable (current)")),
555
557
  run: () => 'stable'
556
558
  }
557
559
  ],
@@ -1,6 +0,0 @@
1
- import n from '@codingame/monaco-vscode-api/external/rollup-plugin-styles/dist/runtime/inject-css';
2
-
3
- var css = ".file-icons-enabled .show-file-icons .webview-vs_code_release_notes-name-file-icon.file-icon:before{background-image:url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xMDI0IDEwMjRIMFYwaDEwMjR2MTAyNHoiIHN0eWxlPSJmaWxsOiNmNmY2ZjY7ZmlsbC1vcGFjaXR5OjAiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTAyNCA4NS4zMzN2ODUzLjMzM0gwVjg1LjMzM2gxMDI0eiIgc3R5bGU9ImZpbGw6I2ZmZiIvPjxwYXRoIGQ9Ik0wIDg1LjMzM2gyOTguNjY3djg1My4zMzNIMFY4NS4zMzN6bTEwMjQgMHY4NTMuMzMzSDM4NFY4NS4zMzNoNjQwem0tNTU0LjY2NyAxNjBoMzQxLjMzM3YtNjRINDY5LjMzM3Y2NHptMzQxLjMzNCA1MzMuMzM0SDQ2OS4zMzN2NjRoMzQxLjMzM2wuMDAxLTY0em0xMjgtMTQ5LjMzNEg1OTcuMzMzdjY0aDM0MS4zMzNsLjAwMS02NHptMC0xNDkuMzMzSDU5Ny4zMzN2NjRoMzQxLjMzM2wuMDAxLTY0em0wLTE0OS4zMzNINTk3LjMzM3Y2NGgzNDEuMzMzbC4wMDEtNjR6IiBzdHlsZT0iZmlsbDojMTY3YWJmIi8+PC9zdmc+\");content:\" \"}";
4
- n(css,{});
5
-
6
- export { css, css as default };