@codingame/monaco-vscode-bulk-edit-service-override 37.0.0 → 37.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 +2 -2
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +14 -14
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution.js +18 -18
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditPane.js +5 -5
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditPreview.js +1 -1
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditTree.js +16 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-bulk-edit-service-override",
|
|
3
|
-
"version": "37.
|
|
3
|
+
"version": "37.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - bulk-edit service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "37.
|
|
18
|
+
"@codingame/monaco-vscode-api": "37.1.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -83,21 +83,21 @@ let BulkEdit = class BulkEdit {
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
if (this._edits.length === 0) {
|
|
86
|
-
return localize(
|
|
86
|
+
return localize(5362, "Made no edits");
|
|
87
87
|
} else if (otherResources.size === 0) {
|
|
88
88
|
if (textEditCount > 1 && textEditResources.size > 1) {
|
|
89
89
|
return localize(
|
|
90
|
-
|
|
90
|
+
5363,
|
|
91
91
|
"Made {0} text edits in {1} files",
|
|
92
92
|
textEditCount,
|
|
93
93
|
textEditResources.size
|
|
94
94
|
);
|
|
95
95
|
} else {
|
|
96
|
-
return localize(
|
|
96
|
+
return localize(5364, "Made {0} text edits in one file", textEditCount);
|
|
97
97
|
}
|
|
98
98
|
} else {
|
|
99
99
|
return localize(
|
|
100
|
-
|
|
100
|
+
5365,
|
|
101
101
|
"Made {0} text edits in {1} files, also created or deleted {2} files",
|
|
102
102
|
textEditCount,
|
|
103
103
|
textEditResources.size,
|
|
@@ -163,12 +163,12 @@ let BulkEdit = class BulkEdit {
|
|
|
163
163
|
}
|
|
164
164
|
async _performFileEdits(edits, undoRedoGroup, undoRedoSource, confirmBeforeUndo, progress) {
|
|
165
165
|
this._logService.debug("_performFileEdits", JSON.stringify(edits));
|
|
166
|
-
const model = this._instaService.createInstance(BulkFileEdits, this._label || ( localize(
|
|
166
|
+
const model = this._instaService.createInstance(BulkFileEdits, this._label || ( localize(5366, "Workspace Edit")), this._code || "undoredo.workspaceEdit", undoRedoGroup, undoRedoSource, confirmBeforeUndo, progress, this._token, edits);
|
|
167
167
|
return await model.apply();
|
|
168
168
|
}
|
|
169
169
|
async _performTextEdits(edits, undoRedoGroup, undoRedoSource, progress, reason) {
|
|
170
170
|
this._logService.debug("_performTextEdits", JSON.stringify(edits));
|
|
171
|
-
const model = this._instaService.createInstance(BulkTextEdits, this._label || ( localize(
|
|
171
|
+
const model = this._instaService.createInstance(BulkTextEdits, this._label || ( localize(5366, "Workspace Edit")), this._code || "undoredo.workspaceEdit", this._editor, undoRedoGroup, undoRedoSource, progress, this._token, edits);
|
|
172
172
|
return await model.apply(reason);
|
|
173
173
|
}
|
|
174
174
|
async _performCellEdits(edits, undoRedoGroup, undoRedoSource, progress) {
|
|
@@ -217,7 +217,7 @@ let BulkEditService = class BulkEditService {
|
|
|
217
217
|
let edits = liftEdits(Array.isArray(editsIn) ? editsIn : editsIn.edits);
|
|
218
218
|
if (edits.length === 0) {
|
|
219
219
|
return {
|
|
220
|
-
ariaSummary: ( localize(
|
|
220
|
+
ariaSummary: ( localize(5367, "Made no edits")),
|
|
221
221
|
isApplied: false
|
|
222
222
|
};
|
|
223
223
|
}
|
|
@@ -300,24 +300,24 @@ let BulkEditService = class BulkEditService {
|
|
|
300
300
|
let message;
|
|
301
301
|
switch (reason) {
|
|
302
302
|
case ShutdownReason.CLOSE:
|
|
303
|
-
message = ( localize(
|
|
303
|
+
message = ( localize(5368, "Are you sure you want to close the window?"));
|
|
304
304
|
break;
|
|
305
305
|
case ShutdownReason.LOAD:
|
|
306
|
-
message = ( localize(
|
|
306
|
+
message = ( localize(5369, "Are you sure you want to change the workspace?"));
|
|
307
307
|
break;
|
|
308
308
|
case ShutdownReason.RELOAD:
|
|
309
|
-
message = ( localize(
|
|
309
|
+
message = ( localize(5370, "Are you sure you want to reload the window?"));
|
|
310
310
|
break;
|
|
311
311
|
default:
|
|
312
|
-
message = isMacintosh ? ( localize(
|
|
312
|
+
message = isMacintosh ? ( localize(5371, "Are you sure you want to quit?")) : ( localize(5372, "Are you sure you want to exit?"));
|
|
313
313
|
break;
|
|
314
314
|
}
|
|
315
315
|
const result = await this._dialogService.confirm({
|
|
316
316
|
message,
|
|
317
317
|
detail: ( localize(
|
|
318
|
-
|
|
318
|
+
5373,
|
|
319
319
|
"'{0}' is in progress.",
|
|
320
|
-
label || ( localize(
|
|
320
|
+
label || ( localize(5374, "File operation"))
|
|
321
321
|
))
|
|
322
322
|
});
|
|
323
323
|
return !result.confirmed;
|
|
@@ -330,7 +330,7 @@ const autoSaveSetting = "files.refactoring.autoSave";
|
|
|
330
330
|
properties: {
|
|
331
331
|
[autoSaveSetting]: {
|
|
332
332
|
description: ( localize(
|
|
333
|
-
|
|
333
|
+
5375,
|
|
334
334
|
"Controls if files that were part of a refactoring are saved automatically"
|
|
335
335
|
)),
|
|
336
336
|
default: true,
|
|
@@ -115,12 +115,12 @@ let BulkEditPreviewContribution = class BulkEditPreviewContribution {
|
|
|
115
115
|
confirmed
|
|
116
116
|
} = await this._dialogService.confirm({
|
|
117
117
|
type: Severity.Info,
|
|
118
|
-
message: ( localize(
|
|
118
|
+
message: ( localize(5376, "Another refactoring is being previewed.")),
|
|
119
119
|
detail: ( localize(
|
|
120
|
-
|
|
120
|
+
5377,
|
|
121
121
|
"Press 'Continue' to discard the previous refactoring and continue with the current refactoring."
|
|
122
122
|
)),
|
|
123
|
-
primaryButton: ( localize(
|
|
123
|
+
primaryButton: ( localize(5378, "&&Continue"))
|
|
124
124
|
});
|
|
125
125
|
if (!confirmed) {
|
|
126
126
|
return [];
|
|
@@ -152,8 +152,8 @@ registerAction2(class ApplyAction extends Action2 {
|
|
|
152
152
|
constructor() {
|
|
153
153
|
super({
|
|
154
154
|
id: "refactorPreview.apply",
|
|
155
|
-
title: ( localize2(
|
|
156
|
-
category: ( localize2(
|
|
155
|
+
title: ( localize2(5379, "Apply Refactoring")),
|
|
156
|
+
category: ( localize2(5380, "Refactor Preview")),
|
|
157
157
|
icon: Codicon.check,
|
|
158
158
|
precondition: ( ContextKeyExpr.and(BulkEditPreviewContribution.ctxEnabled, BulkEditPane.ctxHasCheckedChanges)),
|
|
159
159
|
menu: [{
|
|
@@ -177,8 +177,8 @@ registerAction2(class DiscardAction extends Action2 {
|
|
|
177
177
|
constructor() {
|
|
178
178
|
super({
|
|
179
179
|
id: "refactorPreview.discard",
|
|
180
|
-
title: ( localize2(
|
|
181
|
-
category: ( localize2(
|
|
180
|
+
title: ( localize2(5381, "Discard Refactoring")),
|
|
181
|
+
category: ( localize2(5380, "Refactor Preview")),
|
|
182
182
|
icon: Codicon.clearAll,
|
|
183
183
|
precondition: BulkEditPreviewContribution.ctxEnabled,
|
|
184
184
|
menu: [{
|
|
@@ -197,8 +197,8 @@ registerAction2(class ToggleAction extends Action2 {
|
|
|
197
197
|
constructor() {
|
|
198
198
|
super({
|
|
199
199
|
id: "refactorPreview.toggleCheckedState",
|
|
200
|
-
title: ( localize2(
|
|
201
|
-
category: ( localize2(
|
|
200
|
+
title: ( localize2(5382, "Toggle Change")),
|
|
201
|
+
category: ( localize2(5380, "Refactor Preview")),
|
|
202
202
|
precondition: BulkEditPreviewContribution.ctxEnabled,
|
|
203
203
|
keybinding: {
|
|
204
204
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -221,8 +221,8 @@ registerAction2(class GroupByFile extends Action2 {
|
|
|
221
221
|
constructor() {
|
|
222
222
|
super({
|
|
223
223
|
id: "refactorPreview.groupByFile",
|
|
224
|
-
title: ( localize2(
|
|
225
|
-
category: ( localize2(
|
|
224
|
+
title: ( localize2(5383, "Group Changes By File")),
|
|
225
|
+
category: ( localize2(5380, "Refactor Preview")),
|
|
226
226
|
icon: Codicon.ungroupByRefType,
|
|
227
227
|
precondition: ( ContextKeyExpr.and(BulkEditPane.ctxHasCategories, ( BulkEditPane.ctxGroupByFile.negate()), BulkEditPreviewContribution.ctxEnabled)),
|
|
228
228
|
menu: [{
|
|
@@ -243,8 +243,8 @@ registerAction2(class GroupByType extends Action2 {
|
|
|
243
243
|
constructor() {
|
|
244
244
|
super({
|
|
245
245
|
id: "refactorPreview.groupByType",
|
|
246
|
-
title: ( localize2(
|
|
247
|
-
category: ( localize2(
|
|
246
|
+
title: ( localize2(5384, "Group Changes By Type")),
|
|
247
|
+
category: ( localize2(5380, "Refactor Preview")),
|
|
248
248
|
icon: Codicon.groupByRefType,
|
|
249
249
|
precondition: ( ContextKeyExpr.and(
|
|
250
250
|
BulkEditPane.ctxHasCategories,
|
|
@@ -269,8 +269,8 @@ registerAction2(class ToggleGrouping extends Action2 {
|
|
|
269
269
|
constructor() {
|
|
270
270
|
super({
|
|
271
271
|
id: "refactorPreview.toggleGrouping",
|
|
272
|
-
title: ( localize2(
|
|
273
|
-
category: ( localize2(
|
|
272
|
+
title: ( localize2(5384, "Group Changes By Type")),
|
|
273
|
+
category: ( localize2(5380, "Refactor Preview")),
|
|
274
274
|
icon: Codicon.listTree,
|
|
275
275
|
toggled: ( BulkEditPane.ctxGroupByFile.negate()),
|
|
276
276
|
precondition: ( ContextKeyExpr.and(BulkEditPane.ctxHasCategories, BulkEditPreviewContribution.ctxEnabled)),
|
|
@@ -291,10 +291,10 @@ registerWorkbenchContribution2(
|
|
|
291
291
|
BulkEditPreviewContribution,
|
|
292
292
|
WorkbenchPhase.BlockRestore
|
|
293
293
|
);
|
|
294
|
-
const refactorPreviewViewIcon = registerIcon("refactor-preview-view-icon", Codicon.lightbulb, ( localize(
|
|
294
|
+
const refactorPreviewViewIcon = registerIcon("refactor-preview-view-icon", Codicon.lightbulb, ( localize(5385, "View icon of the refactor preview view.")));
|
|
295
295
|
const container = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
|
|
296
296
|
id: BulkEditPane.ID,
|
|
297
|
-
title: ( localize2(
|
|
297
|
+
title: ( localize2(5386, "Refactor Preview")),
|
|
298
298
|
hideIfEmpty: true,
|
|
299
299
|
ctorDescriptor: ( new SyncDescriptor(ViewPaneContainer, [BulkEditPane.ID, {
|
|
300
300
|
mergeViewWithContainerWhenSingleView: true
|
|
@@ -304,7 +304,7 @@ const container = ( Registry.as(Extensions.ViewContainersRegistry)).registerView
|
|
|
304
304
|
}, ViewContainerLocation.Panel);
|
|
305
305
|
( Registry.as(Extensions.ViewsRegistry)).registerViews([{
|
|
306
306
|
id: BulkEditPane.ID,
|
|
307
|
-
name: ( localize2(
|
|
307
|
+
name: ( localize2(5386, "Refactor Preview")),
|
|
308
308
|
when: BulkEditPreviewContribution.ctxEnabled,
|
|
309
309
|
ctorDescriptor: ( new SyncDescriptor(BulkEditPane)),
|
|
310
310
|
containerIcon: refactorPreviewViewIcon
|
|
@@ -194,18 +194,18 @@ let BulkEditPane = class BulkEditPane extends ViewPane {
|
|
|
194
194
|
supportIcons: true,
|
|
195
195
|
...defaultButtonStyles
|
|
196
196
|
});
|
|
197
|
-
btnConfirm.label = ( localize(
|
|
197
|
+
btnConfirm.label = ( localize(5387, "Apply"));
|
|
198
198
|
btnConfirm.onDidClick(() => this.accept(), this, this._disposables);
|
|
199
199
|
const btnCancel = buttonBar.addButton({
|
|
200
200
|
...defaultButtonStyles,
|
|
201
201
|
secondary: true
|
|
202
202
|
});
|
|
203
|
-
btnCancel.label = ( localize(
|
|
203
|
+
btnCancel.label = ( localize(5388, "Discard"));
|
|
204
204
|
btnCancel.onDidClick(() => this.discard(), this, this._disposables);
|
|
205
205
|
this._message = createElement("span");
|
|
206
206
|
this._message.className = "message";
|
|
207
207
|
this._message.innerText = ( localize(
|
|
208
|
-
|
|
208
|
+
5389,
|
|
209
209
|
"Invoke a code action, like rename, to see a preview of its changes here."
|
|
210
210
|
));
|
|
211
211
|
parent.appendChild(this._message);
|
|
@@ -280,7 +280,7 @@ let BulkEditPane = class BulkEditPane extends ViewPane {
|
|
|
280
280
|
let message;
|
|
281
281
|
if (conflicts.length === 1) {
|
|
282
282
|
message = ( localize(
|
|
283
|
-
|
|
283
|
+
5390,
|
|
284
284
|
"Cannot apply refactoring because '{0}' has changed in the meantime.",
|
|
285
285
|
this._labelService.getUriLabel(conflicts[0], {
|
|
286
286
|
relative: true
|
|
@@ -288,7 +288,7 @@ let BulkEditPane = class BulkEditPane extends ViewPane {
|
|
|
288
288
|
));
|
|
289
289
|
} else {
|
|
290
290
|
message = ( localize(
|
|
291
|
-
|
|
291
|
+
5391,
|
|
292
292
|
"Cannot apply refactoring because {0} other files have changed in the meantime.",
|
|
293
293
|
conflicts.length
|
|
294
294
|
));
|
|
@@ -102,7 +102,7 @@ class BulkFileOperation {
|
|
|
102
102
|
class BulkCategory {
|
|
103
103
|
static {
|
|
104
104
|
this._defaultMetadata = ( Object.freeze({
|
|
105
|
-
label: ( localize(
|
|
105
|
+
label: ( localize(5392, "Other")),
|
|
106
106
|
icon: Codicon.symbolFile,
|
|
107
107
|
needsConfirmation: false
|
|
108
108
|
}));
|
|
@@ -242,7 +242,7 @@ let BulkEditAccessibilityProvider = class BulkEditAccessibilityProvider {
|
|
|
242
242
|
this._labelService = _labelService;
|
|
243
243
|
}
|
|
244
244
|
getWidgetAriaLabel() {
|
|
245
|
-
return localize(
|
|
245
|
+
return localize(5393, "Bulk Edit");
|
|
246
246
|
}
|
|
247
247
|
getRole(_element) {
|
|
248
248
|
return "checkbox";
|
|
@@ -252,7 +252,7 @@ let BulkEditAccessibilityProvider = class BulkEditAccessibilityProvider {
|
|
|
252
252
|
if (element.edit.textEdits.length > 0) {
|
|
253
253
|
if (element.edit.type & BulkFileOperationType.Rename && element.edit.newUri) {
|
|
254
254
|
return localize(
|
|
255
|
-
|
|
255
|
+
5394,
|
|
256
256
|
"Renaming {0} to {1}, also making text edits",
|
|
257
257
|
this._labelService.getUriLabel(element.edit.uri, {
|
|
258
258
|
relative: true
|
|
@@ -263,7 +263,7 @@ let BulkEditAccessibilityProvider = class BulkEditAccessibilityProvider {
|
|
|
263
263
|
);
|
|
264
264
|
} else if (element.edit.type & BulkFileOperationType.Create) {
|
|
265
265
|
return localize(
|
|
266
|
-
|
|
266
|
+
5395,
|
|
267
267
|
"Creating {0}, also making text edits",
|
|
268
268
|
this._labelService.getUriLabel(element.edit.uri, {
|
|
269
269
|
relative: true
|
|
@@ -271,7 +271,7 @@ let BulkEditAccessibilityProvider = class BulkEditAccessibilityProvider {
|
|
|
271
271
|
);
|
|
272
272
|
} else if (element.edit.type & BulkFileOperationType.Delete) {
|
|
273
273
|
return localize(
|
|
274
|
-
|
|
274
|
+
5396,
|
|
275
275
|
"Deleting {0}, also making text edits",
|
|
276
276
|
this._labelService.getUriLabel(element.edit.uri, {
|
|
277
277
|
relative: true
|
|
@@ -279,7 +279,7 @@ let BulkEditAccessibilityProvider = class BulkEditAccessibilityProvider {
|
|
|
279
279
|
);
|
|
280
280
|
} else {
|
|
281
281
|
return localize(
|
|
282
|
-
|
|
282
|
+
5397,
|
|
283
283
|
"{0}, making text edits",
|
|
284
284
|
this._labelService.getUriLabel(element.edit.uri, {
|
|
285
285
|
relative: true
|
|
@@ -289,7 +289,7 @@ let BulkEditAccessibilityProvider = class BulkEditAccessibilityProvider {
|
|
|
289
289
|
} else {
|
|
290
290
|
if (element.edit.type & BulkFileOperationType.Rename && element.edit.newUri) {
|
|
291
291
|
return localize(
|
|
292
|
-
|
|
292
|
+
5398,
|
|
293
293
|
"Renaming {0} to {1}",
|
|
294
294
|
this._labelService.getUriLabel(element.edit.uri, {
|
|
295
295
|
relative: true
|
|
@@ -299,11 +299,11 @@ let BulkEditAccessibilityProvider = class BulkEditAccessibilityProvider {
|
|
|
299
299
|
})
|
|
300
300
|
);
|
|
301
301
|
} else if (element.edit.type & BulkFileOperationType.Create) {
|
|
302
|
-
return localize(
|
|
302
|
+
return localize(5399, "Creating {0}", this._labelService.getUriLabel(element.edit.uri, {
|
|
303
303
|
relative: true
|
|
304
304
|
}));
|
|
305
305
|
} else if (element.edit.type & BulkFileOperationType.Delete) {
|
|
306
|
-
return localize(
|
|
306
|
+
return localize(5400, "Deleting {0}", this._labelService.getUriLabel(element.edit.uri, {
|
|
307
307
|
relative: true
|
|
308
308
|
}));
|
|
309
309
|
}
|
|
@@ -312,7 +312,7 @@ let BulkEditAccessibilityProvider = class BulkEditAccessibilityProvider {
|
|
|
312
312
|
if (element instanceof TextEditElement) {
|
|
313
313
|
if (element.selecting.length > 0 && element.inserting.length > 0) {
|
|
314
314
|
return localize(
|
|
315
|
-
|
|
315
|
+
5401,
|
|
316
316
|
"line {0}, replacing {1} with {2}",
|
|
317
317
|
element.edit.textEdit.textEdit.range.startLineNumber,
|
|
318
318
|
element.selecting,
|
|
@@ -320,14 +320,14 @@ let BulkEditAccessibilityProvider = class BulkEditAccessibilityProvider {
|
|
|
320
320
|
);
|
|
321
321
|
} else if (element.selecting.length > 0 && element.inserting.length === 0) {
|
|
322
322
|
return localize(
|
|
323
|
-
|
|
323
|
+
5402,
|
|
324
324
|
"line {0}, removing {1}",
|
|
325
325
|
element.edit.textEdit.textEdit.range.startLineNumber,
|
|
326
326
|
element.selecting
|
|
327
327
|
);
|
|
328
328
|
} else if (element.selecting.length === 0 && element.inserting.length > 0) {
|
|
329
329
|
return localize(
|
|
330
|
-
|
|
330
|
+
5403,
|
|
331
331
|
"line {0}, inserting {1}",
|
|
332
332
|
element.edit.textEdit.textEdit.range.startLineNumber,
|
|
333
333
|
element.selecting
|
|
@@ -436,7 +436,7 @@ let FileElementTemplate = class FileElementTemplate {
|
|
|
436
436
|
if (element.edit.type & BulkFileOperationType.Rename && element.edit.newUri) {
|
|
437
437
|
this._label.setResource({
|
|
438
438
|
resource: element.edit.uri,
|
|
439
|
-
name: ( localize(
|
|
439
|
+
name: ( localize(5404, "{0} → {1}", this._labelService.getUriLabel(element.edit.uri, {
|
|
440
440
|
relative: true
|
|
441
441
|
}), this._labelService.getUriLabel(element.edit.newUri, {
|
|
442
442
|
relative: true
|
|
@@ -447,7 +447,7 @@ let FileElementTemplate = class FileElementTemplate {
|
|
|
447
447
|
badges: false
|
|
448
448
|
}
|
|
449
449
|
});
|
|
450
|
-
this._details.innerText = ( localize(
|
|
450
|
+
this._details.innerText = ( localize(5405, "(renaming)"));
|
|
451
451
|
} else {
|
|
452
452
|
const options = {
|
|
453
453
|
matches: createMatches(score),
|
|
@@ -459,9 +459,9 @@ let FileElementTemplate = class FileElementTemplate {
|
|
|
459
459
|
extraClasses: []
|
|
460
460
|
};
|
|
461
461
|
if (element.edit.type & BulkFileOperationType.Create) {
|
|
462
|
-
this._details.innerText = ( localize(
|
|
462
|
+
this._details.innerText = ( localize(5406, "(creating)"));
|
|
463
463
|
} else if (element.edit.type & BulkFileOperationType.Delete) {
|
|
464
|
-
this._details.innerText = ( localize(
|
|
464
|
+
this._details.innerText = ( localize(5407, "(deleting)"));
|
|
465
465
|
options.extraClasses.push("delete");
|
|
466
466
|
} else {
|
|
467
467
|
this._details.innerText = "";
|
|
@@ -544,7 +544,7 @@ let TextEditElementTemplate = class TextEditElementTemplate {
|
|
|
544
544
|
metadata
|
|
545
545
|
} = element.edit.textEdit;
|
|
546
546
|
if (metadata && metadata.description) {
|
|
547
|
-
title = ( localize(
|
|
547
|
+
title = ( localize(5408, "{0} - {1}", metadata.label, metadata.description));
|
|
548
548
|
} else if (metadata) {
|
|
549
549
|
title = metadata.label;
|
|
550
550
|
}
|