mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Smart pasting results in a new widget label (#189098)
* add and localize smart label
This commit is contained in:
parent
dd149c2255
commit
070707dffc
|
@ -40,7 +40,7 @@ class PasteLinkEditProvider implements vscode.DocumentPasteEditProvider {
|
|||
return;
|
||||
}
|
||||
|
||||
uriEdit.label = pasteEdit.label;
|
||||
uriEdit.label = pasteUrlSetting === PasteUrlAsFormattedLink.Smart ? vscode.l10n.t('Smartly Insert Link') : pasteEdit.label;
|
||||
uriEdit.additionalEdit = pasteEdit.additionalEdits;
|
||||
return uriEdit;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue