@codingame/monaco-vscode-user-data-profile-service-override 23.0.3 → 23.0.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.
@@ -75,9 +75,9 @@ import { Orientation } from '@codingame/monaco-vscode-api/vscode/vs/base/browser
75
75
 
76
76
  var UserDataProfilesEditor_1, ExistingProfileResourceTreeRenderer_1, NewProfileResourceTreeRenderer_1, ProfileResourceChildTreeItemRenderer_1, WorkspaceUriHostColumnRenderer_1, WorkspaceUriPathColumnRenderer_1, WorkspaceUriActionsColumnRenderer_1, UserDataProfilesEditorInput_1;
77
77
  registerCss(userDataProfilesEditor);
78
- const editIcon = registerIcon('profiles-editor-edit-folder', Codicon.edit, ( localize(12736, 'Icon for the edit folder icon in the profiles editor.')));
79
- const removeIcon = registerIcon('profiles-editor-remove-folder', Codicon.close, ( localize(12737, 'Icon for the remove folder icon in the profiles editor.')));
80
- const profilesSashBorder = registerColor('profiles.sashBorder', PANEL_BORDER, ( localize(12738, "The color of the Profiles editor splitview sash border.")));
78
+ const editIcon = registerIcon('profiles-editor-edit-folder', Codicon.edit, ( localize(12739, 'Icon for the edit folder icon in the profiles editor.')));
79
+ const removeIcon = registerIcon('profiles-editor-remove-folder', Codicon.close, ( localize(12740, 'Icon for the remove folder icon in the profiles editor.')));
80
+ const profilesSashBorder = registerColor('profiles.sashBorder', PANEL_BORDER, ( localize(12741, "The color of the Profiles editor splitview sash border.")));
81
81
  const listStyles = getListStyles({
82
82
  listActiveSelectionBackground: editorBackground,
83
83
  listActiveSelectionForeground: foreground,
@@ -173,7 +173,7 @@ let UserDataProfilesEditor = class UserDataProfilesEditor extends EditorPane {
173
173
  return profileElement?.name ?? '';
174
174
  },
175
175
  getWidgetAriaLabel() {
176
- return localize(12739, "Profiles");
176
+ return localize(12742, "Profiles");
177
177
  }
178
178
  },
179
179
  openOnSingleClick: true,
@@ -194,12 +194,12 @@ let UserDataProfilesEditor = class UserDataProfilesEditor extends EditorPane {
194
194
  getActions: () => {
195
195
  const actions = [];
196
196
  if (this.templates.length) {
197
- actions.push(( new SubmenuAction('from.template', ( localize(12740, "From Template")), this.getCreateFromTemplateActions())));
197
+ actions.push(( new SubmenuAction('from.template', ( localize(12743, "From Template")), this.getCreateFromTemplateActions())));
198
198
  actions.push(( new Separator()));
199
199
  }
200
200
  actions.push(toAction({
201
201
  id: 'importProfile',
202
- label: ( localize(12741, "Import Profile...")),
202
+ label: ( localize(12744, "Import Profile...")),
203
203
  run: () => this.importProfile()
204
204
  }));
205
205
  return actions;
@@ -210,7 +210,7 @@ let UserDataProfilesEditor = class UserDataProfilesEditor extends EditorPane {
210
210
  supportIcons: true,
211
211
  ...defaultButtonStyles
212
212
  })));
213
- button.label = ( localize(12742, "New Profile"));
213
+ button.label = ( localize(12745, "New Profile"));
214
214
  this._register(button.onDidClick(e => this.createNewProfile()));
215
215
  }
216
216
  getCreateFromTemplateActions() {
@@ -255,17 +255,17 @@ let UserDataProfilesEditor = class UserDataProfilesEditor extends EditorPane {
255
255
  const actions = [];
256
256
  actions.push(toAction({
257
257
  id: 'newProfile',
258
- label: ( localize(12742, "New Profile")),
258
+ label: ( localize(12745, "New Profile")),
259
259
  run: () => this.createNewProfile()
260
260
  }));
261
261
  const templateActions = this.getCreateFromTemplateActions();
262
262
  if (templateActions.length) {
263
- actions.push(( new SubmenuAction('from.template', ( localize(12743, "New Profile From Template")), templateActions)));
263
+ actions.push(( new SubmenuAction('from.template', ( localize(12746, "New Profile From Template")), templateActions)));
264
264
  }
265
265
  actions.push(( new Separator()));
266
266
  actions.push(toAction({
267
267
  id: 'importProfile',
268
- label: ( localize(12741, "Import Profile...")),
268
+ label: ( localize(12744, "Import Profile...")),
269
269
  run: () => this.importProfile()
270
270
  }));
271
271
  return actions;
@@ -276,13 +276,13 @@ let UserDataProfilesEditor = class UserDataProfilesEditor extends EditorPane {
276
276
  const updateQuickPickItems = (value) => {
277
277
  const quickPickItems = [];
278
278
  if (value) {
279
- quickPickItems.push({ label: quickPick.value, description: ( localize(12744, "Import from URL")) });
279
+ quickPickItems.push({ label: quickPick.value, description: ( localize(12747, "Import from URL")) });
280
280
  }
281
- quickPickItems.push({ label: ( localize(12745, "Select File...")) });
281
+ quickPickItems.push({ label: ( localize(12748, "Select File...")) });
282
282
  quickPick.items = quickPickItems;
283
283
  };
284
- quickPick.title = ( localize(12746, "Import from Profile Template..."));
285
- quickPick.placeholder = ( localize(12747, "Provide Profile Template URL"));
284
+ quickPick.title = ( localize(12749, "Import from Profile Template..."));
285
+ quickPick.placeholder = ( localize(12750, "Provide Profile Template URL"));
286
286
  quickPick.ignoreFocusOut = true;
287
287
  disposables.add(quickPick.onDidChangeValue(updateQuickPickItems));
288
288
  updateQuickPickItems();
@@ -317,7 +317,7 @@ let UserDataProfilesEditor = class UserDataProfilesEditor extends EditorPane {
317
317
  canSelectFiles: true,
318
318
  canSelectMany: false,
319
319
  filters: PROFILE_FILTER,
320
- title: ( localize(12748, "Select Profile Template File")),
320
+ title: ( localize(12751, "Select Profile Template File")),
321
321
  });
322
322
  if (!profileLocation) {
323
323
  return null;
@@ -394,7 +394,7 @@ let ProfileElementRenderer = class ProfileElementRenderer {
394
394
  const label = append(container, $('.profile-list-item-label'));
395
395
  const dirty = append(container, $(`span${ThemeIcon.asCSSSelector(Codicon.circleFilled)}`));
396
396
  const description = append(container, $('.profile-list-item-description'));
397
- append(description, $(`span${ThemeIcon.asCSSSelector(Codicon.check)}`), $('span', undefined, ( localize(12749, "Active"))));
397
+ append(description, $(`span${ThemeIcon.asCSSSelector(Codicon.check)}`), $('span', undefined, ( localize(12752, "Active"))));
398
398
  const actionsContainer = append(container, $('.profile-tree-item-actions-container'));
399
399
  const actionBar = disposables.add(this.instantiationService.createInstance(WorkbenchToolBar, actionsContainer, {
400
400
  hoverDelegate: disposables.add(createInstantHoverDelegate()),
@@ -734,17 +734,17 @@ class AbstractProfileResourceTreeRenderer extends Disposable {
734
734
  getResourceTypeTitle(resourceType) {
735
735
  switch (resourceType) {
736
736
  case ProfileResourceType.Settings:
737
- return localize(12750, "Settings");
737
+ return localize(12753, "Settings");
738
738
  case ProfileResourceType.Keybindings:
739
- return localize(12751, "Keyboard Shortcuts");
739
+ return localize(12754, "Keyboard Shortcuts");
740
740
  case ProfileResourceType.Snippets:
741
- return localize(12752, "Snippets");
741
+ return localize(12755, "Snippets");
742
742
  case ProfileResourceType.Tasks:
743
- return localize(12753, "Tasks");
743
+ return localize(12756, "Tasks");
744
744
  case ProfileResourceType.Mcp:
745
- return localize(12754, "MCP Servers");
745
+ return localize(12757, "MCP Servers");
746
746
  case ProfileResourceType.Extensions:
747
- return localize(12755, "Extensions");
747
+ return localize(12758, "Extensions");
748
748
  }
749
749
  return '';
750
750
  }
@@ -773,18 +773,18 @@ let ProfileNameRenderer = class ProfileNameRenderer extends ProfilePropertyRende
773
773
  const elementDisposables = disposables.add(( new DisposableStore()));
774
774
  let profileElement;
775
775
  const nameContainer = append(parent, $('.profile-row-container'));
776
- append(nameContainer, $('.profile-label-element', undefined, ( localize(12756, "Name"))));
776
+ append(nameContainer, $('.profile-label-element', undefined, ( localize(12759, "Name"))));
777
777
  const nameInput = disposables.add(( new InputBox(nameContainer, this.contextViewService, {
778
778
  inputBoxStyles: getInputBoxStyle({
779
779
  inputBorder: settingsTextInputBorder
780
780
  }),
781
- ariaLabel: ( localize(12757, "Profile Name")),
782
- placeholder: ( localize(12757, "Profile Name")),
781
+ ariaLabel: ( localize(12760, "Profile Name")),
782
+ placeholder: ( localize(12760, "Profile Name")),
783
783
  validationOptions: {
784
784
  validation: (value) => {
785
785
  if (!value) {
786
786
  return {
787
- content: ( localize(12758, "Profile name is required and must be a non-empty value.")),
787
+ content: ( localize(12761, "Profile name is required and must be a non-empty value.")),
788
788
  type: MessageType.WARNING
789
789
  };
790
790
  }
@@ -798,7 +798,7 @@ let ProfileNameRenderer = class ProfileNameRenderer extends ProfilePropertyRende
798
798
  value = value.trim();
799
799
  if (initialName !== value && ( this.userDataProfilesService.profiles.some(p => !p.isTransient && p.name === value))) {
800
800
  return {
801
- content: ( localize(12759, "Profile with name {0} already exists.", value)),
801
+ content: ( localize(12762, "Profile with name {0} already exists.", value)),
802
802
  type: MessageType.WARNING
803
803
  };
804
804
  }
@@ -828,10 +828,10 @@ let ProfileNameRenderer = class ProfileNameRenderer extends ProfilePropertyRende
828
828
  nameInput.enable();
829
829
  }
830
830
  if (isDefaultProfile) {
831
- nameInput.setTooltip(( localize(12760, "Name cannot be changed for the default profile")));
831
+ nameInput.setTooltip(( localize(12763, "Name cannot be changed for the default profile")));
832
832
  }
833
833
  else {
834
- nameInput.setTooltip(( localize(12757, "Profile Name")));
834
+ nameInput.setTooltip(( localize(12760, "Profile Name")));
835
835
  }
836
836
  };
837
837
  return {
@@ -869,9 +869,9 @@ let ProfileIconRenderer = class ProfileIconRenderer extends ProfilePropertyRende
869
869
  const elementDisposables = disposables.add(( new DisposableStore()));
870
870
  let profileElement;
871
871
  const iconContainer = append(parent, $('.profile-row-container'));
872
- append(iconContainer, $('.profile-label-element', undefined, ( localize(12761, "Icon"))));
872
+ append(iconContainer, $('.profile-label-element', undefined, ( localize(12764, "Icon"))));
873
873
  const iconValueContainer = append(iconContainer, $('.profile-icon-container'));
874
- const iconElement = append(iconValueContainer, $(`${ThemeIcon.asCSSSelector(DEFAULT_ICON)}`, { 'tabindex': '0', 'role': 'button', 'aria-label': ( localize(12762, "Profile Icon")) }));
874
+ const iconElement = append(iconValueContainer, $(`${ThemeIcon.asCSSSelector(DEFAULT_ICON)}`, { 'tabindex': '0', 'role': 'button', 'aria-label': ( localize(12765, "Profile Icon")) }));
875
875
  const iconHover = disposables.add(this.hoverService.setupManagedHover(this.hoverDelegate, iconElement, ''));
876
876
  const iconSelectBox = disposables.add(this.instantiationService.createInstance(WorkbenchIconSelectBox, { icons: ICONS, inputBoxStyles: defaultInputBoxStyles }));
877
877
  let hoverWidget;
@@ -930,14 +930,14 @@ let ProfileIconRenderer = class ProfileIconRenderer extends ProfilePropertyRende
930
930
  profileElement.root.icon = selectedIcon.id;
931
931
  }
932
932
  }));
933
- append(iconValueContainer, $('.profile-description-element', undefined, ( localize(12763, "Profile icon to be shown in the activity bar"))));
933
+ append(iconValueContainer, $('.profile-description-element', undefined, ( localize(12766, "Profile icon to be shown in the activity bar"))));
934
934
  const renderIcon = (profileElement) => {
935
935
  if (profileElement?.root instanceof UserDataProfileElement && profileElement.root.profile.isDefault) {
936
936
  iconValueContainer.classList.add('disabled');
937
- iconHover.update(( localize(12764, "Icon cannot be changed for the default profile")));
937
+ iconHover.update(( localize(12767, "Icon cannot be changed for the default profile")));
938
938
  }
939
939
  else {
940
- iconHover.update(( localize(12765, "Click to change icon")));
940
+ iconHover.update(( localize(12768, "Click to change icon")));
941
941
  iconValueContainer.classList.remove('disabled');
942
942
  }
943
943
  if (profileElement.root.icon) {
@@ -977,9 +977,9 @@ let UseForCurrentWindowPropertyRenderer = class UseForCurrentWindowPropertyRende
977
977
  const elementDisposables = disposables.add(( new DisposableStore()));
978
978
  let profileElement;
979
979
  const useForCurrentWindowContainer = append(parent, $('.profile-row-container'));
980
- append(useForCurrentWindowContainer, $('.profile-label-element', undefined, ( localize(12766, "Use for Current Window"))));
980
+ append(useForCurrentWindowContainer, $('.profile-label-element', undefined, ( localize(12769, "Use for Current Window"))));
981
981
  const useForCurrentWindowValueContainer = append(useForCurrentWindowContainer, $('.profile-use-for-current-container'));
982
- const useForCurrentWindowTitle = ( localize(12767, "Use this profile for the current window"));
982
+ const useForCurrentWindowTitle = ( localize(12770, "Use this profile for the current window"));
983
983
  const useForCurrentWindowCheckbox = disposables.add(( new Checkbox(useForCurrentWindowTitle, false, defaultCheckboxStyles)));
984
984
  append(useForCurrentWindowValueContainer, useForCurrentWindowCheckbox.domNode);
985
985
  const useForCurrentWindowLabel = append(useForCurrentWindowValueContainer, $('.profile-description-element', undefined, useForCurrentWindowTitle));
@@ -1029,9 +1029,9 @@ class UseAsDefaultProfileRenderer extends ProfilePropertyRenderer {
1029
1029
  const elementDisposables = disposables.add(( new DisposableStore()));
1030
1030
  let profileElement;
1031
1031
  const useAsDefaultProfileContainer = append(parent, $('.profile-row-container'));
1032
- append(useAsDefaultProfileContainer, $('.profile-label-element', undefined, ( localize(12768, "Use for New Windows"))));
1032
+ append(useAsDefaultProfileContainer, $('.profile-label-element', undefined, ( localize(12771, "Use for New Windows"))));
1033
1033
  const useAsDefaultProfileValueContainer = append(useAsDefaultProfileContainer, $('.profile-use-as-default-container'));
1034
- const useAsDefaultProfileTitle = ( localize(12769, "Use this profile as the default for new windows"));
1034
+ const useAsDefaultProfileTitle = ( localize(12772, "Use this profile as the default for new windows"));
1035
1035
  const useAsDefaultProfileCheckbox = disposables.add(( new Checkbox(useAsDefaultProfileTitle, false, defaultCheckboxStyles)));
1036
1036
  append(useAsDefaultProfileValueContainer, useAsDefaultProfileCheckbox.domNode);
1037
1037
  const useAsDefaultProfileLabel = append(useAsDefaultProfileValueContainer, $('.profile-description-element', undefined, useAsDefaultProfileTitle));
@@ -1078,11 +1078,11 @@ let CopyFromProfileRenderer = class CopyFromProfileRenderer extends ProfilePrope
1078
1078
  const elementDisposables = disposables.add(( new DisposableStore()));
1079
1079
  let profileElement;
1080
1080
  const copyFromContainer = append(parent, $('.profile-row-container.profile-copy-from-container'));
1081
- append(copyFromContainer, $('.profile-label-element', undefined, ( localize(12770, "Copy from"))));
1082
- append(copyFromContainer, $('.profile-description-element', undefined, ( localize(12771, "Select the profile source from which you want to copy contents"))));
1081
+ append(copyFromContainer, $('.profile-label-element', undefined, ( localize(12773, "Copy from"))));
1082
+ append(copyFromContainer, $('.profile-description-element', undefined, ( localize(12774, "Select the profile source from which you want to copy contents"))));
1083
1083
  const copyFromSelectBox = disposables.add(this.instantiationService.createInstance(SelectBox, [], 0, this.contextViewService, defaultSelectBoxStyles, {
1084
1084
  useCustomDrawn: true,
1085
- ariaLabel: ( localize(12772, "Copy profile from")),
1085
+ ariaLabel: ( localize(12775, "Copy profile from")),
1086
1086
  }));
1087
1087
  copyFromSelectBox.render(append(copyFromContainer, $('.profile-select-container')));
1088
1088
  const render = (profileElement, copyFromOptions) => {
@@ -1126,19 +1126,19 @@ let CopyFromProfileRenderer = class CopyFromProfileRenderer extends ProfilePrope
1126
1126
  getCopyFromOptions(profileElement) {
1127
1127
  const separator = { text: '\u2500\u2500\u2500\u2500\u2500\u2500', isDisabled: true };
1128
1128
  const copyFromOptions = [];
1129
- copyFromOptions.push({ text: ( localize(12773, "None")) });
1129
+ copyFromOptions.push({ text: ( localize(12776, "None")) });
1130
1130
  for (const [copyFromTemplate, name] of profileElement.copyFromTemplates) {
1131
1131
  if (!( this.templates.some(template => this.uriIdentityService.extUri.isEqual(( URI.parse(template.url)), copyFromTemplate)))) {
1132
1132
  copyFromOptions.push({ text: `${name} (${basename(copyFromTemplate)})`, id: ( copyFromTemplate.toString()), source: copyFromTemplate });
1133
1133
  }
1134
1134
  }
1135
1135
  if (this.templates.length) {
1136
- copyFromOptions.push({ ...separator, decoratorRight: ( localize(12774, "Profile Templates")) });
1136
+ copyFromOptions.push({ ...separator, decoratorRight: ( localize(12777, "Profile Templates")) });
1137
1137
  for (const template of this.templates) {
1138
1138
  copyFromOptions.push({ text: template.name, id: template.url, source: ( URI.parse(template.url)) });
1139
1139
  }
1140
1140
  }
1141
- copyFromOptions.push({ ...separator, decoratorRight: ( localize(12775, "Existing Profiles")) });
1141
+ copyFromOptions.push({ ...separator, decoratorRight: ( localize(12778, "Existing Profiles")) });
1142
1142
  for (const profile of this.userDataProfilesService.profiles) {
1143
1143
  if (!profile.isTransient) {
1144
1144
  copyFromOptions.push({ text: profile.name, id: profile.id, source: profile });
@@ -1170,11 +1170,11 @@ let ContentsProfileRenderer = class ContentsProfileRenderer extends ProfilePrope
1170
1170
  const elementDisposables = disposables.add(( new DisposableStore()));
1171
1171
  let profileElement;
1172
1172
  const configureRowContainer = append(parent, $('.profile-row-container'));
1173
- append(configureRowContainer, $('.profile-label-element', undefined, ( localize(12776, "Contents"))));
1173
+ append(configureRowContainer, $('.profile-label-element', undefined, ( localize(12779, "Contents"))));
1174
1174
  const contentsDescriptionElement = append(configureRowContainer, $('.profile-description-element'));
1175
1175
  const contentsTreeHeader = append(configureRowContainer, $('.profile-content-tree-header'));
1176
- const optionsLabel = $('.options-header', undefined, $('span', undefined, ( localize(12777, "Source"))));
1177
- append(contentsTreeHeader, $(''), $('', undefined, ( localize(12776, "Contents"))), optionsLabel, $(''));
1176
+ const optionsLabel = $('.options-header', undefined, $('span', undefined, ( localize(12780, "Source"))));
1177
+ append(contentsTreeHeader, $(''), $('', undefined, ( localize(12779, "Contents"))), optionsLabel, $(''));
1178
1178
  const delegate = ( new ProfileContentTreeElementDelegate());
1179
1179
  const profilesContentTree = this.profilesContentTree = disposables.add(this.instantiationService.createInstance((WorkbenchAsyncDataTree), 'ProfileEditor-ContentsTree', append(configureRowContainer, $('.profile-content-tree.file-icon-themable-tree.show-file-icons')), delegate, [
1180
1180
  this.instantiationService.createInstance(ExistingProfileResourceTreeRenderer),
@@ -1246,27 +1246,27 @@ let ContentsProfileRenderer = class ContentsProfileRenderer extends ProfilePrope
1246
1246
  clearNode(contentsDescriptionElement);
1247
1247
  const markdown = ( new MarkdownString());
1248
1248
  if (element.root instanceof UserDataProfileElement && element.root.profile.isDefault) {
1249
- markdown.appendMarkdown(( localize(12778, "Browse contents of this profile\n")));
1249
+ markdown.appendMarkdown(( localize(12781, "Browse contents of this profile\n")));
1250
1250
  }
1251
1251
  else {
1252
- markdown.appendMarkdown(( localize(12779, "Configure source of contents for this profile\n")));
1252
+ markdown.appendMarkdown(( localize(12782, "Configure source of contents for this profile\n")));
1253
1253
  if (element.root instanceof NewProfileElement) {
1254
1254
  const copyFromName = element.root.getCopyFromName();
1255
1255
  const optionName = copyFromName === this.userDataProfilesService.defaultProfile.name
1256
- ? ( localize(12780, "{0} (Copy)", copyFromName))
1256
+ ? ( localize(12783, "{0} (Copy)", copyFromName))
1257
1257
  : copyFromName;
1258
1258
  if (optionName) {
1259
1259
  markdown
1260
1260
  .appendMarkdown(( localize(
1261
- 12781,
1261
+ 12784,
1262
1262
  "- *{0}:* Copy contents from the {1} profile\n",
1263
1263
  optionName,
1264
1264
  copyFromName
1265
1265
  )));
1266
1266
  }
1267
1267
  markdown
1268
- .appendMarkdown(( localize(12782, "- *Default:* Use contents from the Default profile\n")))
1269
- .appendMarkdown(( localize(12783, "- *None:* Create empty contents\n")));
1268
+ .appendMarkdown(( localize(12785, "- *Default:* Use contents from the Default profile\n")))
1269
+ .appendMarkdown(( localize(12786, "- *None:* Create empty contents\n")));
1270
1270
  }
1271
1271
  }
1272
1272
  append(contentsDescriptionElement, elementDisposables.add(renderMarkdown(markdown)).element);
@@ -1327,7 +1327,7 @@ let ProfileWorkspacesRenderer = class ProfileWorkspacesRenderer extends ProfileP
1327
1327
  const elementDisposables = disposables.add(( new DisposableStore()));
1328
1328
  let profileElement;
1329
1329
  const profileWorkspacesRowContainer = append(parent, $('.profile-row-container'));
1330
- append(profileWorkspacesRowContainer, $('.profile-label-element', undefined, ( localize(12784, "Folders & Workspaces"))));
1330
+ append(profileWorkspacesRowContainer, $('.profile-label-element', undefined, ( localize(12787, "Folders & Workspaces"))));
1331
1331
  const profileWorkspacesDescriptionElement = append(profileWorkspacesRowContainer, $('.profile-description-element'));
1332
1332
  const workspacesTableContainer = append(profileWorkspacesRowContainer, $('.profile-associations-table'));
1333
1333
  const table = this.workspacesTable = disposables.add(this.instantiationService.createInstance((WorkbenchTable), 'ProfileEditor-AssociationsTable', workspacesTableContainer, new class {
@@ -1346,14 +1346,14 @@ let ProfileWorkspacesRenderer = class ProfileWorkspacesRenderer extends ProfileP
1346
1346
  project(row) { return row; },
1347
1347
  },
1348
1348
  {
1349
- label: ( localize(12785, "Host")),
1349
+ label: ( localize(12788, "Host")),
1350
1350
  tooltip: '',
1351
1351
  weight: 2,
1352
1352
  templateId: WorkspaceUriHostColumnRenderer.TEMPLATE_ID,
1353
1353
  project(row) { return row; },
1354
1354
  },
1355
1355
  {
1356
- label: ( localize(12786, "Path")),
1356
+ label: ( localize(12789, "Path")),
1357
1357
  tooltip: '',
1358
1358
  weight: 7,
1359
1359
  templateId: WorkspaceUriPathColumnRenderer.TEMPLATE_ID,
@@ -1382,16 +1382,16 @@ let ProfileWorkspacesRenderer = class ProfileWorkspacesRenderer extends ProfileP
1382
1382
  getAriaLabel: (item) => {
1383
1383
  const hostLabel = getHostLabel(this.labelService, item.workspace);
1384
1384
  if (hostLabel === undefined || hostLabel.length === 0) {
1385
- return localize(12787, "{0}, trusted", this.labelService.getUriLabel(item.workspace));
1385
+ return localize(12790, "{0}, trusted", this.labelService.getUriLabel(item.workspace));
1386
1386
  }
1387
1387
  return localize(
1388
- 12788,
1388
+ 12791,
1389
1389
  "{0} on {1}, trusted",
1390
1390
  this.labelService.getUriLabel(item.workspace),
1391
1391
  hostLabel
1392
1392
  );
1393
1393
  },
1394
- getWidgetAriaLabel: () => ( localize(12789, "Trusted Folders & Workspaces"))
1394
+ getWidgetAriaLabel: () => ( localize(12792, "Trusted Folders & Workspaces"))
1395
1395
  },
1396
1396
  identityProvider: {
1397
1397
  getId(element) {
@@ -1408,15 +1408,15 @@ let ProfileWorkspacesRenderer = class ProfileWorkspacesRenderer extends ProfileP
1408
1408
  })));
1409
1409
  const addButtonBarElement = append(profileWorkspacesRowContainer, $('.profile-workspaces-button-container'));
1410
1410
  const buttonBar = disposables.add(( new ButtonBar(addButtonBarElement)));
1411
- const addButton = this._register(buttonBar.addButton({ title: ( localize(12790, "Add Folder")), ...defaultButtonStyles }));
1412
- addButton.label = ( localize(12790, "Add Folder"));
1411
+ const addButton = this._register(buttonBar.addButton({ title: ( localize(12793, "Add Folder")), ...defaultButtonStyles }));
1412
+ addButton.label = ( localize(12793, "Add Folder"));
1413
1413
  disposables.add(addButton.onDidClick(async () => {
1414
1414
  const uris = await this.fileDialogService.showOpenDialog({
1415
1415
  canSelectFiles: false,
1416
1416
  canSelectFolders: true,
1417
1417
  canSelectMany: true,
1418
- openLabel: ( localize(12791, "Add Folder")),
1419
- title: ( localize(12792, "Select Folders To Add"))
1418
+ openLabel: ( localize(12794, "Add Folder")),
1419
+ title: ( localize(12795, "Select Folders To Add"))
1420
1420
  });
1421
1421
  if (uris) {
1422
1422
  if (profileElement?.root instanceof UserDataProfileElement) {
@@ -1431,7 +1431,7 @@ let ProfileWorkspacesRenderer = class ProfileWorkspacesRenderer extends ProfileP
1431
1431
  }));
1432
1432
  const updateTable = () => {
1433
1433
  if (profileElement?.root instanceof UserDataProfileElement && profileElement.root.workspaces?.length) {
1434
- profileWorkspacesDescriptionElement.textContent = ( localize(12793, "Following folders and workspaces are using this profile"));
1434
+ profileWorkspacesDescriptionElement.textContent = ( localize(12796, "Following folders and workspaces are using this profile"));
1435
1435
  workspacesTableContainer.classList.remove('hide');
1436
1436
  table.splice(0, table.length, ( profileElement.root.workspaces
1437
1437
  .map(workspace => ({ workspace, profileElement: profileElement.root })))
@@ -1439,7 +1439,7 @@ let ProfileWorkspacesRenderer = class ProfileWorkspacesRenderer extends ProfileP
1439
1439
  this.layout();
1440
1440
  }
1441
1441
  else {
1442
- profileWorkspacesDescriptionElement.textContent = ( localize(12794, "No folders or workspaces are using this profile"));
1442
+ profileWorkspacesDescriptionElement.textContent = ( localize(12797, "No folders or workspaces are using this profile"));
1443
1443
  workspacesTableContainer.classList.add('hide');
1444
1444
  }
1445
1445
  };
@@ -1513,13 +1513,13 @@ let ExistingProfileResourceTreeRenderer = class ExistingProfileResourceTreeRende
1513
1513
  }
1514
1514
  const updateRadioItems = () => {
1515
1515
  templateData.radio.setItems([{
1516
- text: ( localize(12795, "Default")),
1517
- tooltip: ( localize(12796, "Use {0} from the Default profile", resourceTypeTitle)),
1516
+ text: ( localize(12798, "Default")),
1517
+ tooltip: ( localize(12799, "Use {0} from the Default profile", resourceTypeTitle)),
1518
1518
  isActive: root.getFlag(element.resourceType)
1519
1519
  },
1520
1520
  {
1521
1521
  text: root.name,
1522
- tooltip: ( localize(12797, "Use {0} from the {1} profile", resourceTypeTitle, root.name)),
1522
+ tooltip: ( localize(12800, "Use {0} from the {1} profile", resourceTypeTitle, root.name)),
1523
1523
  isActive: !root.getFlag(element.resourceType)
1524
1524
  }]);
1525
1525
  };
@@ -1587,22 +1587,22 @@ let NewProfileResourceTreeRenderer = class NewProfileResourceTreeRenderer extend
1587
1587
  templateData.label.textContent = resourceTypeTitle;
1588
1588
  const renderRadioItems = () => {
1589
1589
  const options = [{
1590
- text: ( localize(12795, "Default")),
1591
- tooltip: ( localize(12796, "Use {0} from the Default profile", resourceTypeTitle)),
1590
+ text: ( localize(12798, "Default")),
1591
+ tooltip: ( localize(12799, "Use {0} from the Default profile", resourceTypeTitle)),
1592
1592
  },
1593
1593
  {
1594
- text: ( localize(12798, "None")),
1595
- tooltip: ( localize(12799, "Create empty {0}", resourceTypeTitle))
1594
+ text: ( localize(12801, "None")),
1595
+ tooltip: ( localize(12802, "Create empty {0}", resourceTypeTitle))
1596
1596
  }];
1597
1597
  const copyFromName = root.getCopyFromName();
1598
1598
  const name = copyFromName === this.userDataProfilesService.defaultProfile.name
1599
- ? ( localize(12780, "{0} (Copy)", copyFromName))
1599
+ ? ( localize(12783, "{0} (Copy)", copyFromName))
1600
1600
  : copyFromName;
1601
1601
  if (root.copyFrom && name) {
1602
1602
  templateData.radio.setItems([
1603
1603
  {
1604
1604
  text: name,
1605
- tooltip: name ? ( localize(12800, "Copy {0} from the {1} profile", resourceTypeTitle, name)) : ( localize(12801, "Copy")),
1605
+ tooltip: name ? ( localize(12803, "Copy {0} from the {1} profile", resourceTypeTitle, name)) : ( localize(12804, "Copy")),
1606
1606
  },
1607
1607
  ...options
1608
1608
  ]);
@@ -1823,7 +1823,7 @@ let ChangeProfileAction = class ChangeProfileAction {
1823
1823
  this.label = 'Change Profile';
1824
1824
  this.class = ThemeIcon.asClassName(editIcon);
1825
1825
  this.enabled = true;
1826
- this.tooltip = ( localize(12802, "Change Profile"));
1826
+ this.tooltip = ( localize(12805, "Change Profile"));
1827
1827
  this.checked = false;
1828
1828
  }
1829
1829
  run() { }
@@ -1897,7 +1897,7 @@ let WorkspaceUriActionsColumnRenderer = class WorkspaceUriActionsColumnRenderer
1897
1897
  class: ThemeIcon.asClassName(Codicon.window),
1898
1898
  enabled: !this.uriIdentityService.extUri.isEqual(item.workspace, item.profileElement.getCurrentWorkspace()),
1899
1899
  id: 'openWorkspace',
1900
- tooltip: ( localize(12803, "Open in New Window")),
1900
+ tooltip: ( localize(12806, "Open in New Window")),
1901
1901
  run: () => item.profileElement.openWorkspace(item.workspace)
1902
1902
  };
1903
1903
  }
@@ -1907,7 +1907,7 @@ let WorkspaceUriActionsColumnRenderer = class WorkspaceUriActionsColumnRenderer
1907
1907
  class: ThemeIcon.asClassName(removeIcon),
1908
1908
  enabled: this.userDataProfileManagementService.getDefaultProfileToUse().id !== item.profileElement.profile.id,
1909
1909
  id: 'deleteTrustedUri',
1910
- tooltip: ( localize(12804, "Delete Path")),
1910
+ tooltip: ( localize(12807, "Delete Path")),
1911
1911
  run: () => item.profileElement.updateWorkspaces([], [item.workspace])
1912
1912
  };
1913
1913
  }
@@ -1922,7 +1922,7 @@ WorkspaceUriActionsColumnRenderer = WorkspaceUriActionsColumnRenderer_1 = ( __de
1922
1922
  ( __param(3, IUriIdentityService))
1923
1923
  ], WorkspaceUriActionsColumnRenderer));
1924
1924
  function getHostLabel(labelService, workspaceUri) {
1925
- return workspaceUri.authority ? labelService.getHostLabel(workspaceUri.scheme, workspaceUri.authority) : ( localize(12805, "Local"));
1925
+ return workspaceUri.authority ? labelService.getHostLabel(workspaceUri.scheme, workspaceUri.authority) : ( localize(12808, "Local"));
1926
1926
  }
1927
1927
  let UserDataProfilesEditorInput = class UserDataProfilesEditorInput extends EditorInput {
1928
1928
  static { UserDataProfilesEditorInput_1 = this; }
@@ -1943,7 +1943,7 @@ let UserDataProfilesEditorInput = class UserDataProfilesEditorInput extends Edit
1943
1943
  this._register(this.model.onDidChange(e => this.dirty = ( this.model.profiles.some(profile => profile instanceof NewProfileElement))));
1944
1944
  }
1945
1945
  get typeId() { return UserDataProfilesEditorInput_1.ID; }
1946
- getName() { return localize(12806, "Profiles"); }
1946
+ getName() { return localize(12809, "Profiles"); }
1947
1947
  getIcon() { return defaultUserDataProfileIcon; }
1948
1948
  async resolve() {
1949
1949
  await this.model.resolve();
@@ -169,15 +169,15 @@ let AbstractUserDataProfileElement = class AbstractUserDataProfileElement extend
169
169
  }
170
170
  validate() {
171
171
  if (!this.name) {
172
- this.message = ( localize(12807, "Profile name is required and must be a non-empty value."));
172
+ this.message = ( localize(12810, "Profile name is required and must be a non-empty value."));
173
173
  return;
174
174
  }
175
175
  if (this.shouldValidateName() && this.name !== this.getInitialName() && ( this.userDataProfilesService.profiles.some(p => p.name === this.name))) {
176
- this.message = ( localize(12808, "Profile with name {0} already exists.", this.name));
176
+ this.message = ( localize(12811, "Profile with name {0} already exists.", this.name));
177
177
  return;
178
178
  }
179
179
  if (this.flags && this.flags.settings && this.flags.keybindings && this.flags.tasks && this.flags.snippets && this.flags.extensions) {
180
- this.message = ( localize(12809, "The profile should contain at least one configuration."));
180
+ this.message = ( localize(12812, "The profile should contain at least one configuration."));
181
181
  return;
182
182
  }
183
183
  this.message = undefined;
@@ -204,7 +204,7 @@ let AbstractUserDataProfileElement = class AbstractUserDataProfileElement extend
204
204
  openAction: children.length
205
205
  ? toAction({
206
206
  id: '_open',
207
- label: ( localize(12810, "Open to the Side")),
207
+ label: ( localize(12813, "Open to the Side")),
208
208
  class: ThemeIcon.asClassName(Codicon.goToFile),
209
209
  run: () => children[0]?.openAction?.run()
210
210
  })
@@ -252,7 +252,7 @@ let AbstractUserDataProfileElement = class AbstractUserDataProfileElement extend
252
252
  icon: child.themeIcon,
253
253
  openAction: toAction({
254
254
  id: '_openChild',
255
- label: ( localize(12810, "Open to the Side")),
255
+ label: ( localize(12813, "Open to the Side")),
256
256
  class: ThemeIcon.asClassName(Codicon.goToFile),
257
257
  run: async () => {
258
258
  if (child.parent.type === ProfileResourceType.Extensions) {
@@ -417,7 +417,7 @@ let UserDataProfileElement = class UserDataProfileElement extends AbstractUserDa
417
417
  const children = await this.instantiationService.createInstance(ExtensionsResourceExportTreeItem, this.profile).getChildren();
418
418
  return (children.map(child => this.toUserDataProfileResourceChildElement(child, undefined, [{
419
419
  id: 'applyToAllProfiles',
420
- label: ( localize(12811, "Apply Extension to all Profiles")),
420
+ label: ( localize(12814, "Apply Extension to all Profiles")),
421
421
  checked: child.applicationScoped,
422
422
  enabled: true,
423
423
  class: '',
@@ -550,7 +550,7 @@ let NewProfileElement = class NewProfileElement extends AbstractUserDataProfileE
550
550
  }
551
551
  if (isUserDataProfile(this.copyFrom)) {
552
552
  if (this.defaultName === this.name) {
553
- this.name = this.defaultName = ( localize(12812, "{0} (Copy)", this.copyFrom.name));
553
+ this.name = this.defaultName = ( localize(12815, "{0} (Copy)", this.copyFrom.name));
554
554
  }
555
555
  if (this.defaultIcon === this.icon) {
556
556
  this.icon = this.defaultIcon = this.copyFrom.icon;
@@ -583,7 +583,7 @@ let NewProfileElement = class NewProfileElement extends AbstractUserDataProfileE
583
583
  }
584
584
  }
585
585
  getNewProfileName() {
586
- const name = ( localize(12813, "Untitled"));
586
+ const name = ( localize(12816, "Untitled"));
587
587
  const nameRegEx = ( new RegExp(`${name}\\s(\\d+)`));
588
588
  let nameIndex = 0;
589
589
  for (const profile of this.userDataProfilesService.profiles) {
@@ -815,11 +815,11 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
815
815
  }
816
816
  createProfileElement(profile) {
817
817
  const disposables = ( new DisposableStore());
818
- const activateAction = disposables.add(( new Action('userDataProfile.activate', ( localize(12814, "Use this Profile for Current Window")), ThemeIcon.asClassName(Codicon.check), true, () => this.userDataProfileManagementService.switchProfile(profileElement.profile))));
819
- const copyFromProfileAction = disposables.add(( new Action('userDataProfile.copyFromProfile', ( localize(12815, "Duplicate...")), ThemeIcon.asClassName(Codicon.copy), true, () => this.createNewProfile(profileElement.profile))));
820
- const exportAction = disposables.add(( new Action('userDataProfile.export', ( localize(12816, "Export...")), ThemeIcon.asClassName(Codicon.export), true, () => this.userDataProfileImportExportService.exportProfile(profile))));
821
- const deleteAction = disposables.add(( new Action('userDataProfile.delete', ( localize(12817, "Delete")), ThemeIcon.asClassName(Codicon.trash), true, () => this.removeProfile(profileElement.profile))));
822
- const newWindowAction = disposables.add(( new Action('userDataProfile.newWindow', ( localize(12818, "Open New Window with this Profile")), ThemeIcon.asClassName(Codicon.emptyWindow), true, () => this.openWindow(profileElement.profile))));
818
+ const activateAction = disposables.add(( new Action('userDataProfile.activate', ( localize(12817, "Use this Profile for Current Window")), ThemeIcon.asClassName(Codicon.check), true, () => this.userDataProfileManagementService.switchProfile(profileElement.profile))));
819
+ const copyFromProfileAction = disposables.add(( new Action('userDataProfile.copyFromProfile', ( localize(12818, "Duplicate...")), ThemeIcon.asClassName(Codicon.copy), true, () => this.createNewProfile(profileElement.profile))));
820
+ const exportAction = disposables.add(( new Action('userDataProfile.export', ( localize(12819, "Export...")), ThemeIcon.asClassName(Codicon.export), true, () => this.userDataProfileImportExportService.exportProfile(profile))));
821
+ const deleteAction = disposables.add(( new Action('userDataProfile.delete', ( localize(12820, "Delete")), ThemeIcon.asClassName(Codicon.trash), true, () => this.removeProfile(profileElement.profile))));
822
+ const newWindowAction = disposables.add(( new Action('userDataProfile.newWindow', ( localize(12821, "Open New Window with this Profile")), ThemeIcon.asClassName(Codicon.emptyWindow), true, () => this.openWindow(profileElement.profile))));
823
823
  const primaryActions = [];
824
824
  primaryActions.push(activateAction);
825
825
  primaryActions.push(newWindowAction);
@@ -840,11 +840,11 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
840
840
  const result = await this.dialogService.confirm({
841
841
  type: 'info',
842
842
  message: ( localize(
843
- 12819,
843
+ 12822,
844
844
  "A new profile is already being created. Do you want to discard it and create a new one?"
845
845
  )),
846
- primaryButton: ( localize(12820, "Discard & Create")),
847
- cancelButton: ( localize(12821, "Cancel"))
846
+ primaryButton: ( localize(12823, "Discard & Create")),
847
+ cancelButton: ( localize(12824, "Cancel"))
848
848
  });
849
849
  if (!result.confirmed) {
850
850
  return;
@@ -866,24 +866,24 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
866
866
  disposables.add(toDisposable(() => cancellationTokenSource.dispose(true)));
867
867
  const primaryActions = [];
868
868
  const secondaryActions = [];
869
- const createAction = disposables.add(( new Action('userDataProfile.create', ( localize(12822, "Create")), undefined, true, () => this.saveNewProfile(false, cancellationTokenSource.token))));
869
+ const createAction = disposables.add(( new Action('userDataProfile.create', ( localize(12825, "Create")), undefined, true, () => this.saveNewProfile(false, cancellationTokenSource.token))));
870
870
  primaryActions.push(createAction);
871
871
  if (isWeb && copyFrom instanceof URI && isProfileURL(copyFrom)) {
872
- primaryActions.push(disposables.add(( new Action('userDataProfile.createInDesktop', ( localize(12823, "Create in {0}", this.productService.nameLong)), undefined, true, () => this.openerService.open(copyFrom, { openExternal: true })))));
872
+ primaryActions.push(disposables.add(( new Action('userDataProfile.createInDesktop', ( localize(12826, "Create in {0}", this.productService.nameLong)), undefined, true, () => this.openerService.open(copyFrom, { openExternal: true })))));
873
873
  }
874
- const cancelAction = disposables.add(( new Action('userDataProfile.cancel', ( localize(12821, "Cancel")), ThemeIcon.asClassName(Codicon.trash), true, () => this.discardNewProfile())));
874
+ const cancelAction = disposables.add(( new Action('userDataProfile.cancel', ( localize(12824, "Cancel")), ThemeIcon.asClassName(Codicon.trash), true, () => this.discardNewProfile())));
875
875
  secondaryActions.push(cancelAction);
876
- const previewProfileAction = disposables.add(( new Action('userDataProfile.preview', ( localize(12824, "Preview")), ThemeIcon.asClassName(Codicon.openPreview), true, () => this.previewNewProfile(cancellationTokenSource.token))));
876
+ const previewProfileAction = disposables.add(( new Action('userDataProfile.preview', ( localize(12827, "Preview")), ThemeIcon.asClassName(Codicon.openPreview), true, () => this.previewNewProfile(cancellationTokenSource.token))));
877
877
  secondaryActions.push(previewProfileAction);
878
- const exportAction = disposables.add(( new Action('userDataProfile.export', ( localize(12816, "Export...")), ThemeIcon.asClassName(Codicon.export), isUserDataProfile(copyFrom), () => this.exportNewProfile(cancellationTokenSource.token))));
878
+ const exportAction = disposables.add(( new Action('userDataProfile.export', ( localize(12819, "Export...")), ThemeIcon.asClassName(Codicon.export), isUserDataProfile(copyFrom), () => this.exportNewProfile(cancellationTokenSource.token))));
879
879
  this.newProfileElement = disposables.add(this.instantiationService.createInstance(NewProfileElement, copyFrom, [primaryActions, secondaryActions], [[cancelAction], [exportAction]]));
880
880
  const updateCreateActionLabel = () => {
881
881
  if (createAction.enabled) {
882
882
  if (this.newProfileElement?.copyFrom && ( this.userDataProfilesService.profiles.some(p => !p.isTransient && p.name === this.newProfileElement?.name))) {
883
- createAction.label = ( localize(12825, "Replace"));
883
+ createAction.label = ( localize(12828, "Replace"));
884
884
  }
885
885
  else {
886
- createAction.label = ( localize(12822, "Create"));
886
+ createAction.label = ( localize(12825, "Create"));
887
887
  }
888
888
  }
889
889
  };
@@ -1038,9 +1038,9 @@ let UserDataProfilesEditorModel = class UserDataProfilesEditorModel extends Edit
1038
1038
  async removeProfile(profile) {
1039
1039
  const result = await this.dialogService.confirm({
1040
1040
  type: 'info',
1041
- message: ( localize(12826, "Are you sure you want to delete the profile '{0}'?", profile.name)),
1042
- primaryButton: ( localize(12817, "Delete")),
1043
- cancelButton: ( localize(12821, "Cancel"))
1041
+ message: ( localize(12829, "Are you sure you want to delete the profile '{0}'?", profile.name)),
1042
+ primaryButton: ( localize(12820, "Delete")),
1043
+ cancelButton: ( localize(12824, "Cancel"))
1044
1044
  });
1045
1045
  if (result.confirmed) {
1046
1046
  await this.userDataProfileManagementService.removeProfile(profile);