@codingame/monaco-vscode-user-data-sync-service-override 14.0.3 → 14.0.5

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-user-data-sync-service-override",
3
- "version": "14.0.3",
3
+ "version": "14.0.5",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - user-data-sync service-override",
6
6
  "keywords": [],
@@ -15,19 +15,19 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-3607c442-ae7a-594b-b840-038378c24fef-common": "14.0.3",
19
- "@codingame/monaco-vscode-407531d3-fdae-5387-8c41-49ba0e9574b5-common": "14.0.3",
20
- "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "14.0.3",
21
- "@codingame/monaco-vscode-4a316137-39d1-5d77-8b53-112db3547c1e-common": "14.0.3",
22
- "@codingame/monaco-vscode-897bebad-39df-57cb-8a57-36a271d038be-common": "14.0.3",
23
- "@codingame/monaco-vscode-91789cdf-e3cb-5a04-aaeb-6f7df7d3d231-common": "14.0.3",
24
- "@codingame/monaco-vscode-a022e9a8-b522-5ea2-97c7-f3dda2b0b597-common": "14.0.3",
25
- "@codingame/monaco-vscode-a2719803-af40-5ae9-a29f-8a2231c33056-common": "14.0.3",
26
- "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "14.0.3",
27
- "@codingame/monaco-vscode-api": "14.0.3",
28
- "@codingame/monaco-vscode-e72c94ca-257a-5b75-8b68-5a5fa3c18255-common": "14.0.3",
29
- "@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common": "14.0.3",
30
- "@codingame/monaco-vscode-user-data-profile-service-override": "14.0.3"
18
+ "@codingame/monaco-vscode-3607c442-ae7a-594b-b840-038378c24fef-common": "14.0.5",
19
+ "@codingame/monaco-vscode-407531d3-fdae-5387-8c41-49ba0e9574b5-common": "14.0.5",
20
+ "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "14.0.5",
21
+ "@codingame/monaco-vscode-4a316137-39d1-5d77-8b53-112db3547c1e-common": "14.0.5",
22
+ "@codingame/monaco-vscode-897bebad-39df-57cb-8a57-36a271d038be-common": "14.0.5",
23
+ "@codingame/monaco-vscode-91789cdf-e3cb-5a04-aaeb-6f7df7d3d231-common": "14.0.5",
24
+ "@codingame/monaco-vscode-a022e9a8-b522-5ea2-97c7-f3dda2b0b597-common": "14.0.5",
25
+ "@codingame/monaco-vscode-a2719803-af40-5ae9-a29f-8a2231c33056-common": "14.0.5",
26
+ "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "14.0.5",
27
+ "@codingame/monaco-vscode-api": "14.0.5",
28
+ "@codingame/monaco-vscode-e72c94ca-257a-5b75-8b68-5a5fa3c18255-common": "14.0.5",
29
+ "@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common": "14.0.5",
30
+ "@codingame/monaco-vscode-user-data-profile-service-override": "14.0.5"
31
31
  },
32
32
  "main": "index.js",
33
33
  "module": "index.js",
@@ -32,12 +32,12 @@ let UserDataSyncReportIssueContribution = class UserDataSyncReportIssueContribut
32
32
  switch (error.code) {
33
33
  case UserDataSyncErrorCode.LocalTooManyRequests: {
34
34
  const message = isWeb ? ( localize(
35
- 10806,
35
+ 10807,
36
36
  "Settings sync is suspended temporarily because the current device is making too many requests. Please reload {0} to resume.",
37
37
  this.productService.nameLong
38
38
  ))
39
39
  : ( localize(
40
- 10807,
40
+ 10808,
41
41
  "Settings sync is suspended temporarily because the current device is making too many requests. Please restart {0} to resume.",
42
42
  this.productService.nameLong
43
43
  ));
@@ -46,26 +46,26 @@ let UserDataSyncReportIssueContribution = class UserDataSyncReportIssueContribut
46
46
  message,
47
47
  actions: {
48
48
  primary: [
49
- ( new Action('Show Sync Logs', ( localize(10808, "Show Log")), undefined, true, () => this.commandService.executeCommand(SHOW_SYNC_LOG_COMMAND_ID))),
50
- ( new Action('Restart', isWeb ? ( localize(10809, "Reload")) : ( localize(10810, "Restart")), undefined, true, () => this.hostService.restart()))
49
+ ( new Action('Show Sync Logs', ( localize(10809, "Show Log")), undefined, true, () => this.commandService.executeCommand(SHOW_SYNC_LOG_COMMAND_ID))),
50
+ ( new Action('Restart', isWeb ? ( localize(10810, "Reload")) : ( localize(10811, "Restart")), undefined, true, () => this.hostService.restart()))
51
51
  ]
52
52
  }
53
53
  });
54
54
  return;
55
55
  }
56
56
  case UserDataSyncErrorCode.TooManyRequests: {
57
- const operationId = error.operationId ? ( localize(10811, "Operation Id: {0}", error.operationId)) : undefined;
57
+ const operationId = error.operationId ? ( localize(10812, "Operation Id: {0}", error.operationId)) : undefined;
58
58
  const message = ( localize(
59
- 10812,
59
+ 10813,
60
60
  "Settings sync is disabled because the current device is making too many requests. Please wait for 10 minutes and turn on sync."
61
61
  ));
62
62
  this.notificationService.notify({
63
63
  severity: Severity.Error,
64
64
  message: operationId ? `${message} ${operationId}` : message,
65
- source: error.operationId ? ( localize(10813, "Settings Sync. Operation Id: {0}", error.operationId)) : undefined,
65
+ source: error.operationId ? ( localize(10814, "Settings Sync. Operation Id: {0}", error.operationId)) : undefined,
66
66
  actions: {
67
67
  primary: [
68
- ( new Action('Show Sync Logs', ( localize(10808, "Show Log")), undefined, true, () => this.commandService.executeCommand(SHOW_SYNC_LOG_COMMAND_ID))),
68
+ ( new Action('Show Sync Logs', ( localize(10809, "Show Log")), undefined, true, () => this.commandService.executeCommand(SHOW_SYNC_LOG_COMMAND_ID))),
69
69
  ]
70
70
  }
71
71
  });
@@ -49,24 +49,24 @@ import { IUserDataProfileService } from '@codingame/monaco-vscode-api/vscode/vs/
49
49
  import { isWeb } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
50
50
  import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
51
51
 
52
- const turnOffSyncCommand = { id: 'workbench.userDataSync.actions.turnOff', title: ( localize2(10814, 'Turn Off')) };
53
- const configureSyncCommand = { id: CONFIGURE_SYNC_COMMAND_ID, title: ( localize2(10815, 'Configure...')) };
52
+ const turnOffSyncCommand = { id: 'workbench.userDataSync.actions.turnOff', title: ( localize2(10815, 'Turn Off')) };
53
+ const configureSyncCommand = { id: CONFIGURE_SYNC_COMMAND_ID, title: ( localize2(10816, 'Configure...')) };
54
54
  const showConflictsCommandId = 'workbench.userDataSync.actions.showConflicts';
55
55
  const syncNowCommand = {
56
56
  id: 'workbench.userDataSync.actions.syncNow',
57
- title: ( localize2(10816, 'Sync Now')),
57
+ title: ( localize2(10817, 'Sync Now')),
58
58
  description(userDataSyncService) {
59
59
  if (userDataSyncService.status === SyncStatus.Syncing) {
60
- return localize(10817, "syncing");
60
+ return localize(10818, "syncing");
61
61
  }
62
62
  if (userDataSyncService.lastSyncTime) {
63
- return localize(10818, "synced {0}", fromNow(userDataSyncService.lastSyncTime, true));
63
+ return localize(10819, "synced {0}", fromNow(userDataSyncService.lastSyncTime, true));
64
64
  }
65
65
  return undefined;
66
66
  }
67
67
  };
68
- const showSyncSettingsCommand = { id: 'workbench.userDataSync.actions.settings', title: ( localize2(10819, 'Show Settings')), };
69
- const showSyncedDataCommand = { id: 'workbench.userDataSync.actions.showSyncedData', title: ( localize2(10820, 'Show Synced Data')), };
68
+ const showSyncSettingsCommand = { id: 'workbench.userDataSync.actions.settings', title: ( localize2(10820, 'Show Settings')), };
69
+ const showSyncedDataCommand = { id: 'workbench.userDataSync.actions.showSyncedData', title: ( localize2(10821, 'Show Synced Data')), };
70
70
  const CONTEXT_TURNING_ON_STATE = ( new RawContextKey('userDataSyncTurningOn', false));
71
71
  let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution extends Disposable {
72
72
  constructor(userDataSyncEnablementService, userDataSyncService, userDataSyncWorkbenchService, contextKeyService, activityService, notificationService, editorService, userDataProfileService, dialogService, quickInputService, instantiationService, outputService, userDataAutoSyncService, textModelResolverService, preferencesService, telemetryService, productService, openerService, authenticationService, userDataSyncStoreManagementService, hostService, commandService, workbenchIssueService) {
@@ -144,24 +144,24 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
144
144
  if (!( this.conflictsDisposables.has(key))) {
145
145
  const conflictsArea = getSyncAreaLabel(conflict.syncResource);
146
146
  const handle = this.notificationService.prompt(Severity.Warning, ( localize(
147
- 10821,
147
+ 10822,
148
148
  "Unable to sync due to conflicts in {0}. Please resolve them to continue.",
149
149
  conflictsArea.toLowerCase()
150
150
  )), [
151
151
  {
152
- label: ( localize(10822, "Replace Remote")),
152
+ label: ( localize(10823, "Replace Remote")),
153
153
  run: () => {
154
154
  this.acceptLocal(conflict, conflict.conflicts[0]);
155
155
  }
156
156
  },
157
157
  {
158
- label: ( localize(10823, "Replace Local")),
158
+ label: ( localize(10824, "Replace Local")),
159
159
  run: () => {
160
160
  this.acceptRemote(conflict, conflict.conflicts[0]);
161
161
  }
162
162
  },
163
163
  {
164
- label: ( localize(10824, "Show Conflicts")),
164
+ label: ( localize(10825, "Show Conflicts")),
165
165
  run: () => {
166
166
  this.telemetryService.publicLog2('sync/showConflicts', { source: conflict.syncResource });
167
167
  this.userDataSyncWorkbenchService.showConflicts(conflict.conflicts[0]);
@@ -188,7 +188,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
188
188
  }
189
189
  catch (e) {
190
190
  this.notificationService.error(( localize(
191
- 10825,
191
+ 10826,
192
192
  "Error while accepting changes. Please check [logs]({0}) for more details.",
193
193
  `command:${SHOW_SYNC_LOG_COMMAND_ID}`
194
194
  )));
@@ -200,7 +200,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
200
200
  }
201
201
  catch (e) {
202
202
  this.notificationService.error(( localize(
203
- 10825,
203
+ 10826,
204
204
  "Error while accepting changes. Please check [logs]({0}) for more details.",
205
205
  `command:${SHOW_SYNC_LOG_COMMAND_ID}`
206
206
  )));
@@ -212,11 +212,11 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
212
212
  this.notificationService.notify({
213
213
  severity: Severity.Info,
214
214
  message: ( localize(
215
- 10826,
215
+ 10827,
216
216
  "Settings sync was turned off because current session is expired, please sign in again to turn on sync."
217
217
  )),
218
218
  actions: {
219
- primary: [( new Action('turn on sync', ( localize(10827, "Turn on Settings Sync...")), undefined, true, () => this.turnOn()))]
219
+ primary: [( new Action('turn on sync', ( localize(10828, "Turn on Settings Sync...")), undefined, true, () => this.turnOn()))]
220
220
  }
221
221
  });
222
222
  break;
@@ -224,11 +224,11 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
224
224
  this.notificationService.notify({
225
225
  severity: Severity.Info,
226
226
  message: ( localize(
227
- 10828,
227
+ 10829,
228
228
  "Settings sync was turned off from another device, please turn on sync again."
229
229
  )),
230
230
  actions: {
231
- primary: [( new Action('turn on sync', ( localize(10827, "Turn on Settings Sync...")), undefined, true, () => this.turnOn()))]
231
+ primary: [( new Action('turn on sync', ( localize(10828, "Turn on Settings Sync...")), undefined, true, () => this.turnOn()))]
232
232
  }
233
233
  });
234
234
  break;
@@ -237,7 +237,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
237
237
  this.disableSync(error.resource);
238
238
  const sourceArea = getSyncAreaLabel(error.resource);
239
239
  this.handleTooLargeError(error.resource, ( localize(
240
- 10829,
240
+ 10830,
241
241
  "Disabled syncing {0} because size of the {1} file to sync is larger than {2}. Please open the file and reduce the size and enable sync",
242
242
  sourceArea.toLowerCase(),
243
243
  sourceArea.toLowerCase(),
@@ -248,7 +248,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
248
248
  case UserDataSyncErrorCode.LocalTooManyProfiles:
249
249
  this.disableSync(SyncResource.Profiles);
250
250
  this.notificationService.error(( localize(
251
- 10830,
251
+ 10831,
252
252
  "Disabled syncing profiles because there are too many profiles to sync. Settings Sync supports syncing maximum 20 profiles. Please reduce the number of profiles and enable sync"
253
253
  )));
254
254
  break;
@@ -256,12 +256,12 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
256
256
  case UserDataSyncErrorCode.Gone:
257
257
  case UserDataSyncErrorCode.UpgradeRequired: {
258
258
  const message = ( localize(
259
- 10831,
259
+ 10832,
260
260
  "Settings sync is disabled because the current version ({0}, {1}) is not compatible with the sync service. Please update before turning on sync.",
261
261
  this.productService.version,
262
262
  this.productService.commit
263
263
  ));
264
- const operationId = error.operationId ? ( localize(10832, "Operation Id: {0}", error.operationId)) : undefined;
264
+ const operationId = error.operationId ? ( localize(10833, "Operation Id: {0}", error.operationId)) : undefined;
265
265
  this.notificationService.notify({
266
266
  severity: Severity.Error,
267
267
  message: operationId ? `${message} ${operationId}` : message,
@@ -270,17 +270,17 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
270
270
  }
271
271
  case UserDataSyncErrorCode.MethodNotFound: {
272
272
  const message = ( localize(
273
- 10833,
273
+ 10834,
274
274
  "Settings sync is disabled because the client is making invalid requests. Please report an issue with the logs."
275
275
  ));
276
- const operationId = error.operationId ? ( localize(10832, "Operation Id: {0}", error.operationId)) : undefined;
276
+ const operationId = error.operationId ? ( localize(10833, "Operation Id: {0}", error.operationId)) : undefined;
277
277
  this.notificationService.notify({
278
278
  severity: Severity.Error,
279
279
  message: operationId ? `${message} ${operationId}` : message,
280
280
  actions: {
281
281
  primary: [
282
- ( new Action('Show Sync Logs', ( localize(10834, "Show Log")), undefined, true, () => this.commandService.executeCommand(SHOW_SYNC_LOG_COMMAND_ID))),
283
- ( new Action('Report Issue', ( localize(10835, "Report Issue")), undefined, true, () => this.workbenchIssueService.openReporter()))
282
+ ( new Action('Show Sync Logs', ( localize(10835, "Show Log")), undefined, true, () => this.commandService.executeCommand(SHOW_SYNC_LOG_COMMAND_ID))),
283
+ ( new Action('Report Issue', ( localize(10836, "Report Issue")), undefined, true, () => this.workbenchIssueService.openReporter()))
284
284
  ]
285
285
  }
286
286
  });
@@ -290,13 +290,13 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
290
290
  this.notificationService.notify({
291
291
  severity: Severity.Error,
292
292
  message: ( localize(
293
- 10836,
293
+ 10837,
294
294
  "Settings sync is disabled because your data in the cloud is older than that of the client. Please clear your data in the cloud before turning on sync."
295
295
  )),
296
296
  actions: {
297
297
  primary: [
298
- ( new Action('reset', ( localize(10837, "Clear Data in Cloud...")), undefined, true, () => this.userDataSyncWorkbenchService.resetSyncedData())),
299
- ( new Action('show synced data', ( localize(10838, "Show Synced Data")), undefined, true, () => this.userDataSyncWorkbenchService.showSyncActivity()))
298
+ ( new Action('reset', ( localize(10838, "Clear Data in Cloud...")), undefined, true, () => this.userDataSyncWorkbenchService.resetSyncedData())),
299
+ ( new Action('show synced data', ( localize(10839, "Show Synced Data")), undefined, true, () => this.userDataSyncWorkbenchService.showSyncActivity()))
300
300
  ]
301
301
  }
302
302
  });
@@ -305,8 +305,8 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
305
305
  this.notificationService.notify({
306
306
  severity: Severity.Info,
307
307
  message: this.userDataSyncStoreManagementService.userDataSyncStore?.type === 'insiders' ?
308
- ( localize(10839, "Settings Sync has been switched to insiders service")) :
309
- ( localize(10840, "Settings Sync has been switched to stable service")),
308
+ ( localize(10840, "Settings Sync has been switched to insiders service")) :
309
+ ( localize(10841, "Settings Sync has been switched to stable service")),
310
310
  });
311
311
  return;
312
312
  case UserDataSyncErrorCode.DefaultServiceChanged:
@@ -314,7 +314,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
314
314
  this.notificationService.notify({
315
315
  severity: Severity.Info,
316
316
  message: ( localize(
317
- 10841,
317
+ 10842,
318
318
  "Settings sync now uses a separate service, more information is available in the [Settings Sync Documentation](https://aka.ms/vscode-settings-sync-help#_syncing-stable-versus-insiders)."
319
319
  )),
320
320
  });
@@ -323,12 +323,12 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
323
323
  this.notificationService.notify({
324
324
  severity: Severity.Info,
325
325
  message: ( localize(
326
- 10842,
326
+ 10843,
327
327
  "Settings sync was turned off because {0} now uses a separate service. Please turn on sync again.",
328
328
  this.productService.nameLong
329
329
  )),
330
330
  actions: {
331
- primary: [( new Action('turn on sync', ( localize(10827, "Turn on Settings Sync...")), undefined, true, () => this.turnOn()))]
331
+ primary: [( new Action('turn on sync', ( localize(10828, "Turn on Settings Sync...")), undefined, true, () => this.turnOn()))]
332
332
  }
333
333
  });
334
334
  }
@@ -336,12 +336,12 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
336
336
  }
337
337
  }
338
338
  handleTooLargeError(resource, message, error) {
339
- const operationId = error.operationId ? ( localize(10832, "Operation Id: {0}", error.operationId)) : undefined;
339
+ const operationId = error.operationId ? ( localize(10833, "Operation Id: {0}", error.operationId)) : undefined;
340
340
  this.notificationService.notify({
341
341
  severity: Severity.Error,
342
342
  message: operationId ? `${message} ${operationId}` : message,
343
343
  actions: {
344
- primary: [( new Action('open sync file', ( localize(10843, "Open {0} File", getSyncAreaLabel(resource))), undefined, true, () => resource === SyncResource.Settings ? this.preferencesService.openUserSettings({ jsonEditor: true }) : this.preferencesService.openGlobalKeybindingSettings(true)))]
344
+ primary: [( new Action('open sync file', ( localize(10844, "Open {0} File", getSyncAreaLabel(resource))), undefined, true, () => resource === SyncResource.Settings ? this.preferencesService.openUserSettings({ jsonEditor: true }) : this.preferencesService.openGlobalKeybindingSettings(true)))]
345
345
  }
346
346
  });
347
347
  }
@@ -393,12 +393,12 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
393
393
  const handle = this.notificationService.notify({
394
394
  severity: Severity.Error,
395
395
  message: ( localize(
396
- 10844,
396
+ 10845,
397
397
  "Unable to sync {0} because the content in the file is not valid. Please open the file and correct it.",
398
398
  errorArea.toLowerCase()
399
399
  )),
400
400
  actions: {
401
- primary: [( new Action('open sync file', ( localize(10843, "Open {0} File", errorArea)), undefined, true, () => source === SyncResource.Settings ? this.preferencesService.openUserSettings({ jsonEditor: true }) : this.preferencesService.openGlobalKeybindingSettings(true)))]
401
+ primary: [( new Action('open sync file', ( localize(10844, "Open {0} File", errorArea)), undefined, true, () => source === SyncResource.Settings ? this.preferencesService.openUserSettings({ jsonEditor: true }) : this.preferencesService.openGlobalKeybindingSettings(true)))]
402
402
  }
403
403
  });
404
404
  this.invalidContentErrorDisposables.set(key, toDisposable(() => {
@@ -413,10 +413,10 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
413
413
  this.globalActivityBadgeDisposable.clear();
414
414
  let badge = undefined;
415
415
  if (this.userDataSyncService.conflicts.length && this.userDataSyncEnablementService.isEnabled()) {
416
- badge = ( new NumberBadge(this.getConflictsCount(), () => ( localize(10845, "{0}: Conflicts Detected", SYNC_TITLE.value))));
416
+ badge = ( new NumberBadge(this.getConflictsCount(), () => ( localize(10846, "{0}: Conflicts Detected", SYNC_TITLE.value))));
417
417
  }
418
418
  else if (this.turningOnSync) {
419
- badge = ( new ProgressBadge(() => ( localize(10846, "Turning on Settings Sync..."))));
419
+ badge = ( new ProgressBadge(() => ( localize(10847, "Turning on Settings Sync..."))));
420
420
  }
421
421
  if (badge) {
422
422
  this.globalActivityBadgeDisposable.value = this.activityService.showGlobalActivity({ badge });
@@ -426,7 +426,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
426
426
  this.accountBadgeDisposable.clear();
427
427
  let badge = undefined;
428
428
  if (this.userDataSyncService.status !== SyncStatus.Uninitialized && this.userDataSyncEnablementService.isEnabled() && this.userDataSyncWorkbenchService.accountStatus === AccountStatus.Unavailable) {
429
- badge = ( new NumberBadge(1, () => ( localize(10847, "Sign in to Sync Settings"))));
429
+ badge = ( new NumberBadge(1, () => ( localize(10848, "Sign in to Sync Settings"))));
430
430
  }
431
431
  if (badge) {
432
432
  this.accountBadgeDisposable.value = this.activityService.showAccountsActivity({ badge });
@@ -435,7 +435,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
435
435
  async turnOn() {
436
436
  try {
437
437
  if (!this.userDataSyncWorkbenchService.authenticationProviders.length) {
438
- throw ( new Error(( localize(10848, "No authentication providers are available."))));
438
+ throw ( new Error(( localize(10849, "No authentication providers are available."))));
439
439
  }
440
440
  const turnOn = await this.askToConfigure();
441
441
  if (!turnOn) {
@@ -455,7 +455,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
455
455
  case UserDataSyncErrorCode.TooLarge:
456
456
  if (e.resource === SyncResource.Keybindings || e.resource === SyncResource.Settings || e.resource === SyncResource.Tasks) {
457
457
  this.handleTooLargeError(e.resource, ( localize(
458
- 10849,
458
+ 10850,
459
459
  "Settings sync cannot be turned on because size of the {0} file to sync is larger than {1}. Please open the file and reduce the size and turn on sync",
460
460
  getSyncAreaLabel(e.resource).toLowerCase(),
461
461
  '100kb'
@@ -467,12 +467,12 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
467
467
  case UserDataSyncErrorCode.Gone:
468
468
  case UserDataSyncErrorCode.UpgradeRequired: {
469
469
  const message = ( localize(
470
- 10850,
470
+ 10851,
471
471
  "Settings sync cannot be turned on because the current version ({0}, {1}) is not compatible with the sync service. Please update before turning on sync.",
472
472
  this.productService.version,
473
473
  this.productService.commit
474
474
  ));
475
- const operationId = e.operationId ? ( localize(10832, "Operation Id: {0}", e.operationId)) : undefined;
475
+ const operationId = e.operationId ? ( localize(10833, "Operation Id: {0}", e.operationId)) : undefined;
476
476
  this.notificationService.notify({
477
477
  severity: Severity.Error,
478
478
  message: operationId ? `${message} ${operationId}` : message,
@@ -483,30 +483,30 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
483
483
  this.notificationService.notify({
484
484
  severity: Severity.Error,
485
485
  message: ( localize(
486
- 10851,
486
+ 10852,
487
487
  "Settings sync cannot be turned on because your data in the cloud is older than that of the client. Please clear your data in the cloud before turning on sync."
488
488
  )),
489
489
  actions: {
490
490
  primary: [
491
- ( new Action('reset', ( localize(10837, "Clear Data in Cloud...")), undefined, true, () => this.userDataSyncWorkbenchService.resetSyncedData())),
492
- ( new Action('show synced data', ( localize(10838, "Show Synced Data")), undefined, true, () => this.userDataSyncWorkbenchService.showSyncActivity()))
491
+ ( new Action('reset', ( localize(10838, "Clear Data in Cloud...")), undefined, true, () => this.userDataSyncWorkbenchService.resetSyncedData())),
492
+ ( new Action('show synced data', ( localize(10839, "Show Synced Data")), undefined, true, () => this.userDataSyncWorkbenchService.showSyncActivity()))
493
493
  ]
494
494
  }
495
495
  });
496
496
  return;
497
497
  case UserDataSyncErrorCode.Unauthorized:
498
498
  case UserDataSyncErrorCode.Forbidden:
499
- this.notificationService.error(( localize(10852, "Error while turning on Settings Sync: Authentication failed.")));
499
+ this.notificationService.error(( localize(10853, "Error while turning on Settings Sync: Authentication failed.")));
500
500
  return;
501
501
  }
502
502
  this.notificationService.error(( localize(
503
- 10853,
503
+ 10854,
504
504
  "Error while turning on Settings Sync. Please check [logs]({0}) for more details.",
505
505
  `command:${SHOW_SYNC_LOG_COMMAND_ID}`
506
506
  )));
507
507
  }
508
508
  else {
509
- this.notificationService.error(( localize(10854, "Error while turning on Settings Sync. {0}", getErrorMessage(e))));
509
+ this.notificationService.error(( localize(10855, "Error while turning on Settings Sync. {0}", getErrorMessage(e))));
510
510
  }
511
511
  }
512
512
  }
@@ -518,8 +518,8 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
518
518
  quickPick.title = SYNC_TITLE.value;
519
519
  quickPick.ok = false;
520
520
  quickPick.customButton = true;
521
- quickPick.customLabel = ( localize(10855, "Sign in"));
522
- quickPick.description = ( localize(10856, "Please sign in to backup and sync your data across devices."));
521
+ quickPick.customLabel = ( localize(10856, "Sign in"));
522
+ quickPick.description = ( localize(10857, "Please sign in to backup and sync your data across devices."));
523
523
  quickPick.canSelectMany = true;
524
524
  quickPick.ignoreFocusOut = true;
525
525
  quickPick.hideInput = true;
@@ -587,8 +587,8 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
587
587
  const disposables = ( new DisposableStore());
588
588
  const quickPick = this.quickInputService.createQuickPick();
589
589
  disposables.add(quickPick);
590
- quickPick.title = ( localize(10857, "{0}: Configure...", SYNC_TITLE.value));
591
- quickPick.placeholder = ( localize(10858, "Choose what to sync"));
590
+ quickPick.title = ( localize(10858, "{0}: Configure...", SYNC_TITLE.value));
591
+ quickPick.placeholder = ( localize(10859, "Choose what to sync"));
592
592
  quickPick.canSelectMany = true;
593
593
  quickPick.ignoreFocusOut = true;
594
594
  quickPick.ok = true;
@@ -610,15 +610,15 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
610
610
  }
611
611
  async turnOff() {
612
612
  const result = await this.dialogService.confirm({
613
- message: ( localize(10859, "Do you want to turn off sync?")),
613
+ message: ( localize(10860, "Do you want to turn off sync?")),
614
614
  detail: ( localize(
615
- 10860,
615
+ 10861,
616
616
  "Your settings, keybindings, extensions, snippets and UI State will no longer be synced."
617
617
  )),
618
- primaryButton: ( localize(10861, "&&Turn off")),
618
+ primaryButton: ( localize(10862, "&&Turn off")),
619
619
  checkbox: this.userDataSyncWorkbenchService.accountStatus === AccountStatus.Available ? {
620
620
  label: ( localize(
621
- 10862,
621
+ 10863,
622
622
  "Turn off sync on all your devices and clear the data from the cloud."
623
623
  ))
624
624
  } : undefined
@@ -645,9 +645,9 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
645
645
  return (new Promise((c, e) => {
646
646
  const disposables = ( new DisposableStore());
647
647
  const quickPick = disposables.add(this.quickInputService.createQuickPick());
648
- quickPick.title = ( localize(10863, "{0}: Select Service", SYNC_TITLE.value));
648
+ quickPick.title = ( localize(10864, "{0}: Select Service", SYNC_TITLE.value));
649
649
  quickPick.description = ( localize(
650
- 10864,
650
+ 10865,
651
651
  "Ensure you are using the same settings sync service when syncing with multiple environments"
652
652
  ));
653
653
  quickPick.hideInput = true;
@@ -655,19 +655,19 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
655
655
  const getDescription = (url) => {
656
656
  const isDefault = isEqual(url, userDataSyncStore.defaultUrl);
657
657
  if (isDefault) {
658
- return localize(10865, "Default");
658
+ return localize(10866, "Default");
659
659
  }
660
660
  return undefined;
661
661
  };
662
662
  quickPick.items = [
663
663
  {
664
664
  id: 'insiders',
665
- label: ( localize(10866, "Insiders")),
665
+ label: ( localize(10867, "Insiders")),
666
666
  description: getDescription(userDataSyncStore.insidersUrl)
667
667
  },
668
668
  {
669
669
  id: 'stable',
670
- label: ( localize(10867, "Stable")),
670
+ label: ( localize(10868, "Stable")),
671
671
  description: getDescription(userDataSyncStore.stableUrl)
672
672
  }
673
673
  ];
@@ -716,7 +716,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
716
716
  constructor() {
717
717
  super({
718
718
  id: 'workbench.userDataSync.actions.turnOn',
719
- title: ( localize2(10868, 'Backup and Sync Settings...')),
719
+ title: ( localize2(10869, 'Backup and Sync Settings...')),
720
720
  category: SYNC_TITLE,
721
721
  f1: true,
722
722
  precondition: when,
@@ -749,7 +749,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
749
749
  constructor() {
750
750
  super({
751
751
  id: 'workbench.userData.actions.turningOn',
752
- title: ( localize(10869, "Turning on Settings Sync...")),
752
+ title: ( localize(10870, "Turning on Settings Sync...")),
753
753
  precondition: ( ContextKeyExpr.false()),
754
754
  menu: [{
755
755
  group: '3_configuration',
@@ -772,7 +772,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
772
772
  constructor() {
773
773
  super({
774
774
  id: 'workbench.userData.actions.cancelTurnOn',
775
- title: ( localize(10870, "Cancel")),
775
+ title: ( localize(10871, "Cancel")),
776
776
  icon: Codicon.stopCircle,
777
777
  menu: {
778
778
  id: MenuId.ViewContainerTitle,
@@ -795,7 +795,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
795
795
  constructor() {
796
796
  super({
797
797
  id: 'workbench.userData.actions.signin',
798
- title: ( localize(10871, "Sign in to Sync Settings")),
798
+ title: ( localize(10872, "Sign in to Sync Settings")),
799
799
  menu: {
800
800
  group: '3_configuration',
801
801
  id: MenuId.GlobalActivity,
@@ -817,13 +817,13 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
817
817
  group: '1_settings',
818
818
  command: {
819
819
  id,
820
- title: ( localize(10872, "Sign in to Sync Settings (1)")),
820
+ title: ( localize(10873, "Sign in to Sync Settings (1)")),
821
821
  },
822
822
  when
823
823
  })));
824
824
  }
825
825
  getShowConflictsTitle() {
826
- return localize2(10873, "Show Conflicts ({0})", this.getConflictsCount());
826
+ return localize2(10874, "Show Conflicts ({0})", this.getConflictsCount());
827
827
  }
828
828
  registerShowConflictsAction() {
829
829
  this.conflictsActionDisposable.value = undefined;
@@ -861,7 +861,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
861
861
  constructor() {
862
862
  super({
863
863
  id: 'workbench.userDataSync.actions.manage',
864
- title: ( localize(10874, "Settings Sync is On")),
864
+ title: ( localize(10875, "Settings Sync is On")),
865
865
  toggled: ContextKeyTrueExpr.INSTANCE,
866
866
  menu: [
867
867
  {
@@ -982,7 +982,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
982
982
  catch (e) {
983
983
  if (!isCancellationError(e)) {
984
984
  that.notificationService.error(( localize(
985
- 10875,
985
+ 10876,
986
986
  "Error while turning off Settings Sync. Please check [logs]({0}) for more details.",
987
987
  `command:${SHOW_SYNC_LOG_COMMAND_ID}`
988
988
  )));
@@ -1001,7 +1001,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
1001
1001
  title: configureSyncCommand.title,
1002
1002
  category: SYNC_TITLE,
1003
1003
  icon: Codicon.settingsGear,
1004
- tooltip: ( localize(10876, "Configure...")),
1004
+ tooltip: ( localize(10877, "Configure...")),
1005
1005
  menu: [{
1006
1006
  id: MenuId.CommandPalette,
1007
1007
  when
@@ -1022,8 +1022,8 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
1022
1022
  constructor() {
1023
1023
  super({
1024
1024
  id: SHOW_SYNC_LOG_COMMAND_ID,
1025
- title: ( localize(10877, "{0}: Show Log", SYNC_TITLE.value)),
1026
- tooltip: ( localize(10878, "Show Log")),
1025
+ title: ( localize(10878, "{0}: Show Log", SYNC_TITLE.value)),
1026
+ tooltip: ( localize(10879, "Show Log")),
1027
1027
  icon: Codicon.output,
1028
1028
  menu: [{
1029
1029
  id: MenuId.CommandPalette,
@@ -1088,7 +1088,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
1088
1088
  constructor() {
1089
1089
  super({
1090
1090
  id: 'workbench.userDataSync.actions.acceptMerges',
1091
- title: ( localize(10879, "Complete Merge")),
1091
+ title: ( localize(10880, "Complete Merge")),
1092
1092
  menu: [{
1093
1093
  id: MenuId.EditorContent,
1094
1094
  when: ( ContextKeyExpr.and(ctxIsMergeResultEditor, ( ContextKeyExpr.regex(ctxMergeBaseUri.key, ( new RegExp(`^${USER_DATA_SYNC_SCHEME}:`)))))),
@@ -1120,7 +1120,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
1120
1120
  const notificationService = accessor.get(INotificationService);
1121
1121
  const folder = await userDataSyncWorkbenchService.downloadSyncActivity();
1122
1122
  if (folder) {
1123
- notificationService.info(( localize(10880, "Successfully downloaded Settings Sync activity.")));
1123
+ notificationService.info(( localize(10881, "Successfully downloaded Settings Sync activity.")));
1124
1124
  }
1125
1125
  }
1126
1126
  }));
@@ -1147,7 +1147,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
1147
1147
  constructor() {
1148
1148
  super({
1149
1149
  id: 'workbench.actions.syncData.reset',
1150
- title: ( localize(10881, "Clear Data in Cloud...")),
1150
+ title: ( localize(10882, "Clear Data in Cloud...")),
1151
1151
  menu: [{
1152
1152
  id: MenuId.ViewContainerTitle,
1153
1153
  when: ( ContextKeyExpr.equals('viewContainer', SYNC_VIEW_CONTAINER_ID)),
@@ -44,7 +44,7 @@ let UserDataSyncConflictsViewPane = class UserDataSyncConflictsViewPane extends
44
44
  renderTreeView(container) {
45
45
  super.renderTreeView(append(container, $('')));
46
46
  const that = this;
47
- this.treeView.message = ( localize(10882, "Please go through each entry and merge to resolve conflicts."));
47
+ this.treeView.message = ( localize(10883, "Please go through each entry and merge to resolve conflicts."));
48
48
  this.treeView.dataProvider = { getChildren() { return that.getTreeItems(); } };
49
49
  }
50
50
  async getTreeItems() {
@@ -108,7 +108,7 @@ let UserDataSyncConflictsViewPane = class UserDataSyncConflictsViewPane extends
108
108
  constructor() {
109
109
  super({
110
110
  id: `workbench.actions.sync.openConflicts`,
111
- title: ( localize(10883, "Show Conflicts")),
111
+ title: ( localize(10884, "Show Conflicts")),
112
112
  });
113
113
  }
114
114
  async run(accessor, handle) {
@@ -120,7 +120,7 @@ let UserDataSyncConflictsViewPane = class UserDataSyncConflictsViewPane extends
120
120
  constructor() {
121
121
  super({
122
122
  id: `workbench.actions.sync.acceptRemote`,
123
- title: ( localize(10884, "Accept Remote")),
123
+ title: ( localize(10885, "Accept Remote")),
124
124
  icon: Codicon.cloudDownload,
125
125
  menu: {
126
126
  id: MenuId.ViewItemContext,
@@ -139,7 +139,7 @@ let UserDataSyncConflictsViewPane = class UserDataSyncConflictsViewPane extends
139
139
  constructor() {
140
140
  super({
141
141
  id: `workbench.actions.sync.acceptLocal`,
142
- title: ( localize(10885, "Accept Local")),
142
+ title: ( localize(10886, "Accept Local")),
143
143
  icon: Codicon.cloudUpload,
144
144
  menu: {
145
145
  id: MenuId.ViewItemContext,
@@ -161,11 +161,11 @@ let UserDataSyncConflictsViewPane = class UserDataSyncConflictsViewPane extends
161
161
  ))))) {
162
162
  return;
163
163
  }
164
- const remoteResourceName = ( localize(10886, "{0} (Remote)", basename(conflictToOpen.remoteResource)));
165
- const localResourceName = ( localize(10887, "{0} (Local)", basename(conflictToOpen.remoteResource)));
164
+ const remoteResourceName = ( localize(10887, "{0} (Remote)", basename(conflictToOpen.remoteResource)));
165
+ const localResourceName = ( localize(10888, "{0} (Local)", basename(conflictToOpen.remoteResource)));
166
166
  await this.editorService.openEditor({
167
- input1: { resource: conflictToOpen.remoteResource, label: ( localize(10888, 'Theirs')), description: remoteResourceName },
168
- input2: { resource: conflictToOpen.localResource, label: ( localize(10889, 'Yours')), description: localResourceName },
167
+ input1: { resource: conflictToOpen.remoteResource, label: ( localize(10889, 'Theirs')), description: remoteResourceName },
168
+ input2: { resource: conflictToOpen.localResource, label: ( localize(10890, 'Yours')), description: localResourceName },
169
169
  base: { resource: conflictToOpen.baseResource },
170
170
  result: { resource: conflictToOpen.previewResource },
171
171
  options: {
@@ -55,7 +55,7 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
55
55
  }
56
56
  registerConflictsView(container) {
57
57
  const viewsRegistry = ( Registry.as(Extensions.ViewsRegistry));
58
- const viewName = ( localize2(10890, "Conflicts"));
58
+ const viewName = ( localize2(10891, "Conflicts"));
59
59
  const viewDescriptor = {
60
60
  id: SYNC_CONFLICTS_VIEW_ID,
61
61
  name: viewName,
@@ -71,7 +71,7 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
71
71
  }
72
72
  registerMachinesView(container) {
73
73
  const id = `workbench.views.sync.machines`;
74
- const name = ( localize2(10891, "Synced Machines"));
74
+ const name = ( localize2(10892, "Synced Machines"));
75
75
  const treeView = this.instantiationService.createInstance(TreeView, id, name.value);
76
76
  const dataProvider = this.instantiationService.createInstance(UserDataSyncMachinesViewDataProvider, treeView);
77
77
  treeView.showRefreshAction = true;
@@ -95,7 +95,7 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
95
95
  constructor() {
96
96
  super({
97
97
  id: `workbench.actions.sync.editMachineName`,
98
- title: ( localize(10892, "Edit Name")),
98
+ title: ( localize(10893, "Edit Name")),
99
99
  icon: Codicon.edit,
100
100
  menu: {
101
101
  id: MenuId.ViewItemContext,
@@ -115,7 +115,7 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
115
115
  constructor() {
116
116
  super({
117
117
  id: `workbench.actions.sync.turnOffSyncOnMachine`,
118
- title: ( localize(10893, "Turn off Settings Sync")),
118
+ title: ( localize(10894, "Turn off Settings Sync")),
119
119
  menu: {
120
120
  id: MenuId.ViewItemContext,
121
121
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', id)), ( ContextKeyExpr.equals('viewItem', 'sync-machine')))),
@@ -131,7 +131,7 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
131
131
  }
132
132
  registerActivityView(container, remote) {
133
133
  const id = `workbench.views.sync.${remote ? 'remote' : 'local'}Activity`;
134
- const name = remote ? ( localize2(10894, "Sync Activity (Remote)")) : ( localize2(10895, "Sync Activity (Local)"));
134
+ const name = remote ? ( localize2(10895, "Sync Activity (Remote)")) : ( localize2(10896, "Sync Activity (Local)"));
135
135
  const treeView = this.instantiationService.createInstance(TreeView, id, name.value);
136
136
  treeView.showCollapseAllAction = true;
137
137
  treeView.showRefreshAction = true;
@@ -156,7 +156,7 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
156
156
  }
157
157
  registerExternalActivityView(container) {
158
158
  const id = `workbench.views.sync.externalActivity`;
159
- const name = ( localize2(10896, "Sync Activity (Developer)"));
159
+ const name = ( localize2(10897, "Sync Activity (Developer)"));
160
160
  const dataProvider = this.instantiationService.createInstance(ExtractedUserDataSyncActivityViewDataProvider, undefined);
161
161
  const treeView = this.instantiationService.createInstance(TreeView, id, name.value);
162
162
  treeView.showCollapseAllAction = false;
@@ -179,7 +179,7 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
179
179
  constructor() {
180
180
  super({
181
181
  id: `workbench.actions.sync.loadActivity`,
182
- title: ( localize(10897, "Load Sync Activity")),
182
+ title: ( localize(10898, "Load Sync Activity")),
183
183
  icon: Codicon.cloudUpload,
184
184
  menu: {
185
185
  id: MenuId.ViewTitle,
@@ -191,7 +191,7 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
191
191
  async run(accessor) {
192
192
  const fileDialogService = accessor.get(IFileDialogService);
193
193
  const result = await fileDialogService.showOpenDialog({
194
- title: ( localize(10898, "Select Sync Activity File or Folder")),
194
+ title: ( localize(10899, "Select Sync Activity File or Folder")),
195
195
  canSelectFiles: true,
196
196
  canSelectFolders: true,
197
197
  canSelectMany: false,
@@ -209,7 +209,7 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
209
209
  constructor() {
210
210
  super({
211
211
  id: `workbench.actions.sync.${viewId}.resolveResource`,
212
- title: ( localize(10899, "Show raw JSON sync data")),
212
+ title: ( localize(10900, "Show raw JSON sync data")),
213
213
  menu: {
214
214
  id: MenuId.ViewItemContext,
215
215
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', viewId)), ( ContextKeyExpr.regex('viewItem', /sync-resource-.*/i))))
@@ -226,7 +226,7 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
226
226
  constructor() {
227
227
  super({
228
228
  id: `workbench.actions.sync.${viewId}.compareWithLocal`,
229
- title: ( localize(10900, "Compare with Local")),
229
+ title: ( localize(10901, "Compare with Local")),
230
230
  menu: {
231
231
  id: MenuId.ViewItemContext,
232
232
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', viewId)), ( ContextKeyExpr.regex('viewItem', /sync-associatedResource-.*/i))))
@@ -239,10 +239,10 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
239
239
  const remoteResource = ( URI.parse(resource));
240
240
  const localResource = ( URI.parse(comparableResource));
241
241
  return commandService.executeCommand(API_OPEN_DIFF_EDITOR_COMMAND_ID, remoteResource, localResource, ( localize(
242
- 10901,
242
+ 10902,
243
243
  "{0} ↔ {1}",
244
- localize(10902, "{0} (Remote)", basename(remoteResource)),
245
- localize(10903, "{0} (Local)", basename(localResource))
244
+ localize(10903, "{0} (Remote)", basename(remoteResource)),
245
+ localize(10904, "{0} (Local)", basename(localResource))
246
246
  )), undefined);
247
247
  }
248
248
  }));
@@ -250,7 +250,7 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
250
250
  constructor() {
251
251
  super({
252
252
  id: `workbench.actions.sync.${viewId}.replaceCurrent`,
253
- title: ( localize(10904, "Restore")),
253
+ title: ( localize(10905, "Restore")),
254
254
  icon: Codicon.discard,
255
255
  menu: {
256
256
  id: MenuId.ViewItemContext,
@@ -265,7 +265,7 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
265
265
  const { syncResourceHandle, syncResource } = JSON.parse(handle.$treeItemHandle);
266
266
  const result = await dialogService.confirm({
267
267
  message: ( localize(
268
- 10905,
268
+ 10906,
269
269
  "Would you like to replace your current {0} with selected?",
270
270
  getSyncAreaLabel(syncResource)
271
271
  )),
@@ -280,7 +280,7 @@ let UserDataSyncDataViews = class UserDataSyncDataViews extends Disposable {
280
280
  }
281
281
  registerTroubleShootView(container) {
282
282
  const id = `workbench.views.sync.troubleshoot`;
283
- const name = ( localize2(10906, "Troubleshoot"));
283
+ const name = ( localize2(10907, "Troubleshoot"));
284
284
  const treeView = this.instantiationService.createInstance(TreeView, id, name.value);
285
285
  const dataProvider = this.instantiationService.createInstance(UserDataSyncTroubleshootViewDataProvider);
286
286
  treeView.showRefreshAction = true;
@@ -344,7 +344,7 @@ let UserDataSyncActivityViewDataProvider = class UserDataSyncActivityViewDataPro
344
344
  message: error.message,
345
345
  actions: {
346
346
  primary: [
347
- ( new Action('reset', ( localize(10907, "Reset Synced Data")), undefined, true, () => this.userDataSyncWorkbenchService.resetSyncedData())),
347
+ ( new Action('reset', ( localize(10908, "Reset Synced Data")), undefined, true, () => this.userDataSyncWorkbenchService.resetSyncedData())),
348
348
  ]
349
349
  }
350
350
  });
@@ -400,7 +400,7 @@ let UserDataSyncActivityViewDataProvider = class UserDataSyncActivityViewDataPro
400
400
  previousResource,
401
401
  resource,
402
402
  ( localize(
403
- 10908,
403
+ 10909,
404
404
  "{0} ↔ {1}",
405
405
  `${basename(resource)} (${fromNow(syncResourceHandle.previous.created, true)})`,
406
406
  `${basename(resource)} (${fromNow(syncResourceHandle.created, true)})`
@@ -493,7 +493,7 @@ let RemoteUserDataSyncActivityViewDataProvider = class RemoteUserDataSyncActivit
493
493
  if (machineId) {
494
494
  const machines = await this.getMachines();
495
495
  const machine = machines.find(({ id }) => id === machineId);
496
- children[0].description = machine?.isCurrent ? ( localize(10909, "Current")) : machine?.name;
496
+ children[0].description = machine?.isCurrent ? ( localize(10910, "Current")) : machine?.name;
497
497
  }
498
498
  }
499
499
  return children;
@@ -549,7 +549,7 @@ let ExtractedUserDataSyncActivityViewDataProvider = class ExtractedUserDataSyncA
549
549
  if (machineId) {
550
550
  const machines = await this.getMachines();
551
551
  const machine = machines.find(({ id }) => id === machineId);
552
- children[0].description = machine?.isCurrent ? ( localize(10909, "Current")) : machine?.name;
552
+ children[0].description = machine?.isCurrent ? ( localize(10910, "Current")) : machine?.name;
553
553
  }
554
554
  }
555
555
  return children;
@@ -587,12 +587,12 @@ let UserDataSyncMachinesViewDataProvider = class UserDataSyncMachinesViewDataPro
587
587
  try {
588
588
  let machines = await this.getMachines();
589
589
  machines = machines.filter(m => !m.disabled).sort((m1, m2) => m1.isCurrent ? -1 : 1);
590
- this.treeView.message = machines.length ? undefined : ( localize(10910, "No Machines"));
590
+ this.treeView.message = machines.length ? undefined : ( localize(10911, "No Machines"));
591
591
  return (machines.map(({ id, name, isCurrent, platform }) => ({
592
592
  handle: id,
593
593
  collapsibleState: TreeItemCollapsibleState.None,
594
594
  label: { label: name },
595
- description: isCurrent ? ( localize(10909, "Current")) : undefined,
595
+ description: isCurrent ? ( localize(10910, "Current")) : undefined,
596
596
  themeIcon: platform && isWebPlatform(platform) ? Codicon.globe : Codicon.vm,
597
597
  contextValue: 'sync-machine'
598
598
  })));
@@ -612,17 +612,17 @@ let UserDataSyncMachinesViewDataProvider = class UserDataSyncMachinesViewDataPro
612
612
  const machines = await this.getMachines();
613
613
  const machinesToDisable = machines.filter(({ id }) => machineIds.includes(id));
614
614
  if (!machinesToDisable.length) {
615
- throw ( new Error(( localize(10911, "machine not found with id: {0}", machineIds.join(',')))));
615
+ throw ( new Error(( localize(10912, "machine not found with id: {0}", machineIds.join(',')))));
616
616
  }
617
617
  const result = await this.dialogService.confirm({
618
618
  type: 'info',
619
- message: machinesToDisable.length > 1 ? ( localize(10912, "Are you sure you want to turn off sync on selected machines?"))
619
+ message: machinesToDisable.length > 1 ? ( localize(10913, "Are you sure you want to turn off sync on selected machines?"))
620
620
  : ( localize(
621
- 10913,
621
+ 10914,
622
622
  "Are you sure you want to turn off sync on {0}?",
623
623
  machinesToDisable[0].name
624
624
  )),
625
- primaryButton: ( localize(10914, "&&Turn off")),
625
+ primaryButton: ( localize(10915, "&&Turn off")),
626
626
  });
627
627
  if (!result.confirmed) {
628
628
  return false;
@@ -640,7 +640,7 @@ let UserDataSyncMachinesViewDataProvider = class UserDataSyncMachinesViewDataPro
640
640
  async rename(machineId) {
641
641
  const disposableStore = ( new DisposableStore());
642
642
  const inputBox = disposableStore.add(this.quickInputService.createInputBox());
643
- inputBox.placeholder = ( localize(10915, "Enter the name of the machine"));
643
+ inputBox.placeholder = ( localize(10916, "Enter the name of the machine"));
644
644
  inputBox.busy = true;
645
645
  inputBox.show();
646
646
  const machines = await this.getMachines();
@@ -649,7 +649,7 @@ let UserDataSyncMachinesViewDataProvider = class UserDataSyncMachinesViewDataPro
649
649
  if (!machine) {
650
650
  inputBox.hide();
651
651
  disposableStore.dispose();
652
- throw ( new Error(( localize(10911, "machine not found with id: {0}", machineId))));
652
+ throw ( new Error(( localize(10912, "machine not found with id: {0}", machineId))));
653
653
  }
654
654
  inputBox.busy = false;
655
655
  inputBox.value = machine.name;
@@ -657,7 +657,7 @@ let UserDataSyncMachinesViewDataProvider = class UserDataSyncMachinesViewDataPro
657
657
  machineName = machineName.trim();
658
658
  return machineName && !( enabledMachines.some(m => m.id !== machineId && m.name === machineName)) ? machineName : null;
659
659
  };
660
- disposableStore.add(inputBox.onDidChangeValue(() => inputBox.validationMessage = validateMachineName(inputBox.value) ? '' : ( localize(10916, "Machine name should be unique and not empty"))));
660
+ disposableStore.add(inputBox.onDidChangeValue(() => inputBox.validationMessage = validateMachineName(inputBox.value) ? '' : ( localize(10917, "Machine name should be unique and not empty"))));
661
661
  return ( new Promise((c, e) => {
662
662
  disposableStore.add(inputBox.onDidAccept(async () => {
663
663
  const machineName = validateMachineName(inputBox.value);
@@ -697,12 +697,12 @@ let UserDataSyncTroubleshootViewDataProvider = class UserDataSyncTroubleshootVie
697
697
  return [{
698
698
  handle: 'SYNC_LOGS',
699
699
  collapsibleState: TreeItemCollapsibleState.Collapsed,
700
- label: { label: ( localize(10917, "Logs")) },
700
+ label: { label: ( localize(10918, "Logs")) },
701
701
  themeIcon: Codicon.folder,
702
702
  }, {
703
703
  handle: 'LAST_SYNC_STATES',
704
704
  collapsibleState: TreeItemCollapsibleState.Collapsed,
705
- label: { label: ( localize(10918, "Last Synced Remotes")) },
705
+ label: { label: ( localize(10919, "Last Synced Remotes")) },
706
706
  themeIcon: Codicon.folder,
707
707
  }];
708
708
  }
@@ -740,7 +740,7 @@ let UserDataSyncTroubleshootViewDataProvider = class UserDataSyncTroubleshootVie
740
740
  collapsibleState: TreeItemCollapsibleState.None,
741
741
  resourceUri: syncLogResource,
742
742
  label: { label: this.uriIdentityService.extUri.basename(logFolder) },
743
- description: this.uriIdentityService.extUri.isEqual(logFolder, this.environmentService.logsHome) ? ( localize(10909, "Current")) : undefined,
743
+ description: this.uriIdentityService.extUri.isEqual(logFolder, this.environmentService.logsHome) ? ( localize(10910, "Current")) : undefined,
744
744
  command: { id: API_OPEN_EDITOR_COMMAND_ID, title: '', arguments: [syncLogResource, undefined, undefined] },
745
745
  });
746
746
  }
@@ -239,7 +239,7 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
239
239
  async turnOn() {
240
240
  if (!this.authenticationProviders.length) {
241
241
  throw ( new Error(( localize(
242
- 12266,
242
+ 12267,
243
243
  "Settings sync cannot be turned on because there are no authentication providers available."
244
244
  ))));
245
245
  }
@@ -254,16 +254,16 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
254
254
  throw ( new CancellationError());
255
255
  }
256
256
  if (this.accountStatus !== AccountStatus.Available) {
257
- throw ( new Error(( localize(12267, "No account available"))));
257
+ throw ( new Error(( localize(12268, "No account available"))));
258
258
  }
259
259
  const turnOnSyncCancellationToken = this.turnOnSyncCancellationToken = ( new CancellationTokenSource());
260
260
  const disposable = isWeb ? Disposable.None : this.lifecycleService.onBeforeShutdown(e => e.veto((async () => {
261
261
  const { confirmed } = await this.dialogService.confirm({
262
262
  type: 'warning',
263
- message: ( localize(12268, "Settings Sync is being turned on. Would you like to cancel it?")),
264
- title: ( localize(12269, "Settings Sync")),
265
- primaryButton: ( localize(12270, "&&Yes")),
266
- cancelButton: ( localize(12271, "No"))
263
+ message: ( localize(12269, "Settings Sync is being turned on. Would you like to cancel it?")),
264
+ title: ( localize(12270, "Settings Sync")),
265
+ primaryButton: ( localize(12271, "&&Yes")),
266
+ cancelButton: ( localize(12272, "No"))
267
267
  });
268
268
  if (confirmed) {
269
269
  turnOnSyncCancellationToken.cancel();
@@ -285,7 +285,7 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
285
285
  if (this.environmentService.options?.settingsSyncOptions?.enablementHandler && this.currentAuthenticationProviderId) {
286
286
  this.environmentService.options.settingsSyncOptions.enablementHandler(true, this.currentAuthenticationProviderId);
287
287
  }
288
- this.notificationService.info(( localize(12272, "{0} is turned on", SYNC_TITLE.value)));
288
+ this.notificationService.info(( localize(12273, "{0} is turned on", SYNC_TITLE.value)));
289
289
  this._onDidTurnOnSync.fire();
290
290
  }
291
291
  async turnoff(everywhere) {
@@ -326,13 +326,13 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
326
326
  command: SHOW_SYNC_LOG_COMMAND_ID,
327
327
  delay: 500,
328
328
  }, async (progress) => {
329
- progress.report({ message: ( localize(12273, "Turning on...")) });
329
+ progress.report({ message: ( localize(12274, "Turning on...")) });
330
330
  disposables.add(this.userDataSyncService.onDidChangeStatus(status => {
331
331
  if (status === SyncStatus.HasConflicts) {
332
- progress.report({ message: ( localize(12274, "Resolving conflicts...")) });
332
+ progress.report({ message: ( localize(12275, "Resolving conflicts...")) });
333
333
  }
334
334
  else {
335
- progress.report({ message: ( localize(12275, "Turning on...")) });
335
+ progress.report({ message: ( localize(12276, "Turning on...")) });
336
336
  }
337
337
  }));
338
338
  await manualSyncTask.merge();
@@ -352,7 +352,7 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
352
352
  }
353
353
  async handleConflictsWhileTurningOn(token) {
354
354
  const conflicts = this.userDataSyncService.conflicts;
355
- const andSeparator = ( localize(12276, ' and '));
355
+ const andSeparator = ( localize(12277, ' and '));
356
356
  let conflictsText = '';
357
357
  for (let i = 0; i < conflicts.length; i++) {
358
358
  if (i === conflicts.length - 1 && i !== 0) {
@@ -366,11 +366,11 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
366
366
  const singleConflictResource = conflicts.length === 1 ? getSyncAreaLabel(conflicts[0].syncResource) : undefined;
367
367
  await this.dialogService.prompt({
368
368
  type: Severity.Warning,
369
- message: ( localize(12277, "Conflicts Detected in {0}", conflictsText)),
370
- detail: ( localize(12278, "Please resolve conflicts to turn on...")),
369
+ message: ( localize(12278, "Conflicts Detected in {0}", conflictsText)),
370
+ detail: ( localize(12279, "Please resolve conflicts to turn on...")),
371
371
  buttons: [
372
372
  {
373
- label: ( localize(12279, "&&Show Conflicts")),
373
+ label: ( localize(12280, "&&Show Conflicts")),
374
374
  run: async () => {
375
375
  const waitUntilConflictsAreResolvedPromise = raceCancellationError(Event.toPromise(Event.filter(this.userDataSyncService.onDidChangeConflicts, conficts => conficts.length === 0)), token);
376
376
  await this.showConflicts(this.userDataSyncService.conflicts[0]?.conflicts[0]);
@@ -378,11 +378,11 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
378
378
  }
379
379
  },
380
380
  {
381
- label: singleConflictResource ? ( localize(12280, "Accept &&Remote {0}", singleConflictResource)) : ( localize(12281, "Accept &&Remote")),
381
+ label: singleConflictResource ? ( localize(12281, "Accept &&Remote {0}", singleConflictResource)) : ( localize(12282, "Accept &&Remote")),
382
382
  run: async () => this.replace(true)
383
383
  },
384
384
  {
385
- label: singleConflictResource ? ( localize(12282, "Accept &&Local {0}", singleConflictResource)) : ( localize(12283, "Accept &&Local")),
385
+ label: singleConflictResource ? ( localize(12283, "Accept &&Local {0}", singleConflictResource)) : ( localize(12284, "Accept &&Local")),
386
386
  run: () => this.replace(false)
387
387
  },
388
388
  ],
@@ -417,11 +417,11 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
417
417
  const { confirmed } = await this.dialogService.confirm({
418
418
  type: 'info',
419
419
  message: ( localize(
420
- 12284,
420
+ 12285,
421
421
  "This will clear your data in the cloud and stop sync on all your devices."
422
422
  )),
423
- title: ( localize(12285, "Clear")),
424
- primaryButton: ( localize(12286, "&&Reset")),
423
+ title: ( localize(12286, "Clear")),
424
+ primaryButton: ( localize(12287, "&&Reset")),
425
425
  });
426
426
  if (confirmed) {
427
427
  await this.userDataSyncService.resetRemote();
@@ -454,11 +454,11 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
454
454
  }
455
455
  async downloadSyncActivity() {
456
456
  const result = await this.fileDialogService.showOpenDialog({
457
- title: ( localize(12287, "Select folder to download Settings Sync activity")),
457
+ title: ( localize(12288, "Select folder to download Settings Sync activity")),
458
458
  canSelectFiles: false,
459
459
  canSelectFolders: true,
460
460
  canSelectMany: false,
461
- openLabel: ( localize(12288, "Save")),
461
+ openLabel: ( localize(12289, "Save")),
462
462
  });
463
463
  if (!result?.[0]) {
464
464
  return;
@@ -514,7 +514,7 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
514
514
  else {
515
515
  if (!this.authenticationProviders.length) {
516
516
  throw ( new Error(( localize(
517
- 12289,
517
+ 12290,
518
518
  "Cannot sign in because there are no authentication providers available."
519
519
  ))));
520
520
  }
@@ -556,7 +556,7 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
556
556
  quickPick.title = SYNC_TITLE.value;
557
557
  quickPick.ok = false;
558
558
  quickPick.ignoreFocusOut = true;
559
- quickPick.placeholder = ( localize(12290, "Select an account to sign in"));
559
+ quickPick.placeholder = ( localize(12291, "Select an account to sign in"));
560
560
  quickPick.show();
561
561
  if (authenticationProviders.length > 1) {
562
562
  quickPick.busy = true;
@@ -594,26 +594,26 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
594
594
  createQuickpickItems(authenticationProviders, allAccounts) {
595
595
  const quickPickItems = [];
596
596
  if (allAccounts.size) {
597
- quickPickItems.push({ type: 'separator', label: ( localize(12291, "Signed in")) });
597
+ quickPickItems.push({ type: 'separator', label: ( localize(12292, "Signed in")) });
598
598
  for (const authenticationProvider of authenticationProviders) {
599
599
  const accounts = (allAccounts.get(authenticationProvider.id) || []).sort(({ sessionId }) => sessionId === this.currentSessionId ? -1 : 1);
600
600
  const providerName = this.authenticationService.getProvider(authenticationProvider.id).label;
601
601
  for (const account of accounts) {
602
602
  quickPickItems.push({
603
603
  label: `${account.accountName} (${providerName})`,
604
- description: account.sessionId === this.current?.sessionId ? ( localize(12292, "Last Used with Sync")) : undefined,
604
+ description: account.sessionId === this.current?.sessionId ? ( localize(12293, "Last Used with Sync")) : undefined,
605
605
  account,
606
606
  authenticationProvider,
607
607
  });
608
608
  }
609
609
  }
610
- quickPickItems.push({ type: 'separator', label: ( localize(12293, "Others")) });
610
+ quickPickItems.push({ type: 'separator', label: ( localize(12294, "Others")) });
611
611
  }
612
612
  for (const authenticationProvider of authenticationProviders) {
613
613
  const provider = this.authenticationService.getProvider(authenticationProvider.id);
614
614
  if (!( allAccounts.has(authenticationProvider.id)) || provider.supportsMultipleAccounts) {
615
615
  const providerName = provider.label;
616
- quickPickItems.push({ label: ( localize(12294, "Sign in with {0}", providerName)), authenticationProvider });
616
+ quickPickItems.push({ label: ( localize(12295, "Sign in with {0}", providerName)), authenticationProvider });
617
617
  }
618
618
  }
619
619
  return quickPickItems;