Skip to content

Commit

Permalink
Shorten markdown link button titles
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbvz committed Oct 26, 2022
1 parent a887d72 commit e670974
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e670974

Please sign in to comment.