@codingame/monaco-vscode-user-data-sync-service-override 15.0.0 → 15.0.1

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": "15.0.0",
3
+ "version": "15.0.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - user-data-sync service-override",
6
6
  "keywords": [],
@@ -15,21 +15,21 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common": "15.0.0",
19
- "@codingame/monaco-vscode-3607c442-ae7a-594b-b840-038378c24fef-common": "15.0.0",
20
- "@codingame/monaco-vscode-38f25ab8-ea30-5ba9-8a08-ae3308c297c0-common": "15.0.0",
21
- "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "15.0.0",
22
- "@codingame/monaco-vscode-4a316137-39d1-5d77-8b53-112db3547c1e-common": "15.0.0",
23
- "@codingame/monaco-vscode-52bb4d5b-ba1a-57fd-9bee-b28824214eac-common": "15.0.0",
24
- "@codingame/monaco-vscode-7ba0af96-90c2-5e11-ad7f-befdbbf246c8-common": "15.0.0",
25
- "@codingame/monaco-vscode-897bebad-39df-57cb-8a57-36a271d038be-common": "15.0.0",
26
- "@codingame/monaco-vscode-a022e9a8-b522-5ea2-97c7-f3dda2b0b597-common": "15.0.0",
27
- "@codingame/monaco-vscode-a2719803-af40-5ae9-a29f-8a2231c33056-common": "15.0.0",
28
- "@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common": "15.0.0",
29
- "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "15.0.0",
30
- "@codingame/monaco-vscode-api": "15.0.0",
31
- "@codingame/monaco-vscode-e72c94ca-257a-5b75-8b68-5a5fa3c18255-common": "15.0.0",
32
- "@codingame/monaco-vscode-user-data-profile-service-override": "15.0.0"
18
+ "@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common": "15.0.1",
19
+ "@codingame/monaco-vscode-3607c442-ae7a-594b-b840-038378c24fef-common": "15.0.1",
20
+ "@codingame/monaco-vscode-38f25ab8-ea30-5ba9-8a08-ae3308c297c0-common": "15.0.1",
21
+ "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "15.0.1",
22
+ "@codingame/monaco-vscode-4a316137-39d1-5d77-8b53-112db3547c1e-common": "15.0.1",
23
+ "@codingame/monaco-vscode-52bb4d5b-ba1a-57fd-9bee-b28824214eac-common": "15.0.1",
24
+ "@codingame/monaco-vscode-7ba0af96-90c2-5e11-ad7f-befdbbf246c8-common": "15.0.1",
25
+ "@codingame/monaco-vscode-897bebad-39df-57cb-8a57-36a271d038be-common": "15.0.1",
26
+ "@codingame/monaco-vscode-a022e9a8-b522-5ea2-97c7-f3dda2b0b597-common": "15.0.1",
27
+ "@codingame/monaco-vscode-a2719803-af40-5ae9-a29f-8a2231c33056-common": "15.0.1",
28
+ "@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common": "15.0.1",
29
+ "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "15.0.1",
30
+ "@codingame/monaco-vscode-api": "15.0.1",
31
+ "@codingame/monaco-vscode-e72c94ca-257a-5b75-8b68-5a5fa3c18255-common": "15.0.1",
32
+ "@codingame/monaco-vscode-user-data-profile-service-override": "15.0.1"
33
33
  },
34
34
  "main": "index.js",
35
35
  "module": "index.js",
@@ -406,28 +406,28 @@ class AutoSync extends Disposable {
406
406
  if (this.manifest === null && (await this.userDataSyncService.hasPreviouslySynced())) {
407
407
  if (this.hasSyncServiceChanged()) {
408
408
  if (await this.hasDefaultServiceChanged()) {
409
- throw ( new UserDataAutoSyncError(( localize(2296, "Cannot sync because default service has changed")), UserDataSyncErrorCode.DefaultServiceChanged));
409
+ throw ( new UserDataAutoSyncError(( localize(2310, "Cannot sync because default service has changed")), UserDataSyncErrorCode.DefaultServiceChanged));
410
410
  }
411
411
  else {
412
- throw ( new UserDataAutoSyncError(( localize(2297, "Cannot sync because sync service has changed")), UserDataSyncErrorCode.ServiceChanged));
412
+ throw ( new UserDataAutoSyncError(( localize(2311, "Cannot sync because sync service has changed")), UserDataSyncErrorCode.ServiceChanged));
413
413
  }
414
414
  }
415
415
  else {
416
- throw ( new UserDataAutoSyncError(( localize(2298, "Cannot sync because syncing is turned off in the cloud")), UserDataSyncErrorCode.TurnedOff));
416
+ throw ( new UserDataAutoSyncError(( localize(2312, "Cannot sync because syncing is turned off in the cloud")), UserDataSyncErrorCode.TurnedOff));
417
417
  }
418
418
  }
419
419
  const sessionId = this.storageService.get(sessionIdKey, StorageScope.APPLICATION);
420
420
  if (sessionId && this.manifest && sessionId !== this.manifest.session) {
421
421
  if (this.hasSyncServiceChanged()) {
422
422
  if (await this.hasDefaultServiceChanged()) {
423
- throw ( new UserDataAutoSyncError(( localize(2296, "Cannot sync because default service has changed")), UserDataSyncErrorCode.DefaultServiceChanged));
423
+ throw ( new UserDataAutoSyncError(( localize(2310, "Cannot sync because default service has changed")), UserDataSyncErrorCode.DefaultServiceChanged));
424
424
  }
425
425
  else {
426
- throw ( new UserDataAutoSyncError(( localize(2297, "Cannot sync because sync service has changed")), UserDataSyncErrorCode.ServiceChanged));
426
+ throw ( new UserDataAutoSyncError(( localize(2311, "Cannot sync because sync service has changed")), UserDataSyncErrorCode.ServiceChanged));
427
427
  }
428
428
  }
429
429
  else {
430
- throw ( new UserDataAutoSyncError(( localize(2299, "Cannot sync because current session is expired")), UserDataSyncErrorCode.SessionExpired));
430
+ throw ( new UserDataAutoSyncError(( localize(2313, "Cannot sync because current session is expired")), UserDataSyncErrorCode.SessionExpired));
431
431
  }
432
432
  }
433
433
  const machines = await this.userDataSyncMachinesService.getMachines(this.manifest || undefined);
@@ -437,7 +437,7 @@ class AutoSync extends Disposable {
437
437
  const currentMachine = machines.find(machine => machine.isCurrent);
438
438
  if (currentMachine?.disabled) {
439
439
  throw ( new UserDataAutoSyncError(( localize(
440
- 2300,
440
+ 2314,
441
441
  "Cannot sync because syncing is turned off on this machine from another machine."
442
442
  )), UserDataSyncErrorCode.TurnedOff));
443
443
  }
@@ -10,7 +10,7 @@ import { USER_DATA_SYNC_LOG_ID } from '@codingame/monaco-vscode-api/vscode/vs/pl
10
10
  let UserDataSyncLogService = class UserDataSyncLogService extends AbstractLogger {
11
11
  constructor(loggerService, environmentService) {
12
12
  super();
13
- this.logger = this._register(loggerService.createLogger(joinPath(environmentService.logsHome, `${USER_DATA_SYNC_LOG_ID}.log`), { id: USER_DATA_SYNC_LOG_ID, name: ( localize(2306, "Settings Sync")) }));
13
+ this.logger = this._register(loggerService.createLogger(joinPath(environmentService.logsHome, `${USER_DATA_SYNC_LOG_ID}.log`), { id: USER_DATA_SYNC_LOG_ID, name: ( localize(2320, "Settings Sync")) }));
14
14
  }
15
15
  trace(message, ...args) {
16
16
  this.logger.trace(message, ...args);
@@ -455,7 +455,7 @@ let UserDataSyncResourceProviderService = class UserDataSyncResourceProviderServ
455
455
  this.logService.error(error);
456
456
  }
457
457
  throw ( new UserDataSyncError(( localize(
458
- 2308,
458
+ 2322,
459
459
  "Cannot parse sync data as it is not compatible with the current version."
460
460
  )), UserDataSyncErrorCode.IncompatibleRemoteContent, syncResource));
461
461
  }
@@ -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
- 10915,
35
+ 10929,
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
- 10916,
40
+ 10930,
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(10917, "Show Log")), undefined, true, () => this.commandService.executeCommand(SHOW_SYNC_LOG_COMMAND_ID))),
50
- ( new Action('Restart', isWeb ? ( localize(10918, "Reload")) : ( localize(10919, "Restart")), undefined, true, () => this.hostService.restart()))
49
+ ( new Action('Show Sync Logs', ( localize(10931, "Show Log")), undefined, true, () => this.commandService.executeCommand(SHOW_SYNC_LOG_COMMAND_ID))),
50
+ ( new Action('Restart', isWeb ? ( localize(10932, "Reload")) : ( localize(10933, "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(10920, "Operation Id: {0}", error.operationId)) : undefined;
57
+ const operationId = error.operationId ? ( localize(10934, "Operation Id: {0}", error.operationId)) : undefined;
58
58
  const message = ( localize(
59
- 10921,
59
+ 10935,
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(10922, "Settings Sync. Operation Id: {0}", error.operationId)) : undefined,
65
+ source: error.operationId ? ( localize(10936, "Settings Sync. Operation Id: {0}", error.operationId)) : undefined,
66
66
  actions: {
67
67
  primary: [
68
- ( new Action('Show Sync Logs', ( localize(10917, "Show Log")), undefined, true, () => this.commandService.executeCommand(SHOW_SYNC_LOG_COMMAND_ID))),
68
+ ( new Action('Show Sync Logs', ( localize(10931, "Show Log")), undefined, true, () => this.commandService.executeCommand(SHOW_SYNC_LOG_COMMAND_ID))),
69
69
  ]
70
70
  }
71
71
  });
@@ -51,24 +51,24 @@ import { PromptsConfig } from '@codingame/monaco-vscode-52bb4d5b-ba1a-57fd-9bee-
51
51
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
52
52
  import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
53
53
 
54
- const turnOffSyncCommand = { id: 'workbench.userDataSync.actions.turnOff', title: ( localize2(10923, 'Turn Off')) };
55
- const configureSyncCommand = { id: CONFIGURE_SYNC_COMMAND_ID, title: ( localize2(10924, 'Configure...')) };
54
+ const turnOffSyncCommand = { id: 'workbench.userDataSync.actions.turnOff', title: ( localize2(10937, 'Turn Off')) };
55
+ const configureSyncCommand = { id: CONFIGURE_SYNC_COMMAND_ID, title: ( localize2(10938, 'Configure...')) };
56
56
  const showConflictsCommandId = 'workbench.userDataSync.actions.showConflicts';
57
57
  const syncNowCommand = {
58
58
  id: 'workbench.userDataSync.actions.syncNow',
59
- title: ( localize2(10925, 'Sync Now')),
59
+ title: ( localize2(10939, 'Sync Now')),
60
60
  description(userDataSyncService) {
61
61
  if (userDataSyncService.status === SyncStatus.Syncing) {
62
- return localize(10926, "syncing");
62
+ return localize(10940, "syncing");
63
63
  }
64
64
  if (userDataSyncService.lastSyncTime) {
65
- return localize(10927, "synced {0}", fromNow(userDataSyncService.lastSyncTime, true));
65
+ return localize(10941, "synced {0}", fromNow(userDataSyncService.lastSyncTime, true));
66
66
  }
67
67
  return undefined;
68
68
  }
69
69
  };
70
- const showSyncSettingsCommand = { id: 'workbench.userDataSync.actions.settings', title: ( localize2(10928, 'Show Settings')), };
71
- const showSyncedDataCommand = { id: 'workbench.userDataSync.actions.showSyncedData', title: ( localize2(10929, 'Show Synced Data')), };
70
+ const showSyncSettingsCommand = { id: 'workbench.userDataSync.actions.settings', title: ( localize2(10942, 'Show Settings')), };
71
+ const showSyncedDataCommand = { id: 'workbench.userDataSync.actions.showSyncedData', title: ( localize2(10943, 'Show Synced Data')), };
72
72
  const CONTEXT_TURNING_ON_STATE = ( new RawContextKey('userDataSyncTurningOn', false));
73
73
  let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution extends Disposable {
74
74
  constructor(userDataSyncEnablementService, userDataSyncService, userDataSyncWorkbenchService, contextKeyService, activityService, notificationService, editorService, userDataProfileService, dialogService, quickInputService, instantiationService, outputService, userDataAutoSyncService, textModelResolverService, preferencesService, telemetryService, productService, openerService, authenticationService, userDataSyncStoreManagementService, hostService, commandService, workbenchIssueService, configService) {
@@ -147,24 +147,24 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
147
147
  if (!( this.conflictsDisposables.has(key))) {
148
148
  const conflictsArea = getSyncAreaLabel(conflict.syncResource);
149
149
  const handle = this.notificationService.prompt(Severity.Warning, ( localize(
150
- 10930,
150
+ 10944,
151
151
  "Unable to sync due to conflicts in {0}. Please resolve them to continue.",
152
152
  conflictsArea.toLowerCase()
153
153
  )), [
154
154
  {
155
- label: ( localize(10931, "Replace Remote")),
155
+ label: ( localize(10945, "Replace Remote")),
156
156
  run: () => {
157
157
  this.acceptLocal(conflict, conflict.conflicts[0]);
158
158
  }
159
159
  },
160
160
  {
161
- label: ( localize(10932, "Replace Local")),
161
+ label: ( localize(10946, "Replace Local")),
162
162
  run: () => {
163
163
  this.acceptRemote(conflict, conflict.conflicts[0]);
164
164
  }
165
165
  },
166
166
  {
167
- label: ( localize(10933, "Show Conflicts")),
167
+ label: ( localize(10947, "Show Conflicts")),
168
168
  run: () => {
169
169
  this.telemetryService.publicLog2('sync/showConflicts', { source: conflict.syncResource });
170
170
  this.userDataSyncWorkbenchService.showConflicts(conflict.conflicts[0]);
@@ -191,7 +191,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
191
191
  }
192
192
  catch (e) {
193
193
  this.notificationService.error(( localize(
194
- 10934,
194
+ 10948,
195
195
  "Error while accepting changes. Please check [logs]({0}) for more details.",
196
196
  `command:${SHOW_SYNC_LOG_COMMAND_ID}`
197
197
  )));
@@ -203,7 +203,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
203
203
  }
204
204
  catch (e) {
205
205
  this.notificationService.error(( localize(
206
- 10934,
206
+ 10948,
207
207
  "Error while accepting changes. Please check [logs]({0}) for more details.",
208
208
  `command:${SHOW_SYNC_LOG_COMMAND_ID}`
209
209
  )));
@@ -215,11 +215,11 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
215
215
  this.notificationService.notify({
216
216
  severity: Severity.Info,
217
217
  message: ( localize(
218
- 10935,
218
+ 10949,
219
219
  "Settings sync was turned off because current session is expired, please sign in again to turn on sync."
220
220
  )),
221
221
  actions: {
222
- primary: [( new Action('turn on sync', ( localize(10936, "Turn on Settings Sync...")), undefined, true, () => this.turnOn()))]
222
+ primary: [( new Action('turn on sync', ( localize(10950, "Turn on Settings Sync...")), undefined, true, () => this.turnOn()))]
223
223
  }
224
224
  });
225
225
  break;
@@ -227,11 +227,11 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
227
227
  this.notificationService.notify({
228
228
  severity: Severity.Info,
229
229
  message: ( localize(
230
- 10937,
230
+ 10951,
231
231
  "Settings sync was turned off from another device, please turn on sync again."
232
232
  )),
233
233
  actions: {
234
- primary: [( new Action('turn on sync', ( localize(10936, "Turn on Settings Sync...")), undefined, true, () => this.turnOn()))]
234
+ primary: [( new Action('turn on sync', ( localize(10950, "Turn on Settings Sync...")), undefined, true, () => this.turnOn()))]
235
235
  }
236
236
  });
237
237
  break;
@@ -240,7 +240,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
240
240
  this.disableSync(error.resource);
241
241
  const sourceArea = getSyncAreaLabel(error.resource);
242
242
  this.handleTooLargeError(error.resource, ( localize(
243
- 10938,
243
+ 10952,
244
244
  "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",
245
245
  sourceArea.toLowerCase(),
246
246
  sourceArea.toLowerCase(),
@@ -251,7 +251,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
251
251
  case UserDataSyncErrorCode.LocalTooManyProfiles:
252
252
  this.disableSync(SyncResource.Profiles);
253
253
  this.notificationService.error(( localize(
254
- 10939,
254
+ 10953,
255
255
  "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"
256
256
  )));
257
257
  break;
@@ -259,12 +259,12 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
259
259
  case UserDataSyncErrorCode.Gone:
260
260
  case UserDataSyncErrorCode.UpgradeRequired: {
261
261
  const message = ( localize(
262
- 10940,
262
+ 10954,
263
263
  "Settings sync is disabled because the current version ({0}, {1}) is not compatible with the sync service. Please update before turning on sync.",
264
264
  this.productService.version,
265
265
  this.productService.commit
266
266
  ));
267
- const operationId = error.operationId ? ( localize(10941, "Operation Id: {0}", error.operationId)) : undefined;
267
+ const operationId = error.operationId ? ( localize(10955, "Operation Id: {0}", error.operationId)) : undefined;
268
268
  this.notificationService.notify({
269
269
  severity: Severity.Error,
270
270
  message: operationId ? `${message} ${operationId}` : message,
@@ -273,17 +273,17 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
273
273
  }
274
274
  case UserDataSyncErrorCode.MethodNotFound: {
275
275
  const message = ( localize(
276
- 10942,
276
+ 10956,
277
277
  "Settings sync is disabled because the client is making invalid requests. Please report an issue with the logs."
278
278
  ));
279
- const operationId = error.operationId ? ( localize(10941, "Operation Id: {0}", error.operationId)) : undefined;
279
+ const operationId = error.operationId ? ( localize(10955, "Operation Id: {0}", error.operationId)) : undefined;
280
280
  this.notificationService.notify({
281
281
  severity: Severity.Error,
282
282
  message: operationId ? `${message} ${operationId}` : message,
283
283
  actions: {
284
284
  primary: [
285
- ( new Action('Show Sync Logs', ( localize(10943, "Show Log")), undefined, true, () => this.commandService.executeCommand(SHOW_SYNC_LOG_COMMAND_ID))),
286
- ( new Action('Report Issue', ( localize(10944, "Report Issue")), undefined, true, () => this.workbenchIssueService.openReporter()))
285
+ ( new Action('Show Sync Logs', ( localize(10957, "Show Log")), undefined, true, () => this.commandService.executeCommand(SHOW_SYNC_LOG_COMMAND_ID))),
286
+ ( new Action('Report Issue', ( localize(10958, "Report Issue")), undefined, true, () => this.workbenchIssueService.openReporter()))
287
287
  ]
288
288
  }
289
289
  });
@@ -293,13 +293,13 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
293
293
  this.notificationService.notify({
294
294
  severity: Severity.Error,
295
295
  message: ( localize(
296
- 10945,
296
+ 10959,
297
297
  "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."
298
298
  )),
299
299
  actions: {
300
300
  primary: [
301
- ( new Action('reset', ( localize(10946, "Clear Data in Cloud...")), undefined, true, () => this.userDataSyncWorkbenchService.resetSyncedData())),
302
- ( new Action('show synced data', ( localize(10947, "Show Synced Data")), undefined, true, () => this.userDataSyncWorkbenchService.showSyncActivity()))
301
+ ( new Action('reset', ( localize(10960, "Clear Data in Cloud...")), undefined, true, () => this.userDataSyncWorkbenchService.resetSyncedData())),
302
+ ( new Action('show synced data', ( localize(10961, "Show Synced Data")), undefined, true, () => this.userDataSyncWorkbenchService.showSyncActivity()))
303
303
  ]
304
304
  }
305
305
  });
@@ -308,8 +308,8 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
308
308
  this.notificationService.notify({
309
309
  severity: Severity.Info,
310
310
  message: this.userDataSyncStoreManagementService.userDataSyncStore?.type === 'insiders' ?
311
- ( localize(10948, "Settings Sync has been switched to insiders service")) :
312
- ( localize(10949, "Settings Sync has been switched to stable service")),
311
+ ( localize(10962, "Settings Sync has been switched to insiders service")) :
312
+ ( localize(10963, "Settings Sync has been switched to stable service")),
313
313
  });
314
314
  return;
315
315
  case UserDataSyncErrorCode.DefaultServiceChanged:
@@ -317,7 +317,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
317
317
  this.notificationService.notify({
318
318
  severity: Severity.Info,
319
319
  message: ( localize(
320
- 10950,
320
+ 10964,
321
321
  "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)."
322
322
  )),
323
323
  });
@@ -326,12 +326,12 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
326
326
  this.notificationService.notify({
327
327
  severity: Severity.Info,
328
328
  message: ( localize(
329
- 10951,
329
+ 10965,
330
330
  "Settings sync was turned off because {0} now uses a separate service. Please turn on sync again.",
331
331
  this.productService.nameLong
332
332
  )),
333
333
  actions: {
334
- primary: [( new Action('turn on sync', ( localize(10936, "Turn on Settings Sync...")), undefined, true, () => this.turnOn()))]
334
+ primary: [( new Action('turn on sync', ( localize(10950, "Turn on Settings Sync...")), undefined, true, () => this.turnOn()))]
335
335
  }
336
336
  });
337
337
  }
@@ -339,12 +339,12 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
339
339
  }
340
340
  }
341
341
  handleTooLargeError(resource, message, error) {
342
- const operationId = error.operationId ? ( localize(10941, "Operation Id: {0}", error.operationId)) : undefined;
342
+ const operationId = error.operationId ? ( localize(10955, "Operation Id: {0}", error.operationId)) : undefined;
343
343
  this.notificationService.notify({
344
344
  severity: Severity.Error,
345
345
  message: operationId ? `${message} ${operationId}` : message,
346
346
  actions: {
347
- primary: [( new Action('open sync file', ( localize(10952, "Open {0} File", getSyncAreaLabel(resource))), undefined, true, () => resource === SyncResource.Settings ? this.preferencesService.openUserSettings({ jsonEditor: true }) : this.preferencesService.openGlobalKeybindingSettings(true)))]
347
+ primary: [( new Action('open sync file', ( localize(10966, "Open {0} File", getSyncAreaLabel(resource))), undefined, true, () => resource === SyncResource.Settings ? this.preferencesService.openUserSettings({ jsonEditor: true }) : this.preferencesService.openGlobalKeybindingSettings(true)))]
348
348
  }
349
349
  });
350
350
  }
@@ -396,12 +396,12 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
396
396
  const handle = this.notificationService.notify({
397
397
  severity: Severity.Error,
398
398
  message: ( localize(
399
- 10953,
399
+ 10967,
400
400
  "Unable to sync {0} because the content in the file is not valid. Please open the file and correct it.",
401
401
  errorArea.toLowerCase()
402
402
  )),
403
403
  actions: {
404
- primary: [( new Action('open sync file', ( localize(10952, "Open {0} File", errorArea)), undefined, true, () => source === SyncResource.Settings ? this.preferencesService.openUserSettings({ jsonEditor: true }) : this.preferencesService.openGlobalKeybindingSettings(true)))]
404
+ primary: [( new Action('open sync file', ( localize(10966, "Open {0} File", errorArea)), undefined, true, () => source === SyncResource.Settings ? this.preferencesService.openUserSettings({ jsonEditor: true }) : this.preferencesService.openGlobalKeybindingSettings(true)))]
405
405
  }
406
406
  });
407
407
  this.invalidContentErrorDisposables.set(key, toDisposable(() => {
@@ -416,10 +416,10 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
416
416
  this.globalActivityBadgeDisposable.clear();
417
417
  let badge = undefined;
418
418
  if (this.userDataSyncService.conflicts.length && this.userDataSyncEnablementService.isEnabled()) {
419
- badge = ( new NumberBadge(this.getConflictsCount(), () => ( localize(10954, "{0}: Conflicts Detected", SYNC_TITLE.value))));
419
+ badge = ( new NumberBadge(this.getConflictsCount(), () => ( localize(10968, "{0}: Conflicts Detected", SYNC_TITLE.value))));
420
420
  }
421
421
  else if (this.turningOnSync) {
422
- badge = ( new ProgressBadge(() => ( localize(10955, "Turning on Settings Sync..."))));
422
+ badge = ( new ProgressBadge(() => ( localize(10969, "Turning on Settings Sync..."))));
423
423
  }
424
424
  if (badge) {
425
425
  this.globalActivityBadgeDisposable.value = this.activityService.showGlobalActivity({ badge });
@@ -429,7 +429,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
429
429
  this.accountBadgeDisposable.clear();
430
430
  let badge = undefined;
431
431
  if (this.userDataSyncService.status !== SyncStatus.Uninitialized && this.userDataSyncEnablementService.isEnabled() && this.userDataSyncWorkbenchService.accountStatus === AccountStatus.Unavailable) {
432
- badge = ( new NumberBadge(1, () => ( localize(10956, "Sign in to Sync Settings"))));
432
+ badge = ( new NumberBadge(1, () => ( localize(10970, "Sign in to Sync Settings"))));
433
433
  }
434
434
  if (badge) {
435
435
  this.accountBadgeDisposable.value = this.activityService.showAccountsActivity({ badge });
@@ -438,7 +438,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
438
438
  async turnOn() {
439
439
  try {
440
440
  if (!this.userDataSyncWorkbenchService.authenticationProviders.length) {
441
- throw ( new Error(( localize(10957, "No authentication providers are available."))));
441
+ throw ( new Error(( localize(10971, "No authentication providers are available."))));
442
442
  }
443
443
  const turnOn = await this.askToConfigure();
444
444
  if (!turnOn) {
@@ -458,7 +458,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
458
458
  case UserDataSyncErrorCode.TooLarge:
459
459
  if (e.resource === SyncResource.Keybindings || e.resource === SyncResource.Settings || e.resource === SyncResource.Tasks) {
460
460
  this.handleTooLargeError(e.resource, ( localize(
461
- 10958,
461
+ 10972,
462
462
  "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",
463
463
  getSyncAreaLabel(e.resource).toLowerCase(),
464
464
  '100kb'
@@ -470,12 +470,12 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
470
470
  case UserDataSyncErrorCode.Gone:
471
471
  case UserDataSyncErrorCode.UpgradeRequired: {
472
472
  const message = ( localize(
473
- 10959,
473
+ 10973,
474
474
  "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.",
475
475
  this.productService.version,
476
476
  this.productService.commit
477
477
  ));
478
- const operationId = e.operationId ? ( localize(10941, "Operation Id: {0}", e.operationId)) : undefined;
478
+ const operationId = e.operationId ? ( localize(10955, "Operation Id: {0}", e.operationId)) : undefined;
479
479
  this.notificationService.notify({
480
480
  severity: Severity.Error,
481
481
  message: operationId ? `${message} ${operationId}` : message,
@@ -486,30 +486,30 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
486
486
  this.notificationService.notify({
487
487
  severity: Severity.Error,
488
488
  message: ( localize(
489
- 10960,
489
+ 10974,
490
490
  "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."
491
491
  )),
492
492
  actions: {
493
493
  primary: [
494
- ( new Action('reset', ( localize(10946, "Clear Data in Cloud...")), undefined, true, () => this.userDataSyncWorkbenchService.resetSyncedData())),
495
- ( new Action('show synced data', ( localize(10947, "Show Synced Data")), undefined, true, () => this.userDataSyncWorkbenchService.showSyncActivity()))
494
+ ( new Action('reset', ( localize(10960, "Clear Data in Cloud...")), undefined, true, () => this.userDataSyncWorkbenchService.resetSyncedData())),
495
+ ( new Action('show synced data', ( localize(10961, "Show Synced Data")), undefined, true, () => this.userDataSyncWorkbenchService.showSyncActivity()))
496
496
  ]
497
497
  }
498
498
  });
499
499
  return;
500
500
  case UserDataSyncErrorCode.Unauthorized:
501
501
  case UserDataSyncErrorCode.Forbidden:
502
- this.notificationService.error(( localize(10961, "Error while turning on Settings Sync: Authentication failed.")));
502
+ this.notificationService.error(( localize(10975, "Error while turning on Settings Sync: Authentication failed.")));
503
503
  return;
504
504
  }
505
505
  this.notificationService.error(( localize(
506
- 10962,
506
+ 10976,
507
507
  "Error while turning on Settings Sync. Please check [logs]({0}) for more details.",
508
508
  `command:${SHOW_SYNC_LOG_COMMAND_ID}`
509
509
  )));
510
510
  }
511
511
  else {
512
- this.notificationService.error(( localize(10963, "Error while turning on Settings Sync. {0}", getErrorMessage(e))));
512
+ this.notificationService.error(( localize(10977, "Error while turning on Settings Sync. {0}", getErrorMessage(e))));
513
513
  }
514
514
  }
515
515
  }
@@ -521,8 +521,8 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
521
521
  quickPick.title = SYNC_TITLE.value;
522
522
  quickPick.ok = false;
523
523
  quickPick.customButton = true;
524
- quickPick.customLabel = ( localize(10964, "Sign in"));
525
- quickPick.description = ( localize(10965, "Please sign in to backup and sync your data across devices."));
524
+ quickPick.customLabel = ( localize(10978, "Sign in"));
525
+ quickPick.description = ( localize(10979, "Please sign in to backup and sync your data across devices."));
526
526
  quickPick.canSelectMany = true;
527
527
  quickPick.ignoreFocusOut = true;
528
528
  quickPick.hideInput = true;
@@ -598,8 +598,8 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
598
598
  const disposables = ( new DisposableStore());
599
599
  const quickPick = this.quickInputService.createQuickPick();
600
600
  disposables.add(quickPick);
601
- quickPick.title = ( localize(10966, "{0}: Configure...", SYNC_TITLE.value));
602
- quickPick.placeholder = ( localize(10967, "Choose what to sync"));
601
+ quickPick.title = ( localize(10980, "{0}: Configure...", SYNC_TITLE.value));
602
+ quickPick.placeholder = ( localize(10981, "Choose what to sync"));
603
603
  quickPick.canSelectMany = true;
604
604
  quickPick.ignoreFocusOut = true;
605
605
  quickPick.ok = true;
@@ -621,15 +621,15 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
621
621
  }
622
622
  async turnOff() {
623
623
  const result = await this.dialogService.confirm({
624
- message: ( localize(10968, "Do you want to turn off sync?")),
624
+ message: ( localize(10982, "Do you want to turn off sync?")),
625
625
  detail: ( localize(
626
- 10969,
626
+ 10983,
627
627
  "Your settings, keybindings, extensions, snippets and UI State will no longer be synced."
628
628
  )),
629
- primaryButton: ( localize(10970, "&&Turn off")),
629
+ primaryButton: ( localize(10984, "&&Turn off")),
630
630
  checkbox: this.userDataSyncWorkbenchService.accountStatus === AccountStatus.Available ? {
631
631
  label: ( localize(
632
- 10971,
632
+ 10985,
633
633
  "Turn off sync on all your devices and clear the data from the cloud."
634
634
  ))
635
635
  } : undefined
@@ -656,9 +656,9 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
656
656
  return (new Promise((c, e) => {
657
657
  const disposables = ( new DisposableStore());
658
658
  const quickPick = disposables.add(this.quickInputService.createQuickPick());
659
- quickPick.title = ( localize(10972, "{0}: Select Service", SYNC_TITLE.value));
659
+ quickPick.title = ( localize(10986, "{0}: Select Service", SYNC_TITLE.value));
660
660
  quickPick.description = ( localize(
661
- 10973,
661
+ 10987,
662
662
  "Ensure you are using the same settings sync service when syncing with multiple environments"
663
663
  ));
664
664
  quickPick.hideInput = true;
@@ -666,19 +666,19 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
666
666
  const getDescription = (url) => {
667
667
  const isDefault = isEqual(url, userDataSyncStore.defaultUrl);
668
668
  if (isDefault) {
669
- return localize(10974, "Default");
669
+ return localize(10988, "Default");
670
670
  }
671
671
  return undefined;
672
672
  };
673
673
  quickPick.items = [
674
674
  {
675
675
  id: 'insiders',
676
- label: ( localize(10975, "Insiders")),
676
+ label: ( localize(10989, "Insiders")),
677
677
  description: getDescription(userDataSyncStore.insidersUrl)
678
678
  },
679
679
  {
680
680
  id: 'stable',
681
- label: ( localize(10976, "Stable")),
681
+ label: ( localize(10990, "Stable")),
682
682
  description: getDescription(userDataSyncStore.stableUrl)
683
683
  }
684
684
  ];
@@ -727,7 +727,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
727
727
  constructor() {
728
728
  super({
729
729
  id: 'workbench.userDataSync.actions.turnOn',
730
- title: ( localize2(10977, 'Backup and Sync Settings...')),
730
+ title: ( localize2(10991, 'Backup and Sync Settings...')),
731
731
  category: SYNC_TITLE,
732
732
  f1: true,
733
733
  precondition: when,
@@ -760,7 +760,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
760
760
  constructor() {
761
761
  super({
762
762
  id: 'workbench.userData.actions.turningOn',
763
- title: ( localize(10978, "Turning on Settings Sync...")),
763
+ title: ( localize(10992, "Turning on Settings Sync...")),
764
764
  precondition: ( ContextKeyExpr.false()),
765
765
  menu: [{
766
766
  group: '3_configuration',
@@ -783,7 +783,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
783
783
  constructor() {
784
784
  super({
785
785
  id: 'workbench.userData.actions.cancelTurnOn',
786
- title: ( localize(10979, "Cancel")),
786
+ title: ( localize(10993, "Cancel")),
787
787
  icon: Codicon.stopCircle,
788
788
  menu: {
789
789
  id: MenuId.ViewContainerTitle,
@@ -806,7 +806,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
806
806
  constructor() {
807
807
  super({
808
808
  id: 'workbench.userData.actions.signin',
809
- title: ( localize(10980, "Sign in to Sync Settings")),
809
+ title: ( localize(10994, "Sign in to Sync Settings")),
810
810
  menu: {
811
811
  group: '3_configuration',
812
812
  id: MenuId.GlobalActivity,
@@ -828,13 +828,13 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
828
828
  group: '1_settings',
829
829
  command: {
830
830
  id,
831
- title: ( localize(10981, "Sign in to Sync Settings (1)")),
831
+ title: ( localize(10995, "Sign in to Sync Settings (1)")),
832
832
  },
833
833
  when
834
834
  })));
835
835
  }
836
836
  getShowConflictsTitle() {
837
- return localize2(10982, "Show Conflicts ({0})", this.getConflictsCount());
837
+ return localize2(10996, "Show Conflicts ({0})", this.getConflictsCount());
838
838
  }
839
839
  registerShowConflictsAction() {
840
840
  this.conflictsActionDisposable.value = undefined;
@@ -872,7 +872,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
872
872
  constructor() {
873
873
  super({
874
874
  id: 'workbench.userDataSync.actions.manage',
875
- title: ( localize(10983, "Settings Sync is On")),
875
+ title: ( localize(10997, "Settings Sync is On")),
876
876
  toggled: ContextKeyTrueExpr.INSTANCE,
877
877
  menu: [
878
878
  {
@@ -993,7 +993,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
993
993
  catch (e) {
994
994
  if (!isCancellationError(e)) {
995
995
  that.notificationService.error(( localize(
996
- 10984,
996
+ 10998,
997
997
  "Error while turning off Settings Sync. Please check [logs]({0}) for more details.",
998
998
  `command:${SHOW_SYNC_LOG_COMMAND_ID}`
999
999
  )));
@@ -1012,7 +1012,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
1012
1012
  title: configureSyncCommand.title,
1013
1013
  category: SYNC_TITLE,
1014
1014
  icon: Codicon.settingsGear,
1015
- tooltip: ( localize(10985, "Configure...")),
1015
+ tooltip: ( localize(10999, "Configure...")),
1016
1016
  menu: [{
1017
1017
  id: MenuId.CommandPalette,
1018
1018
  when
@@ -1033,8 +1033,8 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
1033
1033
  constructor() {
1034
1034
  super({
1035
1035
  id: SHOW_SYNC_LOG_COMMAND_ID,
1036
- title: ( localize(10986, "{0}: Show Log", SYNC_TITLE.value)),
1037
- tooltip: ( localize(10987, "Show Log")),
1036
+ title: ( localize(11000, "{0}: Show Log", SYNC_TITLE.value)),
1037
+ tooltip: ( localize(11001, "Show Log")),
1038
1038
  icon: Codicon.output,
1039
1039
  menu: [{
1040
1040
  id: MenuId.CommandPalette,
@@ -1099,7 +1099,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
1099
1099
  constructor() {
1100
1100
  super({
1101
1101
  id: 'workbench.userDataSync.actions.acceptMerges',
1102
- title: ( localize(10988, "Complete Merge")),
1102
+ title: ( localize(11002, "Complete Merge")),
1103
1103
  menu: [{
1104
1104
  id: MenuId.EditorContent,
1105
1105
  when: ( ContextKeyExpr.and(ctxIsMergeResultEditor, ( ContextKeyExpr.regex(ctxMergeBaseUri.key, ( new RegExp(`^${USER_DATA_SYNC_SCHEME}:`)))))),
@@ -1131,7 +1131,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
1131
1131
  const notificationService = accessor.get(INotificationService);
1132
1132
  const folder = await userDataSyncWorkbenchService.downloadSyncActivity();
1133
1133
  if (folder) {
1134
- notificationService.info(( localize(10989, "Successfully downloaded Settings Sync activity.")));
1134
+ notificationService.info(( localize(11003, "Successfully downloaded Settings Sync activity.")));
1135
1135
  }
1136
1136
  }
1137
1137
  }));
@@ -1158,7 +1158,7 @@ let UserDataSyncWorkbenchContribution = class UserDataSyncWorkbenchContribution
1158
1158
  constructor() {
1159
1159
  super({
1160
1160
  id: 'workbench.actions.syncData.reset',
1161
- title: ( localize(10990, "Clear Data in Cloud...")),
1161
+ title: ( localize(11004, "Clear Data in Cloud...")),
1162
1162
  menu: [{
1163
1163
  id: MenuId.ViewContainerTitle,
1164
1164
  when: ( ContextKeyExpr.equals('viewContainer', SYNC_VIEW_CONTAINER_ID)),
@@ -43,7 +43,7 @@ let UserDataSyncConflictsViewPane = class UserDataSyncConflictsViewPane extends
43
43
  renderTreeView(container) {
44
44
  super.renderTreeView(append(container, $('')));
45
45
  const that = this;
46
- this.treeView.message = ( localize(10991, "Please go through each entry and merge to resolve conflicts."));
46
+ this.treeView.message = ( localize(11005, "Please go through each entry and merge to resolve conflicts."));
47
47
  this.treeView.dataProvider = { getChildren() { return that.getTreeItems(); } };
48
48
  }
49
49
  async getTreeItems() {
@@ -107,7 +107,7 @@ let UserDataSyncConflictsViewPane = class UserDataSyncConflictsViewPane extends
107
107
  constructor() {
108
108
  super({
109
109
  id: `workbench.actions.sync.openConflicts`,
110
- title: ( localize(10992, "Show Conflicts")),
110
+ title: ( localize(11006, "Show Conflicts")),
111
111
  });
112
112
  }
113
113
  async run(accessor, handle) {
@@ -119,7 +119,7 @@ let UserDataSyncConflictsViewPane = class UserDataSyncConflictsViewPane extends
119
119
  constructor() {
120
120
  super({
121
121
  id: `workbench.actions.sync.acceptRemote`,
122
- title: ( localize(10993, "Accept Remote")),
122
+ title: ( localize(11007, "Accept Remote")),
123
123
  icon: Codicon.cloudDownload,
124
124
  menu: {
125
125
  id: MenuId.ViewItemContext,
@@ -138,7 +138,7 @@ let UserDataSyncConflictsViewPane = class UserDataSyncConflictsViewPane extends
138
138
  constructor() {
139
139
  super({
140
140
  id: `workbench.actions.sync.acceptLocal`,
141
- title: ( localize(10994, "Accept Local")),
141
+ title: ( localize(11008, "Accept Local")),
142
142
  icon: Codicon.cloudUpload,
143
143
  menu: {
144
144
  id: MenuId.ViewItemContext,
@@ -160,11 +160,11 @@ let UserDataSyncConflictsViewPane = class UserDataSyncConflictsViewPane extends
160
160
  ))))) {
161
161
  return;
162
162
  }
163
- const remoteResourceName = ( localize(10995, "{0} (Remote)", basename(conflictToOpen.remoteResource)));
164
- const localResourceName = ( localize(10996, "{0} (Local)", basename(conflictToOpen.remoteResource)));
163
+ const remoteResourceName = ( localize(11009, "{0} (Remote)", basename(conflictToOpen.remoteResource)));
164
+ const localResourceName = ( localize(11010, "{0} (Local)", basename(conflictToOpen.remoteResource)));
165
165
  await this.editorService.openEditor({
166
- input1: { resource: conflictToOpen.remoteResource, label: ( localize(10997, 'Theirs')), description: remoteResourceName },
167
- input2: { resource: conflictToOpen.localResource, label: ( localize(10998, 'Yours')), description: localResourceName },
166
+ input1: { resource: conflictToOpen.remoteResource, label: ( localize(11011, 'Theirs')), description: remoteResourceName },
167
+ input2: { resource: conflictToOpen.localResource, label: ( localize(11012, 'Yours')), description: localResourceName },
168
168
  base: { resource: conflictToOpen.baseResource },
169
169
  result: { resource: conflictToOpen.previewResource },
170
170
  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(10999, "Conflicts"));
58
+ const viewName = ( localize2(11013, "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(11000, "Synced Machines"));
74
+ const name = ( localize2(11014, "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(11001, "Edit Name")),
98
+ title: ( localize(11015, "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(11002, "Turn off Settings Sync")),
118
+ title: ( localize(11016, "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(11003, "Sync Activity (Remote)")) : ( localize2(11004, "Sync Activity (Local)"));
134
+ const name = remote ? ( localize2(11017, "Sync Activity (Remote)")) : ( localize2(11018, "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(11005, "Sync Activity (Developer)"));
159
+ const name = ( localize2(11019, "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(11006, "Load Sync Activity")),
182
+ title: ( localize(11020, "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(11007, "Select Sync Activity File or Folder")),
194
+ title: ( localize(11021, "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(11008, "Show raw JSON sync data")),
212
+ title: ( localize(11022, "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(11009, "Compare with Local")),
229
+ title: ( localize(11023, "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
- 11010,
242
+ 11024,
243
243
  "{0} ↔ {1}",
244
- localize(11011, "{0} (Remote)", basename(remoteResource)),
245
- localize(11012, "{0} (Local)", basename(localResource))
244
+ localize(11025, "{0} (Remote)", basename(remoteResource)),
245
+ localize(11026, "{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(11013, "Restore")),
253
+ title: ( localize(11027, "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
- 11014,
268
+ 11028,
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(11015, "Troubleshoot"));
283
+ const name = ( localize2(11029, "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(11016, "Reset Synced Data")), undefined, true, () => this.userDataSyncWorkbenchService.resetSyncedData())),
347
+ ( new Action('reset', ( localize(11030, "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
- 11017,
403
+ 11031,
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(11018, "Current")) : machine?.name;
496
+ children[0].description = machine?.isCurrent ? ( localize(11032, "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(11018, "Current")) : machine?.name;
552
+ children[0].description = machine?.isCurrent ? ( localize(11032, "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(11019, "No Machines"));
590
+ this.treeView.message = machines.length ? undefined : ( localize(11033, "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(11018, "Current")) : undefined,
595
+ description: isCurrent ? ( localize(11032, "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(11020, "machine not found with id: {0}", machineIds.join(',')))));
615
+ throw ( new Error(( localize(11034, "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(11021, "Are you sure you want to turn off sync on selected machines?"))
619
+ message: machinesToDisable.length > 1 ? ( localize(11035, "Are you sure you want to turn off sync on selected machines?"))
620
620
  : ( localize(
621
- 11022,
621
+ 11036,
622
622
  "Are you sure you want to turn off sync on {0}?",
623
623
  machinesToDisable[0].name
624
624
  )),
625
- primaryButton: ( localize(11023, "&&Turn off")),
625
+ primaryButton: ( localize(11037, "&&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(11024, "Enter the name of the machine"));
643
+ inputBox.placeholder = ( localize(11038, "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(11020, "machine not found with id: {0}", machineId))));
652
+ throw ( new Error(( localize(11034, "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(11025, "Machine name should be unique and not empty"))));
660
+ disposableStore.add(inputBox.onDidChangeValue(() => inputBox.validationMessage = validateMachineName(inputBox.value) ? '' : ( localize(11039, "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(11026, "Logs")) },
700
+ label: { label: ( localize(11040, "Logs")) },
701
701
  themeIcon: Codicon.folder,
702
702
  }, {
703
703
  handle: 'LAST_SYNC_STATES',
704
704
  collapsibleState: TreeItemCollapsibleState.Collapsed,
705
- label: { label: ( localize(11027, "Last Synced Remotes")) },
705
+ label: { label: ( localize(11041, "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(11018, "Current")) : undefined,
743
+ description: this.uriIdentityService.extUri.isEqual(logFolder, this.environmentService.logsHome) ? ( localize(11032, "Current")) : undefined,
744
744
  command: { id: API_OPEN_EDITOR_COMMAND_ID, title: '', arguments: [syncLogResource, undefined, undefined] },
745
745
  });
746
746
  }
@@ -247,7 +247,7 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
247
247
  async turnOn() {
248
248
  if (!this.authenticationProviders.length) {
249
249
  throw ( new Error(( localize(
250
- 12378,
250
+ 12392,
251
251
  "Settings sync cannot be turned on because there are no authentication providers available."
252
252
  ))));
253
253
  }
@@ -262,16 +262,16 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
262
262
  throw ( new CancellationError());
263
263
  }
264
264
  if (this.accountStatus !== AccountStatus.Available) {
265
- throw ( new Error(( localize(12379, "No account available"))));
265
+ throw ( new Error(( localize(12393, "No account available"))));
266
266
  }
267
267
  const turnOnSyncCancellationToken = this.turnOnSyncCancellationToken = ( new CancellationTokenSource());
268
268
  const disposable = isWeb ? Disposable.None : this.lifecycleService.onBeforeShutdown(e => e.veto((async () => {
269
269
  const { confirmed } = await this.dialogService.confirm({
270
270
  type: 'warning',
271
- message: ( localize(12380, "Settings Sync is being turned on. Would you like to cancel it?")),
272
- title: ( localize(12381, "Settings Sync")),
273
- primaryButton: ( localize(12382, "&&Yes")),
274
- cancelButton: ( localize(12383, "No"))
271
+ message: ( localize(12394, "Settings Sync is being turned on. Would you like to cancel it?")),
272
+ title: ( localize(12395, "Settings Sync")),
273
+ primaryButton: ( localize(12396, "&&Yes")),
274
+ cancelButton: ( localize(12397, "No"))
275
275
  });
276
276
  if (confirmed) {
277
277
  turnOnSyncCancellationToken.cancel();
@@ -293,7 +293,7 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
293
293
  if (this.environmentService.options?.settingsSyncOptions?.enablementHandler && this.currentAuthenticationProviderId) {
294
294
  this.environmentService.options.settingsSyncOptions.enablementHandler(true, this.currentAuthenticationProviderId);
295
295
  }
296
- this.notificationService.info(( localize(12384, "{0} is turned on", SYNC_TITLE.value)));
296
+ this.notificationService.info(( localize(12398, "{0} is turned on", SYNC_TITLE.value)));
297
297
  this._onDidTurnOnSync.fire();
298
298
  }
299
299
  async turnoff(everywhere) {
@@ -334,13 +334,13 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
334
334
  command: SHOW_SYNC_LOG_COMMAND_ID,
335
335
  delay: 500,
336
336
  }, async (progress) => {
337
- progress.report({ message: ( localize(12385, "Turning on...")) });
337
+ progress.report({ message: ( localize(12399, "Turning on...")) });
338
338
  disposables.add(this.userDataSyncService.onDidChangeStatus(status => {
339
339
  if (status === SyncStatus.HasConflicts) {
340
- progress.report({ message: ( localize(12386, "Resolving conflicts...")) });
340
+ progress.report({ message: ( localize(12400, "Resolving conflicts...")) });
341
341
  }
342
342
  else {
343
- progress.report({ message: ( localize(12387, "Turning on...")) });
343
+ progress.report({ message: ( localize(12401, "Turning on...")) });
344
344
  }
345
345
  }));
346
346
  await manualSyncTask.merge();
@@ -360,7 +360,7 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
360
360
  }
361
361
  async handleConflictsWhileTurningOn(token) {
362
362
  const conflicts = this.userDataSyncService.conflicts;
363
- const andSeparator = ( localize(12388, ' and '));
363
+ const andSeparator = ( localize(12402, ' and '));
364
364
  let conflictsText = '';
365
365
  for (let i = 0; i < conflicts.length; i++) {
366
366
  if (i === conflicts.length - 1 && i !== 0) {
@@ -374,11 +374,11 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
374
374
  const singleConflictResource = conflicts.length === 1 ? getSyncAreaLabel(conflicts[0].syncResource) : undefined;
375
375
  await this.dialogService.prompt({
376
376
  type: Severity.Warning,
377
- message: ( localize(12389, "Conflicts Detected in {0}", conflictsText)),
378
- detail: ( localize(12390, "Please resolve conflicts to turn on...")),
377
+ message: ( localize(12403, "Conflicts Detected in {0}", conflictsText)),
378
+ detail: ( localize(12404, "Please resolve conflicts to turn on...")),
379
379
  buttons: [
380
380
  {
381
- label: ( localize(12391, "&&Show Conflicts")),
381
+ label: ( localize(12405, "&&Show Conflicts")),
382
382
  run: async () => {
383
383
  const waitUntilConflictsAreResolvedPromise = raceCancellationError(Event.toPromise(Event.filter(this.userDataSyncService.onDidChangeConflicts, conficts => conficts.length === 0)), token);
384
384
  await this.showConflicts(this.userDataSyncService.conflicts[0]?.conflicts[0]);
@@ -386,11 +386,11 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
386
386
  }
387
387
  },
388
388
  {
389
- label: singleConflictResource ? ( localize(12392, "Accept &&Remote {0}", singleConflictResource)) : ( localize(12393, "Accept &&Remote")),
389
+ label: singleConflictResource ? ( localize(12406, "Accept &&Remote {0}", singleConflictResource)) : ( localize(12407, "Accept &&Remote")),
390
390
  run: async () => this.replace(true)
391
391
  },
392
392
  {
393
- label: singleConflictResource ? ( localize(12394, "Accept &&Local {0}", singleConflictResource)) : ( localize(12395, "Accept &&Local")),
393
+ label: singleConflictResource ? ( localize(12408, "Accept &&Local {0}", singleConflictResource)) : ( localize(12409, "Accept &&Local")),
394
394
  run: () => this.replace(false)
395
395
  },
396
396
  ],
@@ -425,11 +425,11 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
425
425
  const { confirmed } = await this.dialogService.confirm({
426
426
  type: 'info',
427
427
  message: ( localize(
428
- 12396,
428
+ 12410,
429
429
  "This will clear your data in the cloud and stop sync on all your devices."
430
430
  )),
431
- title: ( localize(12397, "Clear")),
432
- primaryButton: ( localize(12398, "&&Reset")),
431
+ title: ( localize(12411, "Clear")),
432
+ primaryButton: ( localize(12412, "&&Reset")),
433
433
  });
434
434
  if (confirmed) {
435
435
  await this.userDataSyncService.resetRemote();
@@ -462,11 +462,11 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
462
462
  }
463
463
  async downloadSyncActivity() {
464
464
  const result = await this.fileDialogService.showOpenDialog({
465
- title: ( localize(12399, "Select folder to download Settings Sync activity")),
465
+ title: ( localize(12413, "Select folder to download Settings Sync activity")),
466
466
  canSelectFiles: false,
467
467
  canSelectFolders: true,
468
468
  canSelectMany: false,
469
- openLabel: ( localize(12400, "Save")),
469
+ openLabel: ( localize(12414, "Save")),
470
470
  });
471
471
  if (!result?.[0]) {
472
472
  return;
@@ -522,7 +522,7 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
522
522
  else {
523
523
  if (!this.authenticationProviders.length) {
524
524
  throw ( new Error(( localize(
525
- 12401,
525
+ 12415,
526
526
  "Cannot sign in because there are no authentication providers available."
527
527
  ))));
528
528
  }
@@ -564,7 +564,7 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
564
564
  quickPick.title = SYNC_TITLE.value;
565
565
  quickPick.ok = false;
566
566
  quickPick.ignoreFocusOut = true;
567
- quickPick.placeholder = ( localize(12402, "Select an account to sign in"));
567
+ quickPick.placeholder = ( localize(12416, "Select an account to sign in"));
568
568
  quickPick.show();
569
569
  if (authenticationProviders.length > 1) {
570
570
  quickPick.busy = true;
@@ -602,26 +602,26 @@ let UserDataSyncWorkbenchService = class UserDataSyncWorkbenchService extends Di
602
602
  createQuickpickItems(authenticationProviders, allAccounts) {
603
603
  const quickPickItems = [];
604
604
  if (allAccounts.size) {
605
- quickPickItems.push({ type: 'separator', label: ( localize(12403, "Signed in")) });
605
+ quickPickItems.push({ type: 'separator', label: ( localize(12417, "Signed in")) });
606
606
  for (const authenticationProvider of authenticationProviders) {
607
607
  const accounts = (allAccounts.get(authenticationProvider.id) || []).sort(({ sessionId }) => sessionId === this.currentSessionId ? -1 : 1);
608
608
  const providerName = this.authenticationService.getProvider(authenticationProvider.id).label;
609
609
  for (const account of accounts) {
610
610
  quickPickItems.push({
611
611
  label: `${account.accountName} (${providerName})`,
612
- description: account.sessionId === this.current?.sessionId ? ( localize(12404, "Last Used with Sync")) : undefined,
612
+ description: account.sessionId === this.current?.sessionId ? ( localize(12418, "Last Used with Sync")) : undefined,
613
613
  account,
614
614
  authenticationProvider,
615
615
  });
616
616
  }
617
617
  }
618
- quickPickItems.push({ type: 'separator', label: ( localize(12405, "Others")) });
618
+ quickPickItems.push({ type: 'separator', label: ( localize(12419, "Others")) });
619
619
  }
620
620
  for (const authenticationProvider of authenticationProviders) {
621
621
  const provider = this.authenticationService.getProvider(authenticationProvider.id);
622
622
  if (!( allAccounts.has(authenticationProvider.id)) || provider.supportsMultipleAccounts) {
623
623
  const providerName = provider.label;
624
- quickPickItems.push({ label: ( localize(12406, "Sign in with {0}", providerName)), authenticationProvider });
624
+ quickPickItems.push({ label: ( localize(12420, "Sign in with {0}", providerName)), authenticationProvider });
625
625
  }
626
626
  }
627
627
  return quickPickItems;