@codingame/monaco-vscode-workspace-trust-service-override 37.3.3 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-workspace-trust-service-override",
3
- "version": "37.3.3",
3
+ "version": "37.3.4",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - workspace-trust service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "37.3.3"
18
+ "@codingame/monaco-vscode-api": "37.3.4"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -64,13 +64,13 @@ function getSessionsWindowTrustNote(environmentService, productService, isWorksp
64
64
  }
65
65
  if (isWorkspace) {
66
66
  return localize(
67
- 21270,
67
+ 21389,
68
68
  "Trusting this workspace will also mark it as trusted in {0}.",
69
69
  productService.nameLong
70
70
  );
71
71
  }
72
72
  return localize(
73
- 21271,
73
+ 21390,
74
74
  "Trusting this folder will also mark it as trusted in {0}.",
75
75
  productService.nameLong
76
76
  );
@@ -127,29 +127,29 @@ let WorkspaceTrustRequestHandler = class WorkspaceTrustRequestHandler extends Di
127
127
  await this.workspaceTrustManagementService.workspaceResolved;
128
128
  const markdownDetails = [
129
129
  this.workspaceContextService.getWorkbenchState() !== WorkbenchState.EMPTY ? ( localize(
130
- 21272,
130
+ 21391,
131
131
  "You are trying to open untrusted files in a workspace which is trusted."
132
132
  )) : ( localize(
133
- 21273,
133
+ 21392,
134
134
  "You are trying to open untrusted files in a window which is trusted."
135
135
  )),
136
136
  ( localize(
137
- 21274,
137
+ 21393,
138
138
  "If you don't want to open untrusted files, we recommend to open them in Restricted Mode in a new window as the files may be malicious. See [our docs](https://aka.ms/vscode-workspace-trust) to learn more."
139
139
  ))
140
140
  ];
141
141
  await this.dialogService.prompt({
142
142
  type: Severity.Info,
143
- message: this.workspaceContextService.getWorkbenchState() !== WorkbenchState.EMPTY ? ( localize(21275, "Do you want to allow untrusted files in this workspace?")) : ( localize(21276, "Do you want to allow untrusted files in this window?")),
143
+ message: this.workspaceContextService.getWorkbenchState() !== WorkbenchState.EMPTY ? ( localize(21394, "Do you want to allow untrusted files in this workspace?")) : ( localize(21395, "Do you want to allow untrusted files in this window?")),
144
144
  buttons: [{
145
- label: ( localize(21277, "&&Open")),
145
+ label: ( localize(21396, "&&Open")),
146
146
  run: (
147
147
  {
148
148
  checkboxChecked
149
149
  }
150
150
  ) => this.workspaceTrustRequestService.completeOpenFilesTrustRequest(WorkspaceTrustUriResponse.Open, !!checkboxChecked)
151
151
  }, {
152
- label: ( localize(21278, "Open in &&Restricted Mode")),
152
+ label: ( localize(21397, "Open in &&Restricted Mode")),
153
153
  run: (
154
154
  {
155
155
  checkboxChecked
@@ -160,7 +160,7 @@ let WorkspaceTrustRequestHandler = class WorkspaceTrustRequestHandler extends Di
160
160
  run: () => this.workspaceTrustRequestService.completeOpenFilesTrustRequest(WorkspaceTrustUriResponse.Cancel)
161
161
  },
162
162
  checkbox: {
163
- label: ( localize(21279, "Remember my decision for all workspaces")),
163
+ label: ( localize(21398, "Remember my decision for all workspaces")),
164
164
  checked: false
165
165
  },
166
166
  custom: {
@@ -178,10 +178,10 @@ let WorkspaceTrustRequestHandler = class WorkspaceTrustRequestHandler extends Di
178
178
  this.workspaceTrustRequestService.onDidInitiateResourcesTrustRequest(async options => {
179
179
  await this.workspaceTrustManagementService.workspaceResolved;
180
180
  const markdownDetails = [options?.message ?? ( localize(
181
- 21280,
181
+ 21399,
182
182
  "You are trying to open an untrusted folder. Do you trust the authors of this content?"
183
183
  )), ( localize(
184
- 21281,
184
+ 21400,
185
185
  "If you don't trust the authors of these files, we recommend not continuing as the files may be malicious. See [our docs](https://aka.ms/vscode-workspace-trust) to learn more."
186
186
  )), `\`${this.labelService.getUriLabel(options.uri)}\``];
187
187
  const sessionsTrustNote = getSessionsWindowTrustNote(this.environmentService, this.productService, false);
@@ -190,9 +190,9 @@ let WorkspaceTrustRequestHandler = class WorkspaceTrustRequestHandler extends Di
190
190
  }
191
191
  await this.dialogService.prompt({
192
192
  type: Severity.Info,
193
- message: ( localize(21282, "Do you trust the authors of the files in this folder?")),
193
+ message: ( localize(21401, "Do you trust the authors of the files in this folder?")),
194
194
  buttons: [{
195
- label: ( localize(21283, "&&Trust Folder & Continue")),
195
+ label: ( localize(21402, "&&Trust Folder & Continue")),
196
196
  run: () => this.workspaceTrustRequestService.completeResourcesTrustRequest(options.uri, WorkspaceTrustUriResponse.Open)
197
197
  }],
198
198
  cancelButton: {
@@ -212,22 +212,22 @@ let WorkspaceTrustRequestHandler = class WorkspaceTrustRequestHandler extends Di
212
212
  this._register(
213
213
  this.workspaceTrustRequestService.onDidInitiateWorkspaceTrustRequest(async requestOptions => {
214
214
  await this.workspaceTrustManagementService.workspaceResolved;
215
- const message = this.useWorkspaceLanguage ? ( localize(21284, "Do you trust the authors of the files in this workspace?")) : ( localize(21285, "Do you trust the authors of the files in this folder?"));
215
+ const message = this.useWorkspaceLanguage ? ( localize(21403, "Do you trust the authors of the files in this workspace?")) : ( localize(21404, "Do you trust the authors of the files in this folder?"));
216
216
  const defaultDetails = ( localize(
217
- 21286,
217
+ 21405,
218
218
  "A feature you are trying to use may be a security risk if you do not trust the source of the files or folders you currently have open."
219
219
  ));
220
220
  const details = requestOptions?.message ?? defaultDetails;
221
221
  const buttons = requestOptions?.buttons ?? [{
222
- label: this.useWorkspaceLanguage ? ( localize(21287, "&&Trust Workspace & Continue")) : ( localize(21288, "&&Trust Folder & Continue")),
222
+ label: this.useWorkspaceLanguage ? ( localize(21406, "&&Trust Workspace & Continue")) : ( localize(21407, "&&Trust Folder & Continue")),
223
223
  type: "ContinueWithTrust"
224
224
  }, {
225
- label: ( localize(21289, "&&Manage")),
225
+ label: ( localize(21408, "&&Manage")),
226
226
  type: "Manage"
227
227
  }];
228
228
  if (!( buttons.some(b => b.type === "Cancel"))) {
229
229
  buttons.push({
230
- label: ( localize(21290, "Cancel")),
230
+ label: ( localize(21409, "Cancel")),
231
231
  type: "Cancel"
232
232
  });
233
233
  }
@@ -235,7 +235,7 @@ let WorkspaceTrustRequestHandler = class WorkspaceTrustRequestHandler extends Di
235
235
  markdown: ( new MarkdownString(details))
236
236
  }, {
237
237
  markdown: ( new MarkdownString(( localize(
238
- 21291,
238
+ 21410,
239
239
  "If you don't trust the authors of these files, we do not recommend continuing as the files may be malicious. See [our docs](https://aka.ms/vscode-workspace-trust) to learn more."
240
240
  ))))
241
241
  }];
@@ -361,7 +361,7 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
361
361
  );
362
362
  if (!addedFoldersTrustInfo.map(info => info.trusted).every(trusted => trusted)) {
363
363
  let detail = ( localize(
364
- 21292,
364
+ 21411,
365
365
  "You are adding files that are not currently trusted to a trusted workspace. Do you trust the authors of these new files?"
366
366
  ));
367
367
  const sessionsTrustNote = getSessionsWindowTrustNote(this.environmentService, this.productService, false);
@@ -372,9 +372,9 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
372
372
  confirmed
373
373
  } = await this.dialogService.confirm({
374
374
  type: Severity.Info,
375
- message: ( localize(21293, "Do you trust the authors of the files in this folder?")),
375
+ message: ( localize(21412, "Do you trust the authors of the files in this folder?")),
376
376
  detail,
377
- cancelButton: ( localize(21294, "No")),
377
+ cancelButton: ( localize(21413, "No")),
378
378
  custom: {
379
379
  icon: Codicon.shield
380
380
  }
@@ -403,25 +403,25 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
403
403
  } else {
404
404
  console.warn("AI generated workspace trust dialog contents not available.");
405
405
  }
406
- const title = titleString ?? (this.useWorkspaceLanguage ? ( localize(21284, "Do you trust the authors of the files in this workspace?")) : ( localize(21285, "Do you trust the authors of the files in this folder?")));
406
+ const title = titleString ?? (this.useWorkspaceLanguage ? ( localize(21403, "Do you trust the authors of the files in this workspace?")) : ( localize(21404, "Do you trust the authors of the files in this folder?")));
407
407
  let checkboxText;
408
408
  const workspaceIdentifier = toWorkspaceIdentifier(this.workspaceContextService.getWorkspace());
409
409
  const isSingleFolderWorkspace = isSingleFolderWorkspaceIdentifier(workspaceIdentifier);
410
410
  const isEmptyWindow = isEmptyWorkspaceIdentifier(workspaceIdentifier);
411
411
  if (!isAiGeneratedWorkspace && this.workspaceTrustManagementService.canSetParentFolderTrust()) {
412
412
  const name = basename(dirname(workspaceIdentifier.uri));
413
- checkboxText = ( localize(21295, "Trust the authors of all files in the parent folder '{0}'", name));
413
+ checkboxText = ( localize(21414, "Trust the authors of all files in the parent folder '{0}'", name));
414
414
  }
415
415
  const markdownStrings = [!isSingleFolderWorkspace ? ( localize(
416
- 21296,
416
+ 21415,
417
417
  "{0} provides features that may automatically execute files in this workspace.",
418
418
  this.productService.nameShort
419
419
  )) : ( localize(
420
- 21297,
420
+ 21416,
421
421
  "{0} provides features that may automatically execute files in this folder.",
422
422
  this.productService.nameShort
423
423
  )), learnMoreString ?? ( localize(
424
- 21298,
424
+ 21417,
425
425
  "If you don't trust the authors of these files, we recommend to continue in restricted mode as the files may be malicious. See [our docs](https://aka.ms/vscode-workspace-trust) to learn more."
426
426
  )), !isEmptyWindow ? `\`${this.labelService.getWorkspaceLabel(workspaceIdentifier, {
427
427
  verbose: Verbosity.LONG
@@ -431,11 +431,11 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
431
431
  markdownStrings.push(sessionsTrustNote);
432
432
  }
433
433
  this.doShowModal(title, {
434
- label: trustOption ?? ( localize(21299, "&&Yes, I trust the authors")),
435
- sublabel: isSingleFolderWorkspace ? ( localize(21300, "Trust folder and enable all features")) : ( localize(21301, "Trust workspace and enable all features"))
434
+ label: trustOption ?? ( localize(21418, "&&Yes, I trust the authors")),
435
+ sublabel: isSingleFolderWorkspace ? ( localize(21419, "Trust folder and enable all features")) : ( localize(21420, "Trust workspace and enable all features"))
436
436
  }, {
437
- label: dontTrustOption ?? ( localize(21302, "&&No, I don't trust the authors")),
438
- sublabel: isSingleFolderWorkspace ? ( localize(21303, "Open folder in restricted mode")) : ( localize(21304, "Open workspace in restricted mode"))
437
+ label: dontTrustOption ?? ( localize(21421, "&&No, I don't trust the authors")),
438
+ sublabel: isSingleFolderWorkspace ? ( localize(21422, "Open folder in restricted mode")) : ( localize(21423, "Open workspace in restricted mode"))
439
439
  }, markdownStrings, checkboxText);
440
440
  })
441
441
  );
@@ -558,10 +558,10 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
558
558
  return undefined;
559
559
  }
560
560
  const actions = [{
561
- label: ( localize(21305, "Manage")),
561
+ label: ( localize(21424, "Manage")),
562
562
  href: "command:" + MANAGE_TRUST_COMMAND_ID
563
563
  }, {
564
- label: ( localize(21306, "Learn More")),
564
+ label: ( localize(21425, "Learn More")),
565
565
  href: "https://aka.ms/vscode-workspace-trust"
566
566
  }];
567
567
  return {
@@ -586,17 +586,17 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
586
586
  switch (this.workspaceContextService.getWorkbenchState()) {
587
587
  case WorkbenchState.EMPTY:
588
588
  return localize(
589
- 21307,
589
+ 21426,
590
590
  "Restricted Mode is intended for safe code browsing. Trust this window to enable all features. Use navigation keys to access banner actions."
591
591
  );
592
592
  case WorkbenchState.FOLDER:
593
593
  return localize(
594
- 21308,
594
+ 21427,
595
595
  "Restricted Mode is intended for safe code browsing. Trust this folder to enable all features. Use navigation keys to access banner actions."
596
596
  );
597
597
  case WorkbenchState.WORKSPACE:
598
598
  return localize(
599
- 21309,
599
+ 21428,
600
600
  "Restricted Mode is intended for safe code browsing. Trust this workspace to enable all features. Use navigation keys to access banner actions."
601
601
  );
602
602
  }
@@ -605,17 +605,17 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
605
605
  switch (this.workspaceContextService.getWorkbenchState()) {
606
606
  case WorkbenchState.EMPTY:
607
607
  return localize(
608
- 21310,
608
+ 21429,
609
609
  "Restricted Mode is intended for safe code browsing. Trust this window to enable all features."
610
610
  );
611
611
  case WorkbenchState.FOLDER:
612
612
  return localize(
613
- 21311,
613
+ 21430,
614
614
  "Restricted Mode is intended for safe code browsing. Trust this folder to enable all features."
615
615
  );
616
616
  case WorkbenchState.WORKSPACE:
617
617
  return localize(
618
- 21312,
618
+ 21431,
619
619
  "Restricted Mode is intended for safe code browsing. Trust this workspace to enable all features."
620
620
  );
621
621
  }
@@ -634,12 +634,12 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
634
634
  case WorkbenchState.EMPTY:
635
635
  {
636
636
  ariaLabel = ( localize(
637
- 21313,
637
+ 21432,
638
638
  "Restricted Mode: Some features are disabled because this window is not trusted."
639
639
  ));
640
640
  toolTip = {
641
641
  value: ( localize(
642
- 21314,
642
+ 21433,
643
643
  "Running in Restricted Mode\n\nSome [features are disabled]({0}) because this [window is not trusted]({1}).",
644
644
  `command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`,
645
645
  `command:${MANAGE_TRUST_COMMAND_ID}`
@@ -652,12 +652,12 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
652
652
  case WorkbenchState.FOLDER:
653
653
  {
654
654
  ariaLabel = ( localize(
655
- 21315,
655
+ 21434,
656
656
  "Restricted Mode: Some features are disabled because this folder is not trusted."
657
657
  ));
658
658
  toolTip = {
659
659
  value: ( localize(
660
- 21316,
660
+ 21435,
661
661
  "Running in Restricted Mode\n\nSome [features are disabled]({0}) because this [folder is not trusted]({1}).",
662
662
  `command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`,
663
663
  `command:${MANAGE_TRUST_COMMAND_ID}`
@@ -670,12 +670,12 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
670
670
  case WorkbenchState.WORKSPACE:
671
671
  {
672
672
  ariaLabel = ( localize(
673
- 21317,
673
+ 21436,
674
674
  "Restricted Mode: Some features are disabled because this workspace is not trusted."
675
675
  ));
676
676
  toolTip = {
677
677
  value: ( localize(
678
- 21318,
678
+ 21437,
679
679
  "Running in Restricted Mode\n\nSome [features are disabled]({0}) because this [workspace is not trusted]({1}).",
680
680
  `command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`,
681
681
  `command:${MANAGE_TRUST_COMMAND_ID}`
@@ -687,8 +687,8 @@ let WorkspaceTrustUXHandler = class WorkspaceTrustUXHandler extends Disposable {
687
687
  }
688
688
  }
689
689
  return {
690
- name: ( localize(21319, "Workspace Trust")),
691
- text: `$(shield) ${( localize(21320, "Restricted Mode"))}`,
690
+ name: ( localize(21438, "Workspace Trust")),
691
+ text: `$(shield) ${( localize(21439, "Restricted Mode"))}`,
692
692
  ariaLabel: ariaLabel,
693
693
  tooltip: toolTip,
694
694
  command: MANAGE_TRUST_COMMAND_ID,
@@ -732,16 +732,16 @@ class WorkspaceTrustEditorInputSerializer {
732
732
  }
733
733
  ( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(WorkspaceTrustEditorInput.ID, WorkspaceTrustEditorInputSerializer);
734
734
  ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
735
- EditorPaneDescriptor.create(WorkspaceTrustEditor, WorkspaceTrustEditor.ID, ( localize(21321, "Workspace Trust Editor"))),
735
+ EditorPaneDescriptor.create(WorkspaceTrustEditor, WorkspaceTrustEditor.ID, ( localize(21440, "Workspace Trust Editor"))),
736
736
  [( new SyncDescriptor(WorkspaceTrustEditorInput))]
737
737
  );
738
738
  const CONFIGURE_TRUST_COMMAND_ID = "workbench.trust.configure";
739
- const WORKSPACES_CATEGORY = ( localize2(21322, "Workspaces"));
739
+ const WORKSPACES_CATEGORY = ( localize2(21441, "Workspaces"));
740
740
  registerAction2(class extends Action2 {
741
741
  constructor() {
742
742
  super({
743
743
  id: CONFIGURE_TRUST_COMMAND_ID,
744
- title: ( localize2(21323, "Configure Workspace Trust Settings")),
744
+ title: ( localize2(21442, "Configure Workspace Trust Settings")),
745
745
  precondition: ( ContextKeyExpr.and(WorkspaceTrustContext.IsEnabled, ( ContextKeyExpr.equals(`config.${WORKSPACE_TRUST_ENABLED}`, true)))),
746
746
  category: WORKSPACES_CATEGORY,
747
747
  f1: true
@@ -758,7 +758,7 @@ registerAction2(class extends Action2 {
758
758
  constructor() {
759
759
  super({
760
760
  id: MANAGE_TRUST_COMMAND_ID,
761
- title: ( localize2(21324, "Manage Workspace Trust")),
761
+ title: ( localize2(21443, "Manage Workspace Trust")),
762
762
  precondition: ( ContextKeyExpr.and(WorkspaceTrustContext.IsEnabled, ( ContextKeyExpr.equals(`config.${WORKSPACE_TRUST_ENABLED}`, true)))),
763
763
  category: WORKSPACES_CATEGORY,
764
764
  f1: true
@@ -781,7 +781,7 @@ registerAction2(class extends Action2 {
781
781
  type: "boolean",
782
782
  default: true,
783
783
  description: ( localize(
784
- 21325,
784
+ 21444,
785
785
  "Controls whether or not Workspace Trust is enabled within VS Code."
786
786
  )),
787
787
  tags: [WORKSPACE_TRUST_SETTING_TAG],
@@ -790,29 +790,29 @@ registerAction2(class extends Action2 {
790
790
  [WORKSPACE_TRUST_STARTUP_PROMPT]: {
791
791
  type: "string",
792
792
  default: "never",
793
- description: ( localize(21326, "Controls when the startup prompt to trust a workspace is shown.")),
793
+ description: ( localize(21445, "Controls when the startup prompt to trust a workspace is shown.")),
794
794
  tags: [WORKSPACE_TRUST_SETTING_TAG],
795
795
  scope: ConfigurationScope.APPLICATION,
796
796
  enum: ["always", "once", "never"],
797
- enumDescriptions: [( localize(21327, "Ask for trust every time an untrusted workspace is opened.")), ( localize(21328, "Ask for trust the first time an untrusted workspace is opened.")), ( localize(21329, "Do not ask for trust when an untrusted workspace is opened."))]
797
+ enumDescriptions: [( localize(21446, "Ask for trust every time an untrusted workspace is opened.")), ( localize(21447, "Ask for trust the first time an untrusted workspace is opened.")), ( localize(21448, "Do not ask for trust when an untrusted workspace is opened."))]
798
798
  },
799
799
  [WORKSPACE_TRUST_BANNER]: {
800
800
  type: "string",
801
801
  default: "untilDismissed",
802
- description: ( localize(21330, "Controls when the restricted mode banner is shown.")),
802
+ description: ( localize(21449, "Controls when the restricted mode banner is shown.")),
803
803
  tags: [WORKSPACE_TRUST_SETTING_TAG],
804
804
  scope: ConfigurationScope.APPLICATION,
805
805
  enum: ["always", "untilDismissed", "never"],
806
- enumDescriptions: [( localize(21331, "Show the banner every time an untrusted workspace is open.")), ( localize(
807
- 21332,
806
+ enumDescriptions: [( localize(21450, "Show the banner every time an untrusted workspace is open.")), ( localize(
807
+ 21451,
808
808
  "Show the banner when an untrusted workspace is opened until dismissed."
809
- )), ( localize(21333, "Do not show the banner when an untrusted workspace is open."))]
809
+ )), ( localize(21452, "Do not show the banner when an untrusted workspace is open."))]
810
810
  },
811
811
  [WORKSPACE_TRUST_UNTRUSTED_FILES]: {
812
812
  type: "string",
813
813
  default: "prompt",
814
814
  markdownDescription: ( localize(
815
- 21334,
815
+ 21453,
816
816
  "Controls how to handle opening untrusted files in a trusted workspace. This setting also applies to opening files in an empty window which is trusted via `#{0}#`.",
817
817
  WORKSPACE_TRUST_EMPTY_WINDOW
818
818
  )),
@@ -820,13 +820,13 @@ registerAction2(class extends Action2 {
820
820
  scope: ConfigurationScope.APPLICATION,
821
821
  enum: ["prompt", "open", "newWindow"],
822
822
  enumDescriptions: [( localize(
823
- 21335,
823
+ 21454,
824
824
  "Ask how to handle untrusted files for each workspace. Once untrusted files are introduced to a trusted workspace, you will not be prompted again."
825
825
  )), ( localize(
826
- 21336,
826
+ 21455,
827
827
  "Always allow untrusted files to be introduced to a trusted workspace without prompting."
828
828
  )), ( localize(
829
- 21337,
829
+ 21456,
830
830
  "Always open untrusted files in a separate window in restricted mode without prompting."
831
831
  ))]
832
832
  },
@@ -834,7 +834,7 @@ registerAction2(class extends Action2 {
834
834
  type: "boolean",
835
835
  default: true,
836
836
  markdownDescription: ( localize(
837
- 21338,
837
+ 21457,
838
838
  "Controls whether or not the empty window is trusted by default within VS Code. When used with `#{0}#`, you can enable the full functionality of VS Code without prompting in an empty window.",
839
839
  WORKSPACE_TRUST_UNTRUSTED_FILES
840
840
  )),
@@ -65,12 +65,12 @@ import { isMacintosh } from '@codingame/monaco-vscode-api/vscode/vs/base/common/
65
65
  import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
66
66
 
67
67
  var TrustedUriActionsColumnRenderer_1, TrustedUriPathColumnRenderer_1, TrustedUriHostColumnRenderer_1, WorkspaceTrustEditor_1;
68
- const shieldIcon = registerIcon("workspace-trust-banner", Codicon.shield, ( localize(21339, "Icon for workspace trust ion the banner.")));
69
- const checkListIcon = registerIcon("workspace-trust-editor-check", Codicon.check, ( localize(21340, "Icon for the checkmark in the workspace trust editor.")));
70
- const xListIcon = registerIcon("workspace-trust-editor-cross", Codicon.x, ( localize(21341, "Icon for the cross in the workspace trust editor.")));
71
- const folderPickerIcon = registerIcon("workspace-trust-editor-folder-picker", Codicon.folder, ( localize(21342, "Icon for the pick folder icon in the workspace trust editor.")));
72
- const editIcon = registerIcon("workspace-trust-editor-edit-folder", Codicon.edit, ( localize(21343, "Icon for the edit folder icon in the workspace trust editor.")));
73
- const removeIcon = registerIcon("workspace-trust-editor-remove-folder", Codicon.close, ( localize(21344, "Icon for the remove folder icon in the workspace trust editor.")));
68
+ const shieldIcon = registerIcon("workspace-trust-banner", Codicon.shield, ( localize(21458, "Icon for workspace trust ion the banner.")));
69
+ const checkListIcon = registerIcon("workspace-trust-editor-check", Codicon.check, ( localize(21459, "Icon for the checkmark in the workspace trust editor.")));
70
+ const xListIcon = registerIcon("workspace-trust-editor-cross", Codicon.x, ( localize(21460, "Icon for the cross in the workspace trust editor.")));
71
+ const folderPickerIcon = registerIcon("workspace-trust-editor-folder-picker", Codicon.folder, ( localize(21461, "Icon for the pick folder icon in the workspace trust editor.")));
72
+ const editIcon = registerIcon("workspace-trust-editor-edit-folder", Codicon.edit, ( localize(21462, "Icon for the edit folder icon in the workspace trust editor.")));
73
+ const removeIcon = registerIcon("workspace-trust-editor-remove-folder", Codicon.close, ( localize(21463, "Icon for the remove folder icon in the workspace trust editor.")));
74
74
  let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposable {
75
75
  constructor(
76
76
  container,
@@ -101,7 +101,7 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
101
101
  const tableElement = container.appendChild($(".trusted-uris-table"));
102
102
  const addButtonBarElement = container.appendChild($(".trusted-uris-button-bar"));
103
103
  this.table = this.instantiationService.createInstance(WorkbenchTable, "WorkspaceTrust", tableElement, ( new TrustedUriTableVirtualDelegate()), [{
104
- label: ( localize(21345, "Host")),
104
+ label: ( localize(21464, "Host")),
105
105
  tooltip: "",
106
106
  weight: 1,
107
107
  templateId: TrustedUriHostColumnRenderer.TEMPLATE_ID,
@@ -109,7 +109,7 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
109
109
  return row;
110
110
  }
111
111
  }, {
112
- label: ( localize(21346, "Path")),
112
+ label: ( localize(21465, "Path")),
113
113
  tooltip: "",
114
114
  weight: 8,
115
115
  templateId: TrustedUriPathColumnRenderer.TEMPLATE_ID,
@@ -139,16 +139,16 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
139
139
  getAriaLabel: item => {
140
140
  const hostLabel = getHostLabel(this.labelService, item);
141
141
  if (hostLabel === undefined || hostLabel.length === 0) {
142
- return localize(21347, "{0}, trusted", this.labelService.getUriLabel(item.uri));
142
+ return localize(21466, "{0}, trusted", this.labelService.getUriLabel(item.uri));
143
143
  }
144
144
  return localize(
145
- 21348,
145
+ 21467,
146
146
  "{0} on {1}, trusted",
147
147
  this.labelService.getUriLabel(item.uri),
148
148
  hostLabel
149
149
  );
150
150
  },
151
- getWidgetAriaLabel: () => ( localize(21349, "Trusted Folders & Workspaces"))
151
+ getWidgetAriaLabel: () => ( localize(21468, "Trusted Folders & Workspaces"))
152
152
  },
153
153
  identityProvider: {
154
154
  getId(element) {
@@ -163,18 +163,18 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
163
163
  }));
164
164
  const buttonBar = this._register(( new ButtonBar(addButtonBarElement)));
165
165
  const addButton = this._register(buttonBar.addButton({
166
- title: ( localize(21350, "Add Folder")),
166
+ title: ( localize(21469, "Add Folder")),
167
167
  ...defaultButtonStyles
168
168
  }));
169
- addButton.label = ( localize(21350, "Add Folder"));
169
+ addButton.label = ( localize(21469, "Add Folder"));
170
170
  this._register(addButton.onDidClick(async () => {
171
171
  const uri = await this.fileDialogService.showOpenDialog({
172
172
  canSelectFiles: false,
173
173
  canSelectFolders: true,
174
174
  canSelectMany: false,
175
175
  defaultUri: this.currentWorkspaceUri,
176
- openLabel: ( localize(21351, "Trust Folder")),
177
- title: ( localize(21352, "Select Folder To Trust"))
176
+ openLabel: ( localize(21470, "Trust Folder")),
177
+ title: ( localize(21471, "Select Folder To Trust"))
178
178
  });
179
179
  if (uri) {
180
180
  this.workspaceTrustManagementService.setUrisTrust(uri, true);
@@ -257,9 +257,9 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
257
257
  const entries = this.trustedUriEntries;
258
258
  this.container.classList.toggle("empty", entries.length === 0);
259
259
  this.descriptionElement.innerText = entries.length ? ( localize(
260
- 21353,
260
+ 21472,
261
261
  "You trust the following folders, their subfolders, and workspace files."
262
- )) : ( localize(21354, "You haven't trusted any folders or workspace files yet."));
262
+ )) : ( localize(21473, "You haven't trusted any folders or workspace files yet."));
263
263
  this.table.splice(0, Number.POSITIVE_INFINITY, this.trustedUriEntries);
264
264
  this.layout();
265
265
  }
@@ -273,7 +273,7 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
273
273
  return {
274
274
  type: MessageType.WARNING,
275
275
  content: ( localize(
276
- 21355,
276
+ 21474,
277
277
  "You will trust all repositories on {0}.",
278
278
  getHostLabel(this.labelService, item)
279
279
  ))
@@ -283,7 +283,7 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
283
283
  return {
284
284
  type: MessageType.WARNING,
285
285
  content: ( localize(
286
- 21356,
286
+ 21475,
287
287
  "You will trust all repositories and forks under '{0}' on {1}.",
288
288
  segments[0],
289
289
  getHostLabel(this.labelService, item)
@@ -293,7 +293,7 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
293
293
  if (segments.length > 2) {
294
294
  return {
295
295
  type: MessageType.ERROR,
296
- content: ( localize(21357, "You cannot trust individual folders within a repository.", path))
296
+ content: ( localize(21476, "You cannot trust individual folders within a repository.", path))
297
297
  };
298
298
  }
299
299
  }
@@ -334,8 +334,8 @@ let WorkspaceTrustedUrisTable = class WorkspaceTrustedUrisTable extends Disposab
334
334
  canSelectFolders: true,
335
335
  canSelectMany: false,
336
336
  defaultUri: item.uri,
337
- openLabel: ( localize(21351, "Trust Folder")),
338
- title: ( localize(21352, "Select Folder To Trust"))
337
+ openLabel: ( localize(21470, "Trust Folder")),
338
+ title: ( localize(21471, "Select Folder To Trust"))
339
339
  });
340
340
  if (uri) {
341
341
  this.acceptEdit(item, uri[0]);
@@ -402,7 +402,7 @@ let TrustedUriActionsColumnRenderer = class TrustedUriActionsColumnRenderer {
402
402
  class: ThemeIcon.asClassName(editIcon),
403
403
  enabled: true,
404
404
  id: "editTrustedUri",
405
- tooltip: ( localize(21358, "Edit Path")),
405
+ tooltip: ( localize(21477, "Edit Path")),
406
406
  run: () => {
407
407
  this.table.edit(item, false);
408
408
  }
@@ -414,7 +414,7 @@ let TrustedUriActionsColumnRenderer = class TrustedUriActionsColumnRenderer {
414
414
  class: ThemeIcon.asClassName(folderPickerIcon),
415
415
  enabled: true,
416
416
  id: "pickerTrustedUri",
417
- tooltip: ( localize(21359, "Open File Picker")),
417
+ tooltip: ( localize(21478, "Open File Picker")),
418
418
  run: () => {
419
419
  this.table.edit(item, true);
420
420
  }
@@ -426,7 +426,7 @@ let TrustedUriActionsColumnRenderer = class TrustedUriActionsColumnRenderer {
426
426
  class: ThemeIcon.asClassName(removeIcon),
427
427
  enabled: true,
428
428
  id: "deleteTrustedUri",
429
- tooltip: ( localize(21360, "Delete Path")),
429
+ tooltip: ( localize(21479, "Delete Path")),
430
430
  run: async () => {
431
431
  await this.table.delete(item);
432
432
  }
@@ -552,7 +552,7 @@ let TrustedUriPathColumnRenderer = class TrustedUriPathColumnRenderer {
552
552
  };
553
553
  TrustedUriPathColumnRenderer = TrustedUriPathColumnRenderer_1 = ( __decorate([( __param(1, IContextViewService))], TrustedUriPathColumnRenderer));
554
554
  function getHostLabel(labelService, item) {
555
- return item.uri.authority ? labelService.getHostLabel(item.uri.scheme, item.uri.authority) : ( localize(21361, "Local"));
555
+ return item.uri.authority ? labelService.getHostLabel(item.uri.scheme, item.uri.authority) : ( localize(21480, "Local"));
556
556
  }
557
557
  let TrustedUriHostColumnRenderer = class TrustedUriHostColumnRenderer {
558
558
  static {
@@ -721,18 +721,18 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
721
721
  getHeaderTitleText(trusted) {
722
722
  if (trusted) {
723
723
  if (this.workspaceTrustManagementService.isWorkspaceTrustForced()) {
724
- return localize(21362, "This window is trusted");
724
+ return localize(21481, "This window is trusted");
725
725
  }
726
726
  switch (this.workspaceService.getWorkbenchState()) {
727
727
  case WorkbenchState.EMPTY:
728
- return localize(21363, "You trust this window");
728
+ return localize(21482, "You trust this window");
729
729
  case WorkbenchState.FOLDER:
730
- return localize(21364, "You trust this folder");
730
+ return localize(21483, "You trust this folder");
731
731
  case WorkbenchState.WORKSPACE:
732
- return localize(21365, "You trust this workspace");
732
+ return localize(21484, "You trust this workspace");
733
733
  }
734
734
  }
735
- return localize(21366, "You are in Restricted Mode");
735
+ return localize(21485, "You are in Restricted Mode");
736
736
  }
737
737
  getHeaderTitleIconClassNames(trusted) {
738
738
  return ThemeIcon.asClassNameArray(shieldIcon);
@@ -743,36 +743,36 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
743
743
  switch (this.workspaceService.getWorkbenchState()) {
744
744
  case WorkbenchState.EMPTY:
745
745
  {
746
- title = trusted ? ( localize(21367, "In a Trusted Window")) : ( localize(21368, "In Restricted Mode"));
746
+ title = trusted ? ( localize(21486, "In a Trusted Window")) : ( localize(21487, "In Restricted Mode"));
747
747
  subTitle = trusted ? ( localize(
748
- 21369,
748
+ 21488,
749
749
  "You trust the authors of the files in the current window. All features are enabled:"
750
750
  )) : ( localize(
751
- 21370,
751
+ 21489,
752
752
  "You do not trust the authors of the files in the current window. The following features are disabled:"
753
753
  ));
754
754
  break;
755
755
  }
756
756
  case WorkbenchState.FOLDER:
757
757
  {
758
- title = trusted ? ( localize(21371, "In a Trusted Folder")) : ( localize(21368, "In Restricted Mode"));
758
+ title = trusted ? ( localize(21490, "In a Trusted Folder")) : ( localize(21487, "In Restricted Mode"));
759
759
  subTitle = trusted ? ( localize(
760
- 21372,
760
+ 21491,
761
761
  "You trust the authors of the files in the current folder. All features are enabled:"
762
762
  )) : ( localize(
763
- 21373,
763
+ 21492,
764
764
  "You do not trust the authors of the files in the current folder. The following features are disabled:"
765
765
  ));
766
766
  break;
767
767
  }
768
768
  case WorkbenchState.WORKSPACE:
769
769
  {
770
- title = trusted ? ( localize(21374, "In a Trusted Workspace")) : ( localize(21368, "In Restricted Mode"));
770
+ title = trusted ? ( localize(21493, "In a Trusted Workspace")) : ( localize(21487, "In Restricted Mode"));
771
771
  subTitle = trusted ? ( localize(
772
- 21375,
772
+ 21494,
773
773
  "You trust the authors of the files in the current workspace. All features are enabled:"
774
774
  )) : ( localize(
775
- 21376,
775
+ 21495,
776
776
  "You do not trust the authors of the files in the current workspace. The following features are disabled:"
777
777
  ));
778
778
  break;
@@ -798,16 +798,16 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
798
798
  this.headerDescription.innerText = "";
799
799
  const headerDescriptionText = append(this.headerDescription, $("div"));
800
800
  headerDescriptionText.innerText = isWorkspaceTrusted ? ( localize(
801
- 21377,
801
+ 21496,
802
802
  "All features are enabled because trust has been granted to the workspace."
803
803
  )) : ( localize(
804
- 21378,
804
+ 21497,
805
805
  "{0} is in a restricted mode intended for safe code browsing.",
806
806
  this.productService.nameShort
807
807
  ));
808
808
  const headerDescriptionActions = append(this.headerDescription, $("div"));
809
809
  const headerDescriptionActionsText = ( localize(
810
- 21379,
810
+ 21498,
811
811
  "[Configure your settings]({0}) or [learn more](https://aka.ms/vscode-workspace-trust).",
812
812
  `command:workbench.trust.configure`
813
813
  ));
@@ -822,7 +822,7 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
822
822
  }
823
823
  }
824
824
  this.headerContainer.className = this.getHeaderContainerClass(isWorkspaceTrusted);
825
- this.rootElement.setAttribute("aria-label", `${( localize(21380, "Manage Workspace Trust"))}: ${this.headerContainer.innerText}`);
825
+ this.rootElement.setAttribute("aria-label", `${( localize(21499, "Manage Workspace Trust"))}: ${this.headerContainer.innerText}`);
826
826
  const restrictedSettings = this.configurationService.restrictedSettings;
827
827
  const configurationRegistry = ( Registry.as(Extensions.Configuration));
828
828
  const settingsRequiringTrustedWorkspaceCount = restrictedSettings.default.filter(key => {
@@ -890,7 +890,7 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
890
890
  tabIndex: "0"
891
891
  }));
892
892
  const configurationTitle = append(this.configurationContainer, $(".workspace-trusted-folders-title"));
893
- configurationTitle.innerText = ( localize(21349, "Trusted Folders & Workspaces"));
893
+ configurationTitle.innerText = ( localize(21468, "Trusted Folders & Workspaces"));
894
894
  this.workspaceTrustedUrisTable = this._register(
895
895
  this.instantiationService.createInstance(WorkspaceTrustedUrisTable, this.configurationContainer)
896
896
  );
@@ -915,7 +915,7 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
915
915
  clearNode(this.untrustedContainer);
916
916
  const [trustedTitle, trustedSubTitle] = this.getFeaturesHeaderText(true);
917
917
  this.renderLimitationsHeaderElement(this.trustedContainer, trustedTitle, trustedSubTitle);
918
- const trustedContainerItems = this.workspaceService.getWorkbenchState() === WorkbenchState.EMPTY ? [( localize(21381, "Tasks are allowed to run")), ( localize(21382, "Debugging is enabled")), ( localize(21383, "All enabled extensions are activated"))] : [( localize(21381, "Tasks are allowed to run")), ( localize(21382, "Debugging is enabled")), ( localize(21384, "All workspace settings are applied")), ( localize(21383, "All enabled extensions are activated"))];
918
+ const trustedContainerItems = this.workspaceService.getWorkbenchState() === WorkbenchState.EMPTY ? [( localize(21500, "Tasks are allowed to run")), ( localize(21501, "Debugging is enabled")), ( localize(21502, "All enabled extensions are activated"))] : [( localize(21500, "Tasks are allowed to run")), ( localize(21501, "Debugging is enabled")), ( localize(21503, "All workspace settings are applied")), ( localize(21502, "All enabled extensions are activated"))];
919
919
  this.renderLimitationsListElement(
920
920
  this.trustedContainer,
921
921
  trustedContainerItems,
@@ -923,18 +923,18 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
923
923
  );
924
924
  const [untrustedTitle, untrustedSubTitle] = this.getFeaturesHeaderText(false);
925
925
  this.renderLimitationsHeaderElement(this.untrustedContainer, untrustedTitle, untrustedSubTitle);
926
- const untrustedContainerItems = this.workspaceService.getWorkbenchState() === WorkbenchState.EMPTY ? [( localize(21385, "Tasks are not allowed to run")), ( localize(21386, "Debugging is disabled")), fixBadLocalizedLinks(( localize(
927
- 21387,
926
+ const untrustedContainerItems = this.workspaceService.getWorkbenchState() === WorkbenchState.EMPTY ? [( localize(21504, "Tasks are not allowed to run")), ( localize(21505, "Debugging is disabled")), fixBadLocalizedLinks(( localize(
927
+ 21506,
928
928
  "[{0} extensions]({1}) are disabled or have limited functionality",
929
929
  numExtensions,
930
930
  `command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`
931
- )))] : [( localize(21385, "Tasks are not allowed to run")), ( localize(21386, "Debugging is disabled")), fixBadLocalizedLinks(numSettings ? ( localize(
932
- 21388,
931
+ )))] : [( localize(21504, "Tasks are not allowed to run")), ( localize(21505, "Debugging is disabled")), fixBadLocalizedLinks(numSettings ? ( localize(
932
+ 21507,
933
933
  "[{0} workspace settings]({1}) are not applied",
934
934
  numSettings,
935
935
  "command:settings.filterUntrusted"
936
- )) : ( localize(21389, "Workspace settings requiring trust are not applied"))), fixBadLocalizedLinks(( localize(
937
- 21387,
936
+ )) : ( localize(21508, "Workspace settings requiring trust are not applied"))), fixBadLocalizedLinks(( localize(
937
+ 21506,
938
938
  "[{0} extensions]({1}) are disabled or have limited functionality",
939
939
  numExtensions,
940
940
  `command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`
@@ -968,7 +968,7 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
968
968
  button.label = action.label;
969
969
  button.enabled = enabled !== undefined ? enabled : action.enabled;
970
970
  button.description = keybinding.getLabel();
971
- button.element.ariaLabel = action.label + ", " + ( localize(21390, "Keyboard Shortcut: {0}", keybinding.getAriaLabel()));
971
+ button.element.ariaLabel = action.label + ", " + ( localize(21509, "Keyboard Shortcut: {0}", keybinding.getAriaLabel()));
972
972
  this.rerenderDisposables.add(button.onDidClick(e => {
973
973
  if (e) {
974
974
  EventHelper.stop(e, true);
@@ -978,7 +978,7 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
978
978
  }
979
979
  }
980
980
  addTrustButtonToElement(parent) {
981
- const trustAction = this.rerenderDisposables.add(( new Action("workspace.trust.button.action.grant", ( localize(21391, "Trust")), undefined, true, async () => {
981
+ const trustAction = this.rerenderDisposables.add(( new Action("workspace.trust.button.action.grant", ( localize(21510, "Trust")), undefined, true, async () => {
982
982
  await this.workspaceTrustManagementService.setWorkspaceTrust(true);
983
983
  })));
984
984
  const trustActions = [{
@@ -989,7 +989,7 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
989
989
  }
990
990
  addDontTrustButtonToElement(parent) {
991
991
  this.createButtonRow(parent, [{
992
- action: this.rerenderDisposables.add(( new Action("workspace.trust.button.action.deny", ( localize(21392, "Don't Trust")), undefined, true, async () => {
992
+ action: this.rerenderDisposables.add(( new Action("workspace.trust.button.action.deny", ( localize(21511, "Don't Trust")), undefined, true, async () => {
993
993
  await this.workspaceTrustManagementService.setWorkspaceTrust(false);
994
994
  }))),
995
995
  keybinding: this.keybindingService.resolveUserBinding(isMacintosh ? "Cmd+Enter" : "Ctrl+Enter")[0]
@@ -1002,14 +1002,14 @@ let WorkspaceTrustEditor = class WorkspaceTrustEditor extends EditorPane {
1002
1002
  const textElement = append(parent, $(".workspace-trust-untrusted-description"));
1003
1003
  if (!this.workspaceTrustManagementService.isWorkspaceTrustForced()) {
1004
1004
  textElement.innerText = this.workspaceService.getWorkbenchState() === WorkbenchState.WORKSPACE ? ( localize(
1005
- 21393,
1005
+ 21512,
1006
1006
  "This workspace is trusted via the bolded entries in the trusted folders below."
1007
1007
  )) : ( localize(
1008
- 21394,
1008
+ 21513,
1009
1009
  "This folder is trusted via the bolded entries in the trusted folders below."
1010
1010
  ));
1011
1011
  } else {
1012
- textElement.innerText = ( localize(21395, "This window is trusted by nature of the workspace that is opened."));
1012
+ textElement.innerText = ( localize(21514, "This window is trusted by nature of the workspace that is opened."));
1013
1013
  }
1014
1014
  }
1015
1015
  renderLimitationsHeaderElement(parent, headerText, subtitleText) {
@@ -7,7 +7,7 @@ import { registerIcon } from '@codingame/monaco-vscode-api/vscode/vs/platform/th
7
7
  import { EditorInputCapabilities } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
8
8
  import { EditorInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/editorInput';
9
9
 
10
- const WorkspaceTrustEditorIcon = registerIcon("workspace-trust-editor-label-icon", Codicon.shield, ( localize(22570, "Icon of the workspace trust editor label.")));
10
+ const WorkspaceTrustEditorIcon = registerIcon("workspace-trust-editor-label-icon", Codicon.shield, ( localize(22690, "Icon of the workspace trust editor label.")));
11
11
  class WorkspaceTrustEditorInput extends EditorInput {
12
12
  constructor() {
13
13
  super(...arguments);
@@ -29,7 +29,7 @@ class WorkspaceTrustEditorInput extends EditorInput {
29
29
  return super.matches(otherInput) || otherInput instanceof WorkspaceTrustEditorInput;
30
30
  }
31
31
  getName() {
32
- return localize(22571, "Workspace Trust");
32
+ return localize(22691, "Workspace Trust");
33
33
  }
34
34
  getIcon() {
35
35
  return WorkspaceTrustEditorIcon;