@codingame/monaco-vscode-notebook-service-override 8.0.1 → 8.0.3
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 +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-notebook-service-override",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.3",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"vscode": "npm:@codingame/monaco-vscode-api@8.0.
|
|
32
|
+
"vscode": "npm:@codingame/monaco-vscode-api@8.0.3"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -74,7 +74,7 @@ class NotebookVariableDataSource {
|
|
|
74
74
|
notebook: parent.notebook,
|
|
75
75
|
id: parent.id + `${last + 1}`,
|
|
76
76
|
extHostId: parent.extHostId,
|
|
77
|
-
name: ( localize(
|
|
77
|
+
name: ( localize(11396, "Display limit reached")),
|
|
78
78
|
value: '',
|
|
79
79
|
indexedChildrenCount: 0,
|
|
80
80
|
hasNamedChildren: false
|
|
@@ -55,10 +55,10 @@ NotebookVariableRenderer = NotebookVariableRenderer_1 = ( (__decorate([
|
|
|
55
55
|
], NotebookVariableRenderer)));
|
|
56
56
|
class NotebookVariableAccessibilityProvider {
|
|
57
57
|
getWidgetAriaLabel() {
|
|
58
|
-
return ( localize(
|
|
58
|
+
return ( localize(11397, "Notebook Variables"));
|
|
59
59
|
}
|
|
60
60
|
getAriaLabel(element) {
|
|
61
|
-
return ( localize(
|
|
61
|
+
return ( localize(11398, "Variable {0}, value {1}", element.name, element.value));
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -47,8 +47,8 @@ import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/prog
|
|
|
47
47
|
var FileWorkingCopyManager_1;
|
|
48
48
|
let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
49
49
|
static { FileWorkingCopyManager_1 = this; }
|
|
50
|
-
static { this.FILE_WORKING_COPY_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyCreate.source', ( localize(
|
|
51
|
-
static { this.FILE_WORKING_COPY_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyReplace.source', ( localize(
|
|
50
|
+
static { this.FILE_WORKING_COPY_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyCreate.source', ( localize(7782, "File Created"))); }
|
|
51
|
+
static { this.FILE_WORKING_COPY_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyReplace.source', ( localize(7783, "File Replaced"))); }
|
|
52
52
|
constructor(workingCopyTypeId, storedWorkingCopyModelFactory, untitledWorkingCopyModelFactory, fileService, lifecycleService, labelService, logService, workingCopyFileService, workingCopyBackupService, uriIdentityService, fileDialogService, filesConfigurationService, workingCopyService, notificationService, workingCopyEditorService, editorService, elevatedFileService, pathService, environmentService, dialogService, decorationsService, progressService) {
|
|
53
53
|
super();
|
|
54
54
|
this.workingCopyTypeId = workingCopyTypeId;
|
|
@@ -103,7 +103,7 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
|
103
103
|
constructor(stored) {
|
|
104
104
|
super();
|
|
105
105
|
this.stored = stored;
|
|
106
|
-
this.label = ( localize(
|
|
106
|
+
this.label = ( localize(7784, "File Working Copy Decorations"));
|
|
107
107
|
this._onDidChange = this._register(( (new Emitter())));
|
|
108
108
|
this.onDidChange = this._onDidChange.event;
|
|
109
109
|
this.registerListeners();
|
|
@@ -130,20 +130,20 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
|
130
130
|
color: listErrorForeground,
|
|
131
131
|
letter: Codicon.lockSmall,
|
|
132
132
|
strikethrough: true,
|
|
133
|
-
tooltip: ( localize(
|
|
133
|
+
tooltip: ( localize(7785, "Deleted, Read-only")),
|
|
134
134
|
};
|
|
135
135
|
}
|
|
136
136
|
else if (isReadonly) {
|
|
137
137
|
return {
|
|
138
138
|
letter: Codicon.lockSmall,
|
|
139
|
-
tooltip: ( localize(
|
|
139
|
+
tooltip: ( localize(7786, "Read-only")),
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
else if (isOrphaned) {
|
|
143
143
|
return {
|
|
144
144
|
color: listErrorForeground,
|
|
145
145
|
strikethrough: true,
|
|
146
|
-
tooltip: ( localize(
|
|
146
|
+
tooltip: ( localize(7787, "Deleted")),
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
149
|
return undefined;
|
|
@@ -275,17 +275,17 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
|
275
275
|
const { confirmed } = await this.dialogService.confirm({
|
|
276
276
|
type: 'warning',
|
|
277
277
|
message: ( localize(
|
|
278
|
-
|
|
278
|
+
7788,
|
|
279
279
|
"'{0}' already exists. Do you want to replace it?",
|
|
280
280
|
basename(resource)
|
|
281
281
|
)),
|
|
282
282
|
detail: ( localize(
|
|
283
|
-
|
|
283
|
+
7789,
|
|
284
284
|
"A file or folder with the name '{0}' already exists in the folder '{1}'. Replacing it will overwrite its current contents.",
|
|
285
285
|
basename(resource),
|
|
286
286
|
basename(dirname(resource))
|
|
287
287
|
)),
|
|
288
|
-
primaryButton: ( localize(
|
|
288
|
+
primaryButton: ( localize(7790, "&&Replace"))
|
|
289
289
|
});
|
|
290
290
|
return confirmed;
|
|
291
291
|
}
|
|
@@ -293,12 +293,12 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
|
293
293
|
const { confirmed } = await this.dialogService.confirm({
|
|
294
294
|
type: 'warning',
|
|
295
295
|
message: ( localize(
|
|
296
|
-
|
|
296
|
+
7791,
|
|
297
297
|
"'{0}' is marked as read-only. Do you want to save anyway?",
|
|
298
298
|
basename(resource)
|
|
299
299
|
)),
|
|
300
|
-
detail: ( localize(
|
|
301
|
-
primaryButton: ( localize(
|
|
300
|
+
detail: ( localize(7792, "Paths can be configured as read-only via settings.")),
|
|
301
|
+
primaryButton: ( localize(7793, "&&Save Anyway"))
|
|
302
302
|
});
|
|
303
303
|
return confirmed;
|
|
304
304
|
}
|
|
@@ -77,7 +77,7 @@ let StoredFileWorkingCopyManager = class StoredFileWorkingCopyManager extends Ba
|
|
|
77
77
|
this._register(this.lifecycleService.onBeforeShutdown(event => event.veto(this.onBeforeShutdownWeb(), 'veto.fileWorkingCopyManager')));
|
|
78
78
|
}
|
|
79
79
|
else {
|
|
80
|
-
this._register(this.lifecycleService.onWillShutdown(event => event.join(this.onWillShutdownDesktop(), { id: 'join.fileWorkingCopyManager', label: ( localize(
|
|
80
|
+
this._register(this.lifecycleService.onWillShutdown(event => event.join(this.onWillShutdownDesktop(), { id: 'join.fileWorkingCopyManager', label: ( localize(10668, "Saving working copies")) })));
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
onBeforeShutdownWeb() {
|