mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
Make sure we localize the default label
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user