mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
@@ -131,17 +131,17 @@ class UpdateLinksOnFileRenameHandler extends Disposable {
|
||||
};
|
||||
|
||||
const alwaysItem: vscode.MessageItem = {
|
||||
title: localize('always.title', "Always automatically update Markdown Links"),
|
||||
title: localize('always.title', "Always"),
|
||||
};
|
||||
|
||||
const neverItem: vscode.MessageItem = {
|
||||
title: localize('never.title', "Never automatically update Markdown Links"),
|
||||
title: localize('never.title', "Never"),
|
||||
};
|
||||
|
||||
const choice = await vscode.window.showInformationMessage(
|
||||
newResources.length === 1
|
||||
? localize('prompt', "Update Markdown links for '{0}'?", path.basename(newResources[0].fsPath))
|
||||
: this.getConfirmMessage(localize('promptMoreThanOne', "Update Markdown link for the following {0} files?", newResources.length), newResources), {
|
||||
: this.getConfirmMessage(localize('promptMoreThanOne', "Update Markdown links for the following {0} files?", newResources.length), newResources), {
|
||||
modal: true,
|
||||
}, rejectItem, acceptItem, alwaysItem, neverItem);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user