@codingame/monaco-vscode-files-service-override 8.0.1 → 8.0.2

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-files-service-override",
3
- "version": "8.0.1",
3
+ "version": "8.0.2",
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@8.0.1"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@8.0.2"
30
30
  }
31
31
  }
@@ -53,8 +53,8 @@ import { firstOrDefault } from 'vscode/vscode/vs/base/common/arrays';
53
53
  var AbstractTextFileService_1;
54
54
  let AbstractTextFileService = class AbstractTextFileService extends Disposable {
55
55
  static { AbstractTextFileService_1 = this; }
56
- static { this.TEXTFILE_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('textFileCreate.source', ( localize(4803, "File Created"))); }
57
- static { this.TEXTFILE_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('textFileOverwrite.source', ( localize(4804, "File Replaced"))); }
56
+ static { this.TEXTFILE_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('textFileCreate.source', ( localize(4800, "File Created"))); }
57
+ static { this.TEXTFILE_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('textFileOverwrite.source', ( localize(4801, "File Replaced"))); }
58
58
  constructor(fileService, untitledTextEditorService, lifecycleService, instantiationService, modelService, environmentService, dialogService, fileDialogService, textResourceConfigurationService, filesConfigurationService, codeEditorService, pathService, workingCopyFileService, uriIdentityService, languageService, logService, elevatedFileService, decorationsService) {
59
59
  super();
60
60
  this.fileService = fileService;
@@ -84,7 +84,7 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
84
84
  constructor(files) {
85
85
  super();
86
86
  this.files = files;
87
- this.label = ( localize(4805, "Text File Model Decorations"));
87
+ this.label = ( localize(4802, "Text File Model Decorations"));
88
88
  this._onDidChange = this._register(( (new Emitter())));
89
89
  this.onDidChange = this._onDidChange.event;
90
90
  this.registerListeners();
@@ -111,20 +111,20 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
111
111
  color: listErrorForeground,
112
112
  letter: Codicon.lockSmall,
113
113
  strikethrough: true,
114
- tooltip: ( localize(4806, "Deleted, Read-only")),
114
+ tooltip: ( localize(4803, "Deleted, Read-only")),
115
115
  };
116
116
  }
117
117
  else if (isReadonly) {
118
118
  return {
119
119
  letter: Codicon.lockSmall,
120
- tooltip: ( localize(4807, "Read-only")),
120
+ tooltip: ( localize(4804, "Read-only")),
121
121
  };
122
122
  }
123
123
  else if (isOrphaned) {
124
124
  return {
125
125
  color: listErrorForeground,
126
126
  strikethrough: true,
127
- tooltip: ( localize(4808, "Deleted")),
127
+ tooltip: ( localize(4805, "Deleted")),
128
128
  };
129
129
  }
130
130
  return undefined;
@@ -178,7 +178,7 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
178
178
  cts.dispose(true);
179
179
  if (error.decodeStreamErrorKind === DecodeStreamErrorKind.STREAM_IS_BINARY) {
180
180
  throw ( (new TextFileOperationError(
181
- localize(4809, "File seems to be binary and cannot be opened as text"),
181
+ localize(4806, "File seems to be binary and cannot be opened as text"),
182
182
  TextFileOperationResult.FILE_IS_BINARY,
183
183
  options
184
184
  )));
@@ -396,17 +396,17 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
396
396
  const { confirmed } = await this.dialogService.confirm({
397
397
  type: 'warning',
398
398
  message: ( localize(
399
- 4810,
399
+ 4807,
400
400
  "'{0}' already exists. Do you want to replace it?",
401
401
  basename(resource)
402
402
  )),
403
403
  detail: ( localize(
404
- 4811,
404
+ 4808,
405
405
  "A file or folder with the name '{0}' already exists in the folder '{1}'. Replacing it will overwrite its current contents.",
406
406
  basename(resource),
407
407
  basename(dirname(resource))
408
408
  )),
409
- primaryButton: ( localize(4812, "&&Replace")),
409
+ primaryButton: ( localize(4809, "&&Replace")),
410
410
  });
411
411
  return confirmed;
412
412
  }
@@ -414,12 +414,12 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
414
414
  const { confirmed } = await this.dialogService.confirm({
415
415
  type: 'warning',
416
416
  message: ( localize(
417
- 4813,
417
+ 4810,
418
418
  "'{0}' is marked as read-only. Do you want to save anyway?",
419
419
  basename(resource)
420
420
  )),
421
- detail: ( localize(4814, "Paths can be configured as read-only via settings.")),
422
- primaryButton: ( localize(4815, "&&Save Anyway"))
421
+ detail: ( localize(4811, "Paths can be configured as read-only via settings.")),
422
+ primaryButton: ( localize(4812, "&&Save Anyway"))
423
423
  });
424
424
  return confirmed;
425
425
  }
@@ -62,7 +62,7 @@ let TextFileEditorModelManager = class TextFileEditorModelManager extends Dispos
62
62
  return {
63
63
  onSaveError(error, model) {
64
64
  notificationService.error(( localize(
65
- 9790,
65
+ 9797,
66
66
  "Failed to save '{0}': {1}",
67
67
  model.name,
68
68
  toErrorMessage(error, false)