@codingame/monaco-vscode-dialogs-service-override 10.0.1 → 10.1.0

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-dialogs-service-override",
3
- "version": "10.0.1",
3
+ "version": "10.1.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,6 +26,6 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@10.0.1"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@10.1.0"
30
30
  }
31
31
  }
@@ -87,7 +87,7 @@ configurationRegistry.registerConfiguration({
87
87
  type: 'boolean',
88
88
  default: false,
89
89
  tags: ['experimental'],
90
- description: ( localize(2349, "When enabled, a welcome widget is shown in the editor"))
90
+ description: ( localize(2352, "When enabled, a welcome widget is shown in the editor"))
91
91
  }
92
92
  }
93
93
  });
@@ -27,7 +27,7 @@ class FileDialogService extends AbstractFileDialogService {
27
27
  return super.pickFileFolderAndOpenSimplified(schema, options, false);
28
28
  }
29
29
  throw ( (new Error(
30
- localize(2342, "Can't open folders, try adding a folder to the workspace instead.")
30
+ localize(2345, "Can't open folders, try adding a folder to the workspace instead.")
31
31
  )));
32
32
  }
33
33
  addFileSchemaIfNeeded(schema, isFolder) {
@@ -69,7 +69,7 @@ class FileDialogService extends AbstractFileDialogService {
69
69
  return super.pickFolderAndOpenSimplified(schema, options);
70
70
  }
71
71
  throw ( (new Error(
72
- localize(2342, "Can't open folders, try adding a folder to the workspace instead.")
72
+ localize(2345, "Can't open folders, try adding a folder to the workspace instead.")
73
73
  )));
74
74
  }
75
75
  async pickWorkspaceAndOpen(options) {
@@ -82,7 +82,7 @@ class FileDialogService extends AbstractFileDialogService {
82
82
  return super.pickWorkspaceAndOpenSimplified(schema, options);
83
83
  }
84
84
  throw ( (new Error(localize(
85
- 2343,
85
+ 2346,
86
86
  "Can't open workspaces, try adding a folder to the workspace instead."
87
87
  ))));
88
88
  }
@@ -184,17 +184,17 @@ class FileDialogService extends AbstractFileDialogService {
184
184
  }
185
185
  const buttons = [
186
186
  {
187
- label: ( localize(2344, "&&Open Remote...")),
187
+ label: ( localize(2347, "&&Open Remote...")),
188
188
  run: async () => { await this.commandService.executeCommand('workbench.action.remote.showMenu'); }
189
189
  },
190
190
  {
191
- label: ( localize(2345, "&&Learn More")),
191
+ label: ( localize(2348, "&&Learn More")),
192
192
  run: async () => { await this.openerService.open('https://aka.ms/VSCodeWebLocalFileSystemAccess'); }
193
193
  }
194
194
  ];
195
195
  if (context === 'open') {
196
196
  buttons.push({
197
- label: ( localize(2346, "Open &&Files...")),
197
+ label: ( localize(2349, "Open &&Files...")),
198
198
  run: async () => {
199
199
  const files = await triggerUpload();
200
200
  if (files) {
@@ -214,9 +214,9 @@ class FileDialogService extends AbstractFileDialogService {
214
214
  }
215
215
  await this.dialogService.prompt({
216
216
  type: Severity$1.Warning,
217
- message: ( localize(2347, "Opening Local Folders is Unsupported")),
217
+ message: ( localize(2350, "Opening Local Folders is Unsupported")),
218
218
  detail: ( localize(
219
- 2348,
219
+ 2351,
220
220
  "Your browser doesn't support opening local folders.\nYou can either open single files or open a remote repository."
221
221
  )),
222
222
  buttons