@codingame/monaco-vscode-files-service-override 10.1.3 → 10.1.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-files-service-override",
3
- "version": "10.1.3",
3
+ "version": "10.1.4",
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.1.3"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@10.1.4"
30
30
  }
31
31
  }
@@ -51,8 +51,8 @@ import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
51
51
  var AbstractTextFileService_1;
52
52
  let AbstractTextFileService = class AbstractTextFileService extends Disposable {
53
53
  static { AbstractTextFileService_1 = this; }
54
- static { this.TEXTFILE_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('textFileCreate.source', ( localize(4562, "File Created"))); }
55
- static { this.TEXTFILE_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('textFileOverwrite.source', ( localize(4563, "File Replaced"))); }
54
+ static { this.TEXTFILE_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('textFileCreate.source', ( localize(4559, "File Created"))); }
55
+ static { this.TEXTFILE_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('textFileOverwrite.source', ( localize(4560, "File Replaced"))); }
56
56
  constructor(fileService, untitledTextEditorService, lifecycleService, instantiationService, modelService, environmentService, dialogService, fileDialogService, textResourceConfigurationService, filesConfigurationService, codeEditorService, pathService, workingCopyFileService, uriIdentityService, languageService, logService, elevatedFileService, decorationsService) {
57
57
  super();
58
58
  this.fileService = fileService;
@@ -82,7 +82,7 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
82
82
  constructor(files) {
83
83
  super();
84
84
  this.files = files;
85
- this.label = ( localize(4564, "Text File Model Decorations"));
85
+ this.label = ( localize(4561, "Text File Model Decorations"));
86
86
  this._onDidChange = this._register(( (new Emitter())));
87
87
  this.onDidChange = this._onDidChange.event;
88
88
  this.registerListeners();
@@ -109,20 +109,20 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
109
109
  color: listErrorForeground,
110
110
  letter: Codicon.lockSmall,
111
111
  strikethrough: true,
112
- tooltip: ( localize(4565, "Deleted, Read-only")),
112
+ tooltip: ( localize(4562, "Deleted, Read-only")),
113
113
  };
114
114
  }
115
115
  else if (isReadonly) {
116
116
  return {
117
117
  letter: Codicon.lockSmall,
118
- tooltip: ( localize(4566, "Read-only")),
118
+ tooltip: ( localize(4563, "Read-only")),
119
119
  };
120
120
  }
121
121
  else if (isOrphaned) {
122
122
  return {
123
123
  color: listErrorForeground,
124
124
  strikethrough: true,
125
- tooltip: ( localize(4567, "Deleted")),
125
+ tooltip: ( localize(4564, "Deleted")),
126
126
  };
127
127
  }
128
128
  return undefined;
@@ -176,7 +176,7 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
176
176
  cts.dispose(true);
177
177
  if (error.decodeStreamErrorKind === 1 ) {
178
178
  throw ( (new TextFileOperationError(
179
- localize(4568, "File seems to be binary and cannot be opened as text"),
179
+ localize(4565, "File seems to be binary and cannot be opened as text"),
180
180
  0 ,
181
181
  options
182
182
  )));
@@ -394,17 +394,17 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
394
394
  const { confirmed } = await this.dialogService.confirm({
395
395
  type: 'warning',
396
396
  message: ( localize(
397
- 4569,
397
+ 4566,
398
398
  "'{0}' already exists. Do you want to replace it?",
399
399
  basename(resource)
400
400
  )),
401
401
  detail: ( localize(
402
- 4570,
402
+ 4567,
403
403
  "A file or folder with the name '{0}' already exists in the folder '{1}'. Replacing it will overwrite its current contents.",
404
404
  basename(resource),
405
405
  basename(dirname(resource))
406
406
  )),
407
- primaryButton: ( localize(4571, "&&Replace")),
407
+ primaryButton: ( localize(4568, "&&Replace")),
408
408
  });
409
409
  return confirmed;
410
410
  }
@@ -412,12 +412,12 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
412
412
  const { confirmed } = await this.dialogService.confirm({
413
413
  type: 'warning',
414
414
  message: ( localize(
415
- 4572,
415
+ 4569,
416
416
  "'{0}' is marked as read-only. Do you want to save anyway?",
417
417
  basename(resource)
418
418
  )),
419
- detail: ( localize(4573, "Paths can be configured as read-only via settings.")),
420
- primaryButton: ( localize(4574, "&&Save Anyway"))
419
+ detail: ( localize(4570, "Paths can be configured as read-only via settings.")),
420
+ primaryButton: ( localize(4571, "&&Save Anyway"))
421
421
  });
422
422
  return confirmed;
423
423
  }