@codingame/monaco-vscode-user-data-profile-service-override 37.3.2 → 37.3.4

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.
@@ -223,15 +223,15 @@ let AbstractUserDataProfileElement = class AbstractUserDataProfileElement extend
223
223
  }
224
224
  validate() {
225
225
  if (!this.name) {
226
- this.message = ( localize(20721, "Profile name is required and must be a non-empty value."));
226
+ this.message = ( localize(20840, "Profile name is required and must be a non-empty value."));
227
227
  return;
228
228
  }
229
229
  if (this.shouldValidateName() && this.name !== this.getInitialName() && ( this.userDataProfilesService.profiles.some(p => p.name === this.name))) {
230
- this.message = ( localize(20722, "Profile with name {0} already exists.", this.name));
230
+ this.message = ( localize(20841, "Profile with name {0} already exists.", this.name));
231
231
  return;
232
232
  }
233
233
  if (this.flags && this.flags.settings && this.flags.keybindings && this.flags.tasks && this.flags.snippets && this.flags.extensions) {
234
- this.message = ( localize(20723, "The profile should contain at least one configuration."));
234
+ this.message = ( localize(20842, "The profile should contain at least one configuration."));
235
235
  return;
236
236
  }
237
237
  this.message = undefined;
@@ -254,7 +254,7 @@ let AbstractUserDataProfileElement = class AbstractUserDataProfileElement extend
254
254
  resourceType: r,
255
255
  openAction: children.length ? toAction({
256
256
  id: "_open",
257
- label: ( localize(20724, "Open to the Side")),
257
+ label: ( localize(20843, "Open to the Side")),
258
258
  class: ThemeIcon.asClassName(Codicon.goToFile),
259
259
  run: () => children[0]?.openAction?.run()
260
260
  }) : undefined
@@ -301,7 +301,7 @@ let AbstractUserDataProfileElement = class AbstractUserDataProfileElement extend
301
301
  icon: child.themeIcon,
302
302
  openAction: toAction({
303
303
  id: "_openChild",
304
- label: ( localize(20724, "Open to the Side")),
304
+ label: ( localize(20843, "Open to the Side")),
305
305
  class: ThemeIcon.asClassName(Codicon.goToFile),
306
306
  run: async () => {
307
307
  if (child.parent.type === ProfileResourceType.Extensions) {
@@ -504,7 +504,7 @@ let UserDataProfileElement = class UserDataProfileElement extends AbstractUserDa
504
504
  const children = await this.instantiationService.createInstance(ExtensionsResourceExportTreeItem, this.profile).getChildren();
505
505
  return children.map(child => this.toUserDataProfileResourceChildElement(child, undefined, [{
506
506
  id: "applyToAllProfiles",
507
- label: ( localize(20725, "Apply Extension to all Profiles")),
507
+ label: ( localize(20844, "Apply Extension to all Profiles")),
508
508
  checked: child.applicationScoped,
509
509
  enabled: true,
510
510
  class: "",
@@ -674,7 +674,7 @@ let NewProfileElement = class NewProfileElement extends AbstractUserDataProfileE
674
674
  }
675
675
  if (isUserDataProfile(this.copyFrom)) {
676
676
  if (this.defaultName === this.name) {
677
- this.name = this.defaultName = ( localize(20726, "{0} (Copy)", this.copyFrom.name));
677
+ this.name = this.defaultName = ( localize(20845, "{0} (Copy)", this.copyFrom.name));
678
678
  }
679
679
  if (this.defaultIcon === this.icon) {
680
680
  this.icon = this.defaultIcon = this.copyFrom.icon;
@@ -710,7 +710,7 @@ let NewProfileElement = class NewProfileElement extends AbstractUserDataProfileE
710
710
  }
711
711
  }
712
712
  getNewProfileName() {
713
- const name = ( localize(20727, "Untitled"));
713
+ const name = ( localize(20846, "Untitled"));
714
714
  const nameRegEx = ( new RegExp(`${name}\\s(\\d+)`));
715
715
  let nameIndex = 0;
716
716
  for (const profile of this.userDataProfilesService.profiles) {
@@ -953,11 +953,11 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
953
953
  }
954
954
  createProfileElement(profile) {
955
955
  const disposables = ( new DisposableStore());
956
- const activateAction = disposables.add(( new Action("userDataProfile.activate", ( localize(20728, "Use this Profile for Current Window")), ThemeIcon.asClassName(Codicon.check), true, () => this.userDataProfileManagementService.switchProfile(profileElement.profile))));
957
- const copyFromProfileAction = disposables.add(( new Action("userDataProfile.copyFromProfile", ( localize(20729, "Duplicate...")), ThemeIcon.asClassName(Codicon.copy), true, () => this.createNewProfile(profileElement.profile))));
958
- const exportAction = disposables.add(( new Action("userDataProfile.export", ( localize(20730, "Export...")), ThemeIcon.asClassName(Codicon.export), true, () => this.userDataProfileImportExportService.exportProfile(profile))));
959
- const deleteAction = disposables.add(( new Action("userDataProfile.delete", ( localize(20731, "Delete")), ThemeIcon.asClassName(Codicon.trash), true, () => this.removeProfile(profileElement.profile))));
960
- const newWindowAction = disposables.add(( new Action("userDataProfile.newWindow", ( localize(20732, "Open New Window with this Profile")), ThemeIcon.asClassName(Codicon.emptyWindow), true, () => this.openWindow(profileElement.profile))));
956
+ const activateAction = disposables.add(( new Action("userDataProfile.activate", ( localize(20847, "Use this Profile for Current Window")), ThemeIcon.asClassName(Codicon.check), true, () => this.userDataProfileManagementService.switchProfile(profileElement.profile))));
957
+ const copyFromProfileAction = disposables.add(( new Action("userDataProfile.copyFromProfile", ( localize(20848, "Duplicate...")), ThemeIcon.asClassName(Codicon.copy), true, () => this.createNewProfile(profileElement.profile))));
958
+ const exportAction = disposables.add(( new Action("userDataProfile.export", ( localize(20849, "Export...")), ThemeIcon.asClassName(Codicon.export), true, () => this.userDataProfileImportExportService.exportProfile(profile))));
959
+ const deleteAction = disposables.add(( new Action("userDataProfile.delete", ( localize(20850, "Delete")), ThemeIcon.asClassName(Codicon.trash), true, () => this.removeProfile(profileElement.profile))));
960
+ const newWindowAction = disposables.add(( new Action("userDataProfile.newWindow", ( localize(20851, "Open New Window with this Profile")), ThemeIcon.asClassName(Codicon.emptyWindow), true, () => this.openWindow(profileElement.profile))));
961
961
  const primaryActions = [];
962
962
  primaryActions.push(activateAction);
963
963
  primaryActions.push(newWindowAction);
@@ -985,11 +985,11 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
985
985
  const result = await this.dialogService.confirm({
986
986
  type: "info",
987
987
  message: ( localize(
988
- 20733,
988
+ 20852,
989
989
  "A new profile is already being created. Do you want to discard it and create a new one?"
990
990
  )),
991
- primaryButton: ( localize(20734, "Discard & Create")),
992
- cancelButton: ( localize(20735, "Cancel"))
991
+ primaryButton: ( localize(20853, "Discard & Create")),
992
+ cancelButton: ( localize(20854, "Cancel"))
993
993
  });
994
994
  if (!result.confirmed) {
995
995
  return;
@@ -1010,18 +1010,18 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
1010
1010
  disposables.add(toDisposable(() => cancellationTokenSource.dispose(true)));
1011
1011
  const primaryActions = [];
1012
1012
  const secondaryActions = [];
1013
- const createAction = disposables.add(( new Action("userDataProfile.create", ( localize(20736, "Create")), undefined, true, () => this.saveNewProfile(false, cancellationTokenSource.token))));
1013
+ const createAction = disposables.add(( new Action("userDataProfile.create", ( localize(20855, "Create")), undefined, true, () => this.saveNewProfile(false, cancellationTokenSource.token))));
1014
1014
  primaryActions.push(createAction);
1015
1015
  if (isWeb && copyFrom instanceof URI && isProfileURL(copyFrom)) {
1016
- primaryActions.push(disposables.add(( new Action("userDataProfile.createInDesktop", ( localize(20737, "Create in {0}", this.productService.nameLong)), undefined, true, () => this.openerService.open(copyFrom, {
1016
+ primaryActions.push(disposables.add(( new Action("userDataProfile.createInDesktop", ( localize(20856, "Create in {0}", this.productService.nameLong)), undefined, true, () => this.openerService.open(copyFrom, {
1017
1017
  openExternal: true
1018
1018
  })))));
1019
1019
  }
1020
- const cancelAction = disposables.add(( new Action("userDataProfile.cancel", ( localize(20735, "Cancel")), ThemeIcon.asClassName(Codicon.trash), true, () => this.discardNewProfile())));
1020
+ const cancelAction = disposables.add(( new Action("userDataProfile.cancel", ( localize(20854, "Cancel")), ThemeIcon.asClassName(Codicon.trash), true, () => this.discardNewProfile())));
1021
1021
  secondaryActions.push(cancelAction);
1022
- const previewProfileAction = disposables.add(( new Action("userDataProfile.preview", ( localize(20738, "Preview")), ThemeIcon.asClassName(Codicon.openPreview), true, () => this.previewNewProfile(cancellationTokenSource.token))));
1022
+ const previewProfileAction = disposables.add(( new Action("userDataProfile.preview", ( localize(20857, "Preview")), ThemeIcon.asClassName(Codicon.openPreview), true, () => this.previewNewProfile(cancellationTokenSource.token))));
1023
1023
  secondaryActions.push(previewProfileAction);
1024
- const exportAction = disposables.add(( new Action("userDataProfile.export", ( localize(20730, "Export...")), ThemeIcon.asClassName(Codicon.export), isUserDataProfile(copyFrom), () => this.exportNewProfile(cancellationTokenSource.token))));
1024
+ const exportAction = disposables.add(( new Action("userDataProfile.export", ( localize(20849, "Export...")), ThemeIcon.asClassName(Codicon.export), isUserDataProfile(copyFrom), () => this.exportNewProfile(cancellationTokenSource.token))));
1025
1025
  this.newProfileElement = disposables.add(this.instantiationService.createInstance(
1026
1026
  NewProfileElement,
1027
1027
  copyFrom,
@@ -1031,9 +1031,9 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
1031
1031
  const updateCreateActionLabel = () => {
1032
1032
  if (createAction.enabled) {
1033
1033
  if (this.newProfileElement?.copyFrom && ( this.userDataProfilesService.profiles.some(p => !p.isInternal && p.name === this.newProfileElement?.name))) {
1034
- createAction.label = ( localize(20739, "Replace"));
1034
+ createAction.label = ( localize(20858, "Replace"));
1035
1035
  } else {
1036
- createAction.label = ( localize(20736, "Create"));
1036
+ createAction.label = ( localize(20855, "Create"));
1037
1037
  }
1038
1038
  }
1039
1039
  };
@@ -1206,9 +1206,9 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
1206
1206
  async removeProfile(profile) {
1207
1207
  const result = await this.dialogService.confirm({
1208
1208
  type: "info",
1209
- message: ( localize(20740, "Are you sure you want to delete the profile '{0}'?", profile.name)),
1210
- primaryButton: ( localize(20731, "Delete")),
1211
- cancelButton: ( localize(20735, "Cancel"))
1209
+ message: ( localize(20859, "Are you sure you want to delete the profile '{0}'?", profile.name)),
1210
+ primaryButton: ( localize(20850, "Delete")),
1211
+ cancelButton: ( localize(20854, "Cancel"))
1212
1212
  });
1213
1213
  if (result.confirmed) {
1214
1214
  await this.userDataProfileManagementService.removeProfile(profile);
@@ -229,7 +229,7 @@ let ExtensionsResource = class ExtensionsResource {
229
229
  return;
230
230
  }
231
231
  progress?.(( localize(
232
- 22417,
232
+ 22537,
233
233
  "Installing extension {0}...",
234
234
  installExtensionInfo.extension.displayName ?? installExtensionInfo.extension.identifier.id
235
235
  )));
@@ -328,7 +328,7 @@ class ExtensionsResourceTreeItem {
328
328
  this.type = ProfileResourceType.Extensions;
329
329
  this.handle = ProfileResourceType.Extensions;
330
330
  this.label = {
331
- label: ( localize(22418, "Extensions"))
331
+ label: ( localize(22538, "Extensions"))
332
332
  };
333
333
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
334
334
  this.contextValue = ProfileResourceType.Extensions;
@@ -346,7 +346,7 @@ class ExtensionsResourceTreeItem {
346
346
  label: {
347
347
  label: e.displayName || e.identifier.id
348
348
  },
349
- description: e.applicationScoped ? ( localize(22419, "All Profiles")) : undefined,
349
+ description: e.applicationScoped ? ( localize(22539, "All Profiles")) : undefined,
350
350
  collapsibleState: TreeItemCollapsibleState.None,
351
351
  checkbox: that.checkbox ? {
352
352
  get isChecked() {
@@ -359,9 +359,9 @@ class ExtensionsResourceTreeItem {
359
359
  that.excludedExtensions.add(e.identifier.id.toLowerCase());
360
360
  }
361
361
  },
362
- tooltip: ( localize(22420, "Select {0} Extension", e.displayName || e.identifier.id)),
362
+ tooltip: ( localize(22540, "Select {0} Extension", e.displayName || e.identifier.id)),
363
363
  accessibilityInformation: {
364
- label: ( localize(22420, "Select {0} Extension", e.displayName || e.identifier.id))
364
+ label: ( localize(22540, "Select {0} Extension", e.displayName || e.identifier.id))
365
365
  }
366
366
  } : undefined,
367
367
  themeIcon: Codicon.extensions,
@@ -89,7 +89,7 @@ class GlobalStateResourceTreeItem {
89
89
  this.type = ProfileResourceType.GlobalState;
90
90
  this.handle = ProfileResourceType.GlobalState;
91
91
  this.label = {
92
- label: ( localize(22421, "UI State"))
92
+ label: ( localize(22541, "UI State"))
93
93
  };
94
94
  this.collapsibleState = TreeItemCollapsibleState.Collapsed;
95
95
  }
@@ -81,7 +81,7 @@ let KeybindingsResourceTreeItem = class KeybindingsResourceTreeItem {
81
81
  this.type = ProfileResourceType.Keybindings;
82
82
  this.handle = ProfileResourceType.Keybindings;
83
83
  this.label = {
84
- label: ( localize(22422, "Keyboard Shortcuts"))
84
+ label: ( localize(22542, "Keyboard Shortcuts"))
85
85
  };
86
86
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
87
87
  }
@@ -76,7 +76,7 @@ let McpResourceTreeItem = class McpResourceTreeItem {
76
76
  this.type = ProfileResourceType.Mcp;
77
77
  this.handle = ProfileResourceType.Mcp;
78
78
  this.label = {
79
- label: ( localize(22423, "MCP Servers"))
79
+ label: ( localize(22543, "MCP Servers"))
80
80
  };
81
81
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
82
82
  }
@@ -105,7 +105,7 @@ let SettingsResourceTreeItem = class SettingsResourceTreeItem {
105
105
  this.type = ProfileResourceType.Settings;
106
106
  this.handle = ProfileResourceType.Settings;
107
107
  this.label = {
108
- label: ( localize(22424, "Settings"))
108
+ label: ( localize(22544, "Settings"))
109
109
  };
110
110
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
111
111
  }
@@ -115,7 +115,7 @@ let SnippetsResourceTreeItem = class SnippetsResourceTreeItem {
115
115
  this.uriIdentityService = uriIdentityService;
116
116
  this.type = ProfileResourceType.Snippets;
117
117
  this.label = {
118
- label: ( localize(22425, "Snippets"))
118
+ label: ( localize(22545, "Snippets"))
119
119
  };
120
120
  this.collapsibleState = TreeItemCollapsibleState.Collapsed;
121
121
  this.excludedSnippets = ( new ResourceSet());
@@ -145,7 +145,7 @@ let SnippetsResourceTreeItem = class SnippetsResourceTreeItem {
145
145
  },
146
146
  accessibilityInformation: {
147
147
  label: ( localize(
148
- 22426,
148
+ 22546,
149
149
  "Select Snippet {0}",
150
150
  this.uriIdentityService.extUri.basename(resource)
151
151
  ))
@@ -76,7 +76,7 @@ let TasksResourceTreeItem = class TasksResourceTreeItem {
76
76
  this.type = ProfileResourceType.Tasks;
77
77
  this.handle = ProfileResourceType.Tasks;
78
78
  this.label = {
79
- label: ( localize(22427, "Tasks"))
79
+ label: ( localize(22547, "Tasks"))
80
80
  };
81
81
  this.collapsibleState = TreeItemCollapsibleState.Expanded;
82
82
  }
@@ -104,7 +104,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
104
104
  cancellable: true
105
105
  }, async progress => {
106
106
  const reportProgress = message => progress.report({
107
- message: ( localize(22428, "Create Profile: {0}", message))
107
+ message: ( localize(22548, "Create Profile: {0}", message))
108
108
  });
109
109
  creationPromise = createCancelablePromise(async token => {
110
110
  const userDataProfilesExportState = disposables.add(
@@ -129,7 +129,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
129
129
  try {
130
130
  await creationPromise;
131
131
  if (profile && (options?.resourceTypeFlags?.extensions ?? true)) {
132
- reportProgress(( localize(22429, "Installing Extensions...")));
132
+ reportProgress(( localize(22549, "Installing Extensions...")));
133
133
  await this.instantiationService.createInstance(ExtensionsResource).copy(from, profile, false);
134
134
  }
135
135
  } catch (error) {
@@ -153,7 +153,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
153
153
  cancellable: true
154
154
  }, async progress => {
155
155
  const reportProgress = message => progress.report({
156
- message: ( localize(22428, "Create Profile: {0}", message))
156
+ message: ( localize(22548, "Create Profile: {0}", message))
157
157
  });
158
158
  creationPromise = createCancelablePromise(async token => {
159
159
  profile = await this.getProfileToImport({
@@ -181,42 +181,42 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
181
181
  }
182
182
  async applyProfileTemplate(profileTemplate, profile, options, reportProgress, token) {
183
183
  if (profileTemplate.settings && (options.resourceTypeFlags?.settings ?? true) && !profile.useDefaultFlags?.settings) {
184
- reportProgress(( localize(22430, "Creating Settings...")));
184
+ reportProgress(( localize(22550, "Creating Settings...")));
185
185
  await this.instantiationService.createInstance(SettingsResource).apply(profileTemplate.settings, profile);
186
186
  }
187
187
  if (token.isCancellationRequested) {
188
188
  return;
189
189
  }
190
190
  if (profileTemplate.keybindings && (options.resourceTypeFlags?.keybindings ?? true) && !profile.useDefaultFlags?.keybindings) {
191
- reportProgress(( localize(22431, "Creating Keyboard Shortcuts...")));
191
+ reportProgress(( localize(22551, "Creating Keyboard Shortcuts...")));
192
192
  await this.instantiationService.createInstance(KeybindingsResource).apply(profileTemplate.keybindings, profile);
193
193
  }
194
194
  if (token.isCancellationRequested) {
195
195
  return;
196
196
  }
197
197
  if (profileTemplate.tasks && (options.resourceTypeFlags?.tasks ?? true) && !profile.useDefaultFlags?.tasks) {
198
- reportProgress(( localize(22432, "Creating Tasks...")));
198
+ reportProgress(( localize(22552, "Creating Tasks...")));
199
199
  await this.instantiationService.createInstance(TasksResource).apply(profileTemplate.tasks, profile);
200
200
  }
201
201
  if (token.isCancellationRequested) {
202
202
  return;
203
203
  }
204
204
  if (profileTemplate.snippets && (options.resourceTypeFlags?.snippets ?? true) && !profile.useDefaultFlags?.snippets) {
205
- reportProgress(( localize(22433, "Creating Snippets...")));
205
+ reportProgress(( localize(22553, "Creating Snippets...")));
206
206
  await this.instantiationService.createInstance(SnippetsResource).apply(profileTemplate.snippets, profile);
207
207
  }
208
208
  if (token.isCancellationRequested) {
209
209
  return;
210
210
  }
211
211
  if (profileTemplate.globalState && !profile.useDefaultFlags?.globalState) {
212
- reportProgress(( localize(22434, "Applying UI State...")));
212
+ reportProgress(( localize(22554, "Applying UI State...")));
213
213
  await this.instantiationService.createInstance(GlobalStateResource).apply(profileTemplate.globalState, profile);
214
214
  }
215
215
  if (token.isCancellationRequested) {
216
216
  return;
217
217
  }
218
218
  if (profileTemplate.extensions && (options.resourceTypeFlags?.extensions ?? true) && !profile.useDefaultFlags?.extensions) {
219
- reportProgress(( localize(22429, "Installing Extensions...")));
219
+ reportProgress(( localize(22549, "Installing Extensions...")));
220
220
  await this.instantiationService.createInstance(ExtensionsResource).apply(profileTemplate.extensions, profile, reportProgress, token);
221
221
  }
222
222
  }
@@ -238,22 +238,22 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
238
238
  undefined
239
239
  );
240
240
  try {
241
- const profileTemplate = await userDataProfilesExportState.getProfileTemplate(( localize(22435, "Troubleshoot Issue")), undefined);
241
+ const profileTemplate = await userDataProfilesExportState.getProfileTemplate(( localize(22555, "Troubleshoot Issue")), undefined);
242
242
  await this.progressService.withProgress({
243
243
  location: ProgressLocation.Notification,
244
244
  delay: 1000,
245
245
  sticky: true
246
246
  }, async progress => {
247
247
  const reportProgress = message => progress.report({
248
- message: ( localize(22436, "Setting up Troubleshoot Profile: {0}", message))
248
+ message: ( localize(22556, "Setting up Troubleshoot Profile: {0}", message))
249
249
  });
250
250
  const profile = await this.doCreateProfile(profileTemplate, true, false, {
251
251
  useDefaultFlags: this.userDataProfileService.currentProfile.useDefaultFlags
252
252
  }, reportProgress);
253
253
  if (profile) {
254
- reportProgress(( localize(22437, "Applying Extensions...")));
254
+ reportProgress(( localize(22557, "Applying Extensions...")));
255
255
  await this.instantiationService.createInstance(ExtensionsResource).copy(this.userDataProfileService.currentProfile, profile, true);
256
- reportProgress(( localize(22438, "Switching Profile...")));
256
+ reportProgress(( localize(22558, "Switching Profile...")));
257
257
  await this.userDataProfileManagementService.switchProfile(profile);
258
258
  }
259
259
  });
@@ -270,7 +270,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
270
270
  try {
271
271
  await this.progressService.withProgress({
272
272
  location,
273
- title: ( localize(22439, "{0}: Exporting...", PROFILES_CATEGORY.value))
273
+ title: ( localize(22559, "{0}: Exporting...", PROFILES_CATEGORY.value))
274
274
  }, async progress => {
275
275
  const id = await this.pickProfileContentHandler(profile.name);
276
276
  if (!id) {
@@ -288,24 +288,24 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
288
288
  if (!saveResult) {
289
289
  return;
290
290
  }
291
- const message = ( localize(22440, "Profile '{0}' was exported successfully.", profile.name));
291
+ const message = ( localize(22560, "Profile '{0}' was exported successfully.", profile.name));
292
292
  if (profileContentHandler.extensionId) {
293
293
  const buttons = [];
294
294
  const link = this.productService.webUrl ? `${this.productService.webUrl}/${PROFILE_URL_AUTHORITY}/${id}/${saveResult.id}` : ( toUserDataProfileUri(`/${id}/${saveResult.id}`, this.productService).toString());
295
295
  buttons.push({
296
- label: ( localize(22441, "&&Copy Link")),
296
+ label: ( localize(22561, "&&Copy Link")),
297
297
  run: () => this.clipboardService.writeText(link)
298
298
  });
299
299
  if (this.productService.webUrl) {
300
300
  buttons.push({
301
- label: ( localize(22442, "&&Open Link")),
301
+ label: ( localize(22562, "&&Open Link")),
302
302
  run: async () => {
303
303
  await this.openerService.open(link);
304
304
  }
305
305
  });
306
306
  } else {
307
307
  buttons.push({
308
- label: ( localize(22443, "&&Open in {0}", profileContentHandler.name)),
308
+ label: ( localize(22563, "&&Open in {0}", profileContentHandler.name)),
309
309
  run: async () => {
310
310
  await this.openerService.open(( saveResult.link.toString()));
311
311
  }
@@ -315,7 +315,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
315
315
  type: Severity.Info,
316
316
  message,
317
317
  buttons,
318
- cancelButton: ( localize(22444, "Close"))
318
+ cancelButton: ( localize(22564, "Close"))
319
319
  });
320
320
  } else {
321
321
  await this.dialogService.info(message);
@@ -334,7 +334,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
334
334
  try {
335
335
  profileTemplate = JSON.parse(profileContent);
336
336
  } catch (error) {
337
- throw ( new Error(( localize(22445, "This profile is not valid."))));
337
+ throw ( new Error(( localize(22565, "This profile is not valid."))));
338
338
  }
339
339
  if (!isUserDataProfileTemplate(profileTemplate)) {
340
340
  return null;
@@ -371,27 +371,27 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
371
371
  return undefined;
372
372
  }
373
373
  if (profileTemplate.settings && !profile.useDefaultFlags?.settings) {
374
- progress(( localize(22446, "Applying Settings...")));
374
+ progress(( localize(22566, "Applying Settings...")));
375
375
  await this.instantiationService.createInstance(SettingsResource).apply(profileTemplate.settings, profile);
376
376
  }
377
377
  if (profileTemplate.keybindings && !profile.useDefaultFlags?.keybindings) {
378
- progress(( localize(22447, "Applying Keyboard Shortcuts...")));
378
+ progress(( localize(22567, "Applying Keyboard Shortcuts...")));
379
379
  await this.instantiationService.createInstance(KeybindingsResource).apply(profileTemplate.keybindings, profile);
380
380
  }
381
381
  if (profileTemplate.tasks && !profile.useDefaultFlags?.tasks) {
382
- progress(( localize(22448, "Applying Tasks...")));
382
+ progress(( localize(22568, "Applying Tasks...")));
383
383
  await this.instantiationService.createInstance(TasksResource).apply(profileTemplate.tasks, profile);
384
384
  }
385
385
  if (profileTemplate.snippets && !profile.useDefaultFlags?.snippets) {
386
- progress(( localize(22449, "Applying Snippets...")));
386
+ progress(( localize(22569, "Applying Snippets...")));
387
387
  await this.instantiationService.createInstance(SnippetsResource).apply(profileTemplate.snippets, profile);
388
388
  }
389
389
  if (profileTemplate.globalState && !profile.useDefaultFlags?.globalState) {
390
- progress(( localize(22450, "Applying State...")));
390
+ progress(( localize(22570, "Applying State...")));
391
391
  await this.instantiationService.createInstance(GlobalStateResource).apply(profileTemplate.globalState, profile);
392
392
  }
393
393
  if (profileTemplate.extensions && extensions && !profile.useDefaultFlags?.extensions) {
394
- progress(( localize(22437, "Applying Extensions...")));
394
+ progress(( localize(22557, "Applying Extensions...")));
395
395
  await this.instantiationService.createInstance(ExtensionsResource).apply(profileTemplate.extensions, profile);
396
396
  }
397
397
  return profile;
@@ -448,7 +448,7 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
448
448
  });
449
449
  }
450
450
  const result = await this.quickInputService.pick(options.reverse(), {
451
- title: ( localize(22451, "Export '{0}' profile as...", name)),
451
+ title: ( localize(22571, "Export '{0}' profile as...", name)),
452
452
  hideInput: true
453
453
  });
454
454
  return result?.id;
@@ -468,11 +468,11 @@ let UserDataProfileImportExportService = class UserDataProfileImportExportServic
468
468
  } = await this.dialogService.confirm({
469
469
  type: Severity.Info,
470
470
  message: ( localize(
471
- 22452,
471
+ 22572,
472
472
  "Profile with name '{0}' already exists. Do you want to replace its contents?",
473
473
  profileName
474
474
  )),
475
- primaryButton: ( localize(22453, "&&Replace"))
475
+ primaryButton: ( localize(22573, "&&Replace"))
476
476
  });
477
477
  if (!confirmed) {
478
478
  return undefined;
@@ -510,12 +510,12 @@ let FileUserDataProfileContentHandler = class FileUserDataProfileContentHandler
510
510
  this.fileService = fileService;
511
511
  this.productService = productService;
512
512
  this.textFileService = textFileService;
513
- this.name = ( localize(22454, "Local"));
514
- this.description = ( localize(22455, "file"));
513
+ this.name = ( localize(22574, "Local"));
514
+ this.description = ( localize(22575, "file"));
515
515
  }
516
516
  async saveProfile(name, content, token) {
517
517
  const link = await this.fileDialogService.showSaveDialog({
518
- title: ( localize(22456, "Save Profile")),
518
+ title: ( localize(22576, "Save Profile")),
519
519
  filters: PROFILE_FILTER,
520
520
  defaultUri: this.uriIdentityService.extUri.joinPath(
521
521
  await this.fileDialogService.defaultFilePath(),
@@ -552,7 +552,7 @@ let FileUserDataProfileContentHandler = class FileUserDataProfileContentHandler
552
552
  canSelectFiles: true,
553
553
  canSelectMany: false,
554
554
  filters: PROFILE_FILTER,
555
- title: ( localize(22457, "Select Profile"))
555
+ title: ( localize(22577, "Select Profile"))
556
556
  });
557
557
  return profileLocation ? profileLocation[0] : null;
558
558
  }
@@ -593,13 +593,13 @@ let UserDataProfileImportExportState = class UserDataProfileImportExportState ex
593
593
  const labelText = isMarkdownString(root.label.label) ? root.label.label.value : root.label.label;
594
594
  root.checkbox = {
595
595
  isChecked: !root.isFromDefaultProfile(),
596
- tooltip: ( localize(22458, "Select {0}", labelText)),
596
+ tooltip: ( localize(22578, "Select {0}", labelText)),
597
597
  accessibilityInformation: {
598
- label: ( localize(22458, "Select {0}", labelText))
598
+ label: ( localize(22578, "Select {0}", labelText))
599
599
  }
600
600
  };
601
601
  if (root.isFromDefaultProfile()) {
602
- root.description = ( localize(22459, "From Default Profile"));
602
+ root.description = ( localize(22579, "From Default Profile"));
603
603
  }
604
604
  }
605
605
  return this.roots;
@@ -781,11 +781,11 @@ let UserDataProfileExportState = class UserDataProfileExportState extends UserDa
781
781
  let name = this.profile.name;
782
782
  if (this.profile.isDefault) {
783
783
  name = await this.quickInputService.input({
784
- placeHolder: ( localize(22460, "Name the profile")),
785
- title: ( localize(22461, "Export Profile")),
784
+ placeHolder: ( localize(22580, "Name the profile")),
785
+ title: ( localize(22581, "Export Profile")),
786
786
  async validateInput(input) {
787
787
  if (!input.trim()) {
788
- return localize(22462, "Profile name must be provided.");
788
+ return localize(22582, "Profile name must be provided.");
789
789
  }
790
790
  return undefined;
791
791
  }
@@ -58,7 +58,7 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
58
58
  const profileToUse = this.getProfileToUseForCurrentWorkspace();
59
59
  this.switchProfile(profileToUse);
60
60
  this.changeCurrentProfile(profileToUse, ( localize(
61
- 22463,
61
+ 22583,
62
62
  "The current profile has been removed. Please reload to switch back to default profile"
63
63
  )));
64
64
  return;
@@ -69,12 +69,12 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
69
69
  if (profileToUse?.id !== updatedCurrentProfile.id) {
70
70
  this.switchProfile(profileToUse);
71
71
  this.changeCurrentProfile(profileToUse, ( localize(
72
- 22464,
72
+ 22584,
73
73
  "The current workspace has been removed from the current profile. Please reload to switch back to the updated profile"
74
74
  )));
75
75
  } else {
76
76
  this.changeCurrentProfile(updatedCurrentProfile, ( localize(
77
- 22465,
77
+ 22585,
78
78
  "The current profile has been updated. Please reload to switch back to the updated profile"
79
79
  )));
80
80
  }
@@ -139,7 +139,7 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
139
139
  throw ( new Error(`Profile ${profile.name} does not exist`));
140
140
  }
141
141
  if (profile.isDefault) {
142
- throw ( new Error(( localize(22466, "Cannot rename the default profile"))));
142
+ throw ( new Error(( localize(22586, "Cannot rename the default profile"))));
143
143
  }
144
144
  const updatedProfile = await this.userDataProfilesService.updateProfile(profile, updateOptions);
145
145
  return updatedProfile;
@@ -149,7 +149,7 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
149
149
  throw ( new Error(`Profile ${profile.name} does not exist`));
150
150
  }
151
151
  if (profile.isDefault) {
152
- throw ( new Error(( localize(22467, "Cannot delete the default profile"))));
152
+ throw ( new Error(( localize(22587, "Cannot delete the default profile"))));
153
153
  }
154
154
  await this.userDataProfilesService.removeProfile(profile);
155
155
  }
@@ -197,7 +197,7 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
197
197
  );
198
198
  if (shouldRestartExtensionHosts) {
199
199
  if (!isRemoteWindow) {
200
- if (!(await this.extensionService.stopExtensionHosts(( localize(22468, "Switching to a profile"))))) {
200
+ if (!(await this.extensionService.stopExtensionHosts(( localize(22588, "Switching to a profile"))))) {
201
201
  if (( this.userDataProfilesService.profiles.some(p => p.id === this.userDataProfileService.currentProfile.id))) {
202
202
  await this.userDataProfilesService.setProfileForWorkspace(
203
203
  toWorkspaceIdentifier(this.workspaceContextService.getWorkspace()),
@@ -214,8 +214,8 @@ let UserDataProfileManagementService = class UserDataProfileManagementService ex
214
214
  const {
215
215
  confirmed
216
216
  } = await this.dialogService.confirm({
217
- message: reloadMessage ?? ( localize(22469, "Switching a profile requires reloading VS Code.")),
218
- primaryButton: ( localize(22470, "&&Reload"))
217
+ message: reloadMessage ?? ( localize(22589, "Switching a profile requires reloading VS Code.")),
218
+ primaryButton: ( localize(22590, "&&Reload"))
219
219
  });
220
220
  if (confirmed) {
221
221
  await this.hostService.reload();