@codingame/monaco-vscode-update-service-override 26.0.0 → 26.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": "26.
|
|
3
|
+
"version": "26.1.0",
|
|
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": "26.
|
|
18
|
+
"@codingame/monaco-vscode-api": "26.1.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -106,7 +106,7 @@ let ReleaseNotesManager = class ReleaseNotesManager extends Disposable {
|
|
|
106
106
|
base
|
|
107
107
|
};
|
|
108
108
|
const html = await this.renderBody(this._lastMeta);
|
|
109
|
-
const title = ( localize(
|
|
109
|
+
const title = ( localize(13217, "Release Notes: {0}", version));
|
|
110
110
|
const activeEditorPane = this._editorService.activeEditorPane;
|
|
111
111
|
if (this._currentReleaseNotes) {
|
|
112
112
|
this._currentReleaseNotes.setWebviewTitle(title);
|
|
@@ -162,7 +162,7 @@ let ReleaseNotesManager = class ReleaseNotesManager extends Disposable {
|
|
|
162
162
|
const versionLabel = match[1].replace(/\./g, "_");
|
|
163
163
|
const baseUrl = "https://code.visualstudio.com/raw";
|
|
164
164
|
const url = `${baseUrl}/v${versionLabel}.md`;
|
|
165
|
-
const unassigned = ( localize(
|
|
165
|
+
const unassigned = ( localize(13218, "unassigned"));
|
|
166
166
|
const escapeMdHtml = text => {
|
|
167
167
|
return escape(text).replace(/\\/g, "\\\\");
|
|
168
168
|
};
|
|
@@ -541,7 +541,7 @@ let ReleaseNotesManager = class ReleaseNotesManager extends Disposable {
|
|
|
541
541
|
|
|
542
542
|
const label = document.createElement('label');
|
|
543
543
|
label.htmlFor = 'showReleaseNotes';
|
|
544
|
-
label.textContent = '${( localize(
|
|
544
|
+
label.textContent = '${( localize(13219, "Show release notes after an update"))}';
|
|
545
545
|
container.appendChild(label);
|
|
546
546
|
|
|
547
547
|
const beforeElement = document.querySelector("body > h1")?.nextElementSibling;
|
|
@@ -31,8 +31,8 @@ class ShowCurrentReleaseNotesAction extends Action2 {
|
|
|
31
31
|
super({
|
|
32
32
|
id: ShowCurrentReleaseNotesActionId,
|
|
33
33
|
title: {
|
|
34
|
-
...( localize2(
|
|
35
|
-
mnemonicTitle: ( localize(
|
|
34
|
+
...( localize2(13220, "Show Release Notes")),
|
|
35
|
+
mnemonicTitle: ( localize(13221, "Show &&Release Notes"))
|
|
36
36
|
},
|
|
37
37
|
category: {
|
|
38
38
|
value: product.nameShort,
|
|
@@ -59,7 +59,7 @@ class ShowCurrentReleaseNotesAction extends Action2 {
|
|
|
59
59
|
await openerService.open(( URI.parse(productService.releaseNotesUrl)));
|
|
60
60
|
} else {
|
|
61
61
|
throw ( new Error(( localize(
|
|
62
|
-
|
|
62
|
+
13222,
|
|
63
63
|
"This version of {0} does not have release notes online",
|
|
64
64
|
productService.nameLong
|
|
65
65
|
))));
|
|
@@ -72,10 +72,10 @@ class ShowCurrentReleaseNotesFromCurrentFileAction extends Action2 {
|
|
|
72
72
|
super({
|
|
73
73
|
id: ShowCurrentReleaseNotesFromCurrentFileActionId,
|
|
74
74
|
title: {
|
|
75
|
-
...( localize2(
|
|
76
|
-
mnemonicTitle: ( localize(
|
|
75
|
+
...( localize2(13223, "Open Current File as Release Notes")),
|
|
76
|
+
mnemonicTitle: ( localize(13221, "Show &&Release Notes"))
|
|
77
77
|
},
|
|
78
|
-
category: ( localize2(
|
|
78
|
+
category: ( localize2(13224, "Developer")),
|
|
79
79
|
f1: true
|
|
80
80
|
});
|
|
81
81
|
}
|
|
@@ -85,7 +85,7 @@ class ShowCurrentReleaseNotesFromCurrentFileAction extends Action2 {
|
|
|
85
85
|
try {
|
|
86
86
|
await showReleaseNotesInEditor(instantiationService, productService.version, true);
|
|
87
87
|
} catch (err) {
|
|
88
|
-
throw ( new Error(( localize(
|
|
88
|
+
throw ( new Error(( localize(13225, "Cannot open the current file as Release Notes"))));
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -95,7 +95,7 @@ class CheckForUpdateAction extends Action2 {
|
|
|
95
95
|
constructor() {
|
|
96
96
|
super({
|
|
97
97
|
id: "update.checkForUpdate",
|
|
98
|
-
title: ( localize2(
|
|
98
|
+
title: ( localize2(13226, "Check for Updates...")),
|
|
99
99
|
category: {
|
|
100
100
|
value: product.nameShort,
|
|
101
101
|
original: product.nameShort
|
|
@@ -113,7 +113,7 @@ class DownloadUpdateAction extends Action2 {
|
|
|
113
113
|
constructor() {
|
|
114
114
|
super({
|
|
115
115
|
id: "update.downloadUpdate",
|
|
116
|
-
title: ( localize2(
|
|
116
|
+
title: ( localize2(13227, "Download Update")),
|
|
117
117
|
category: {
|
|
118
118
|
value: product.nameShort,
|
|
119
119
|
original: product.nameShort
|
|
@@ -130,7 +130,7 @@ class InstallUpdateAction extends Action2 {
|
|
|
130
130
|
constructor() {
|
|
131
131
|
super({
|
|
132
132
|
id: "update.installUpdate",
|
|
133
|
-
title: ( localize2(
|
|
133
|
+
title: ( localize2(13228, "Install Update")),
|
|
134
134
|
category: {
|
|
135
135
|
value: product.nameShort,
|
|
136
136
|
original: product.nameShort
|
|
@@ -147,7 +147,7 @@ class RestartToUpdateAction extends Action2 {
|
|
|
147
147
|
constructor() {
|
|
148
148
|
super({
|
|
149
149
|
id: "update.restartToUpdate",
|
|
150
|
-
title: ( localize2(
|
|
150
|
+
title: ( localize2(13229, "Restart to Update")),
|
|
151
151
|
category: {
|
|
152
152
|
value: product.nameShort,
|
|
153
153
|
original: product.nameShort
|
|
@@ -167,7 +167,7 @@ class DownloadAction extends Action2 {
|
|
|
167
167
|
constructor() {
|
|
168
168
|
super({
|
|
169
169
|
id: DownloadAction.ID,
|
|
170
|
-
title: ( localize2(
|
|
170
|
+
title: ( localize2(13230, "Download {0}", product.nameLong)),
|
|
171
171
|
precondition: ( ContextKeyExpr.and(IsWebContext, DOWNLOAD_URL)),
|
|
172
172
|
f1: true,
|
|
173
173
|
menu: [{
|
|
@@ -194,7 +194,7 @@ if (isWindows) {
|
|
|
194
194
|
constructor() {
|
|
195
195
|
super({
|
|
196
196
|
id: "_update.applyupdate",
|
|
197
|
-
title: ( localize2(
|
|
197
|
+
title: ( localize2(13231, "Apply Update...")),
|
|
198
198
|
category: Categories.Developer,
|
|
199
199
|
f1: true,
|
|
200
200
|
precondition: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Idle))
|
|
@@ -204,13 +204,13 @@ if (isWindows) {
|
|
|
204
204
|
const updateService = accessor.get(IUpdateService);
|
|
205
205
|
const fileDialogService = accessor.get(IFileDialogService);
|
|
206
206
|
const updatePath = await fileDialogService.showOpenDialog({
|
|
207
|
-
title: ( localize(
|
|
207
|
+
title: ( localize(13232, "Apply Update")),
|
|
208
208
|
filters: [{
|
|
209
209
|
name: "Setup",
|
|
210
210
|
extensions: ["exe"]
|
|
211
211
|
}],
|
|
212
212
|
canSelectFiles: true,
|
|
213
|
-
openLabel: mnemonicButtonLabel(( localize(
|
|
213
|
+
openLabel: mnemonicButtonLabel(( localize(13233, "&&Update")))
|
|
214
214
|
});
|
|
215
215
|
if (!updatePath || !updatePath[0]) {
|
|
216
216
|
return;
|
|
@@ -54,7 +54,7 @@ async function openLatestReleaseNotesInBrowser(accessor) {
|
|
|
54
54
|
await openerService.open(uri);
|
|
55
55
|
} else {
|
|
56
56
|
throw ( new Error(( localize(
|
|
57
|
-
|
|
57
|
+
13234,
|
|
58
58
|
"This version of {0} does not have release notes online",
|
|
59
59
|
productService.nameLong
|
|
60
60
|
))));
|
|
@@ -128,12 +128,12 @@ let ProductContribution = class ProductContribution {
|
|
|
128
128
|
if (shouldShowReleaseNotes && !environmentService.skipReleaseNotes && releaseNotesUrl && lastVersion && currentVersion && isMajorMinorUpdate(lastVersion, currentVersion)) {
|
|
129
129
|
showReleaseNotesInEditor(instantiationService, productService.version, false).then(undefined, () => {
|
|
130
130
|
notificationService.prompt(Severity.Info, ( localize(
|
|
131
|
-
|
|
131
|
+
13235,
|
|
132
132
|
"Welcome to {0} v{1}! Would you like to read the Release Notes?",
|
|
133
133
|
productService.nameLong,
|
|
134
134
|
productService.version
|
|
135
135
|
)), [{
|
|
136
|
-
label: ( localize(
|
|
136
|
+
label: ( localize(13236, "Release Notes")),
|
|
137
137
|
run: () => {
|
|
138
138
|
const uri = ( URI.parse(releaseNotesUrl));
|
|
139
139
|
openerService.open(uri);
|
|
@@ -201,14 +201,14 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
201
201
|
this.notificationService.notify({
|
|
202
202
|
severity: Severity.Info,
|
|
203
203
|
message: ( localize(
|
|
204
|
-
|
|
204
|
+
13237,
|
|
205
205
|
"Updates are disabled because you are running the user-scope installation of {0} as Administrator.",
|
|
206
206
|
this.productService.nameLong
|
|
207
207
|
)),
|
|
208
208
|
actions: {
|
|
209
209
|
primary: [toAction({
|
|
210
210
|
id: "",
|
|
211
|
-
label: ( localize(
|
|
211
|
+
label: ( localize(13238, "Learn More")),
|
|
212
212
|
run: () => this.openerService.open("https://aka.ms/vscode-windows-setup")
|
|
213
213
|
})]
|
|
214
214
|
},
|
|
@@ -250,13 +250,13 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
250
250
|
}
|
|
251
251
|
let badge = undefined;
|
|
252
252
|
if (state.type === StateType.AvailableForDownload || state.type === StateType.Downloaded || state.type === StateType.Ready) {
|
|
253
|
-
badge = ( new NumberBadge(1, () => ( localize(
|
|
253
|
+
badge = ( new NumberBadge(1, () => ( localize(13239, "New {0} update available.", this.productService.nameShort))));
|
|
254
254
|
} else if (state.type === StateType.CheckingForUpdates) {
|
|
255
|
-
badge = ( new ProgressBadge(() => ( localize(
|
|
255
|
+
badge = ( new ProgressBadge(() => ( localize(13240, "Checking for {0} updates...", this.productService.nameShort))));
|
|
256
256
|
} else if (state.type === StateType.Downloading || state.type === StateType.Overwriting) {
|
|
257
|
-
badge = ( new ProgressBadge(() => ( localize(
|
|
257
|
+
badge = ( new ProgressBadge(() => ( localize(13241, "Downloading {0} update...", this.productService.nameShort))));
|
|
258
258
|
} else if (state.type === StateType.Updating) {
|
|
259
|
-
badge = ( new ProgressBadge(() => ( localize(
|
|
259
|
+
badge = ( new ProgressBadge(() => ( localize(13242, "Updating {0}...", this.productService.nameShort))));
|
|
260
260
|
}
|
|
261
261
|
this.badgeDisposable.clear();
|
|
262
262
|
if (badge) {
|
|
@@ -277,11 +277,11 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
277
277
|
this.notificationService.notify({
|
|
278
278
|
severity: Severity.Error,
|
|
279
279
|
message: error,
|
|
280
|
-
source: ( localize(
|
|
280
|
+
source: ( localize(13243, "Update Service"))
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
283
|
onUpdateNotAvailable() {
|
|
284
|
-
this.dialogService.info(( localize(
|
|
284
|
+
this.dialogService.info(( localize(13244, "There are currently no updates available.")));
|
|
285
285
|
}
|
|
286
286
|
onUpdateAvailable(update) {
|
|
287
287
|
if (!this.shouldShowNotification()) {
|
|
@@ -291,14 +291,14 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
291
291
|
if (!productVersion) {
|
|
292
292
|
return;
|
|
293
293
|
}
|
|
294
|
-
this.notificationService.prompt(Severity.Info, ( localize(
|
|
295
|
-
label: ( localize(
|
|
294
|
+
this.notificationService.prompt(Severity.Info, ( localize(13245, "There is an available update.")), [{
|
|
295
|
+
label: ( localize(13246, "Download Update")),
|
|
296
296
|
run: () => this.updateService.downloadUpdate()
|
|
297
297
|
}, {
|
|
298
|
-
label: ( localize(
|
|
298
|
+
label: ( localize(13247, "Later")),
|
|
299
299
|
run: () => {}
|
|
300
300
|
}, {
|
|
301
|
-
label: ( localize(
|
|
301
|
+
label: ( localize(13236, "Release Notes")),
|
|
302
302
|
run: () => {
|
|
303
303
|
this.instantiationService.invokeFunction(accessor => showReleaseNotes(accessor, productVersion));
|
|
304
304
|
}
|
|
@@ -321,18 +321,18 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
321
321
|
return;
|
|
322
322
|
}
|
|
323
323
|
this.notificationService.prompt(Severity.Info, ( localize(
|
|
324
|
-
|
|
324
|
+
13248,
|
|
325
325
|
"There's an update available: {0} {1}",
|
|
326
326
|
this.productService.nameLong,
|
|
327
327
|
productVersion
|
|
328
328
|
)), [{
|
|
329
|
-
label: ( localize(
|
|
329
|
+
label: ( localize(13249, "Install Update")),
|
|
330
330
|
run: () => this.updateService.applyUpdate()
|
|
331
331
|
}, {
|
|
332
|
-
label: ( localize(
|
|
332
|
+
label: ( localize(13247, "Later")),
|
|
333
333
|
run: () => {}
|
|
334
334
|
}, {
|
|
335
|
-
label: ( localize(
|
|
335
|
+
label: ( localize(13236, "Release Notes")),
|
|
336
336
|
run: () => {
|
|
337
337
|
this.instantiationService.invokeFunction(accessor => showReleaseNotes(accessor, productVersion));
|
|
338
338
|
}
|
|
@@ -345,33 +345,33 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
345
345
|
const handle = this.overwriteNotificationHandle;
|
|
346
346
|
this.overwriteNotificationHandle = undefined;
|
|
347
347
|
handle.progress.done();
|
|
348
|
-
handle.updateMessage(( localize(
|
|
348
|
+
handle.updateMessage(( localize(13250, "The newer update is ready to install.")));
|
|
349
349
|
handle.updateActions({
|
|
350
350
|
primary: [toAction({
|
|
351
351
|
id: "update.restartToUpdate",
|
|
352
|
-
label: ( localize(
|
|
352
|
+
label: ( localize(13251, "Restart to Update")),
|
|
353
353
|
run: () => this.updateService.quitAndInstall()
|
|
354
354
|
})]
|
|
355
355
|
});
|
|
356
356
|
} else if ((isWindows && this.productService.target !== "user") || this.shouldShowNotification()) {
|
|
357
357
|
const actions = [{
|
|
358
|
-
label: ( localize(
|
|
358
|
+
label: ( localize(13252, "Update Now")),
|
|
359
359
|
run: () => this.updateService.quitAndInstall()
|
|
360
360
|
}, {
|
|
361
|
-
label: ( localize(
|
|
361
|
+
label: ( localize(13247, "Later")),
|
|
362
362
|
run: () => {}
|
|
363
363
|
}];
|
|
364
364
|
const productVersion = state.update.productVersion;
|
|
365
365
|
if (productVersion) {
|
|
366
366
|
actions.push({
|
|
367
|
-
label: ( localize(
|
|
367
|
+
label: ( localize(13236, "Release Notes")),
|
|
368
368
|
run: () => {
|
|
369
369
|
this.instantiationService.invokeFunction(accessor => showReleaseNotes(accessor, productVersion));
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
372
|
}
|
|
373
373
|
this.notificationService.prompt(Severity.Info, ( localize(
|
|
374
|
-
|
|
374
|
+
13253,
|
|
375
375
|
"Restart {0} to apply the latest update.",
|
|
376
376
|
this.productService.nameLong
|
|
377
377
|
)), actions, {
|
|
@@ -388,10 +388,10 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
388
388
|
severity: Severity.Info,
|
|
389
389
|
sticky: true,
|
|
390
390
|
message: ( localize(
|
|
391
|
-
|
|
391
|
+
13254,
|
|
392
392
|
"We found a newer update available and have started to download it. We'll let you know as soon as it's ready to install."
|
|
393
393
|
)),
|
|
394
|
-
source: ( localize(
|
|
394
|
+
source: ( localize(13243, "Update Service"))
|
|
395
395
|
});
|
|
396
396
|
this.overwriteNotificationHandle.progress.infinite();
|
|
397
397
|
}
|
|
@@ -423,7 +423,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
423
423
|
group: "7_update",
|
|
424
424
|
command: {
|
|
425
425
|
id: "update.check",
|
|
426
|
-
title: ( localize(
|
|
426
|
+
title: ( localize(13255, "Check for Updates..."))
|
|
427
427
|
},
|
|
428
428
|
when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Idle))
|
|
429
429
|
});
|
|
@@ -432,7 +432,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
432
432
|
group: "7_update",
|
|
433
433
|
command: {
|
|
434
434
|
id: "update.checking",
|
|
435
|
-
title: ( localize(
|
|
435
|
+
title: ( localize(13256, "Checking for Updates...")),
|
|
436
436
|
precondition: ( ContextKeyExpr.false())
|
|
437
437
|
},
|
|
438
438
|
when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.CheckingForUpdates))
|
|
@@ -442,7 +442,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
442
442
|
group: "7_update",
|
|
443
443
|
command: {
|
|
444
444
|
id: "update.downloadNow",
|
|
445
|
-
title: ( localize(
|
|
445
|
+
title: ( localize(13257, "Download Update (1)"))
|
|
446
446
|
},
|
|
447
447
|
when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.AvailableForDownload))
|
|
448
448
|
});
|
|
@@ -451,7 +451,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
451
451
|
group: "7_update",
|
|
452
452
|
command: {
|
|
453
453
|
id: "update.downloading",
|
|
454
|
-
title: ( localize(
|
|
454
|
+
title: ( localize(13258, "Downloading Update...")),
|
|
455
455
|
precondition: ( ContextKeyExpr.false())
|
|
456
456
|
},
|
|
457
457
|
when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Downloading))
|
|
@@ -461,7 +461,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
461
461
|
group: "7_update",
|
|
462
462
|
command: {
|
|
463
463
|
id: "update.install",
|
|
464
|
-
title: ( localize(
|
|
464
|
+
title: ( localize(13259, "Install Update... (1)"))
|
|
465
465
|
},
|
|
466
466
|
when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Downloaded))
|
|
467
467
|
});
|
|
@@ -470,7 +470,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
470
470
|
group: "7_update",
|
|
471
471
|
command: {
|
|
472
472
|
id: "update.updating",
|
|
473
|
-
title: ( localize(
|
|
473
|
+
title: ( localize(13260, "Installing Update...")),
|
|
474
474
|
precondition: ( ContextKeyExpr.false())
|
|
475
475
|
},
|
|
476
476
|
when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Updating))
|
|
@@ -490,7 +490,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
490
490
|
order: 1,
|
|
491
491
|
command: {
|
|
492
492
|
id: "update.showUpdateReleaseNotes",
|
|
493
|
-
title: ( localize(
|
|
493
|
+
title: ( localize(13261, "Show Update Release Notes"))
|
|
494
494
|
},
|
|
495
495
|
when: ( ContextKeyExpr.and(( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Ready)), MAJOR_MINOR_UPDATE_AVAILABLE))
|
|
496
496
|
});
|
|
@@ -501,7 +501,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
|
|
|
501
501
|
order: 2,
|
|
502
502
|
command: {
|
|
503
503
|
id: "update.restart",
|
|
504
|
-
title: ( localize(
|
|
504
|
+
title: ( localize(13262, "Restart to Update (1)"))
|
|
505
505
|
},
|
|
506
506
|
when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Ready))
|
|
507
507
|
});
|
|
@@ -529,7 +529,7 @@ let SwitchProductQualityContribution = class SwitchProductQualityContribution ex
|
|
|
529
529
|
constructor() {
|
|
530
530
|
super({
|
|
531
531
|
id: commandId,
|
|
532
|
-
title: isSwitchingToInsiders ? ( localize(
|
|
532
|
+
title: isSwitchingToInsiders ? ( localize(13263, "Switch to Insiders Version...")) : ( localize(13264, "Switch to Stable Version...")),
|
|
533
533
|
precondition: IsWebContext,
|
|
534
534
|
menu: {
|
|
535
535
|
id: MenuId.GlobalActivity,
|
|
@@ -567,15 +567,15 @@ let SwitchProductQualityContribution = class SwitchProductQualityContribution ex
|
|
|
567
567
|
}
|
|
568
568
|
const res = await dialogService.confirm({
|
|
569
569
|
type: "info",
|
|
570
|
-
message: ( localize(
|
|
570
|
+
message: ( localize(13265, "Changing the version requires a reload to take effect")),
|
|
571
571
|
detail: newQuality === "insider" ? ( localize(
|
|
572
|
-
|
|
572
|
+
13266,
|
|
573
573
|
"Press the reload button to switch to the Insiders version of VS Code."
|
|
574
574
|
)) : ( localize(
|
|
575
|
-
|
|
575
|
+
13267,
|
|
576
576
|
"Press the reload button to switch to the Stable version of VS Code."
|
|
577
577
|
)),
|
|
578
|
-
primaryButton: ( localize(
|
|
578
|
+
primaryButton: ( localize(13268, "&&Reload"))
|
|
579
579
|
});
|
|
580
580
|
if (res.confirmed) {
|
|
581
581
|
const promises = [];
|
|
@@ -605,18 +605,18 @@ let SwitchProductQualityContribution = class SwitchProductQualityContribution ex
|
|
|
605
605
|
} = await dialogService.prompt({
|
|
606
606
|
type: Severity.Info,
|
|
607
607
|
message: ( localize(
|
|
608
|
-
|
|
608
|
+
13269,
|
|
609
609
|
"Choose the settings sync service to use after changing the version"
|
|
610
610
|
)),
|
|
611
611
|
detail: ( localize(
|
|
612
|
-
|
|
612
|
+
13270,
|
|
613
613
|
"The Insiders version of VS Code will synchronize your settings, keybindings, extensions, snippets and UI State using separate insiders settings sync service by default."
|
|
614
614
|
)),
|
|
615
615
|
buttons: [{
|
|
616
|
-
label: ( localize(
|
|
616
|
+
label: ( localize(13271, "&&Insiders")),
|
|
617
617
|
run: () => "insiders"
|
|
618
618
|
}, {
|
|
619
|
-
label: ( localize(
|
|
619
|
+
label: ( localize(13272, "&&Stable (current)")),
|
|
620
620
|
run: () => "stable"
|
|
621
621
|
}],
|
|
622
622
|
cancelButton: true
|