Make sure we localize the default label

This commit is contained in:
Matt Bierner
2020-03-12 20:48:36 -07:00
parent efd7548df6
commit a79af6ef02

View File

@@ -617,7 +617,7 @@ class MainThreadCustomEditorModel extends Disposable implements ICustomEditorMod
this._undoService.pushElement({
type: UndoRedoElementType.Resource,
resource: this.resource,
label: label ?? 'Edit',
label: label ?? localize('defaultEditLabel', "Edit"),
undo: async () => {
if (!this._editable) {
return;