mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-22 19:29:17 +00:00
Git - adjust warning message and actions (#274508)
This commit is contained in:
@@ -5367,8 +5367,8 @@ export class CommandCenter {
|
||||
return;
|
||||
}
|
||||
|
||||
const message = l10n.t('Are you sure you want to DELETE branch "{0}"? This action will permanently remove the branch reference from the repository.', artifact.name);
|
||||
const yes = l10n.t('Yes');
|
||||
const message = l10n.t('Are you sure you want to delete branch "{0}"? This action will permanently remove the branch reference from the repository.', artifact.name);
|
||||
const yes = l10n.t('Delete Branch');
|
||||
const result = await window.showWarningMessage(message, { modal: true }, yes);
|
||||
if (result !== yes) {
|
||||
return;
|
||||
@@ -5383,8 +5383,8 @@ export class CommandCenter {
|
||||
return;
|
||||
}
|
||||
|
||||
const message = l10n.t('Are you sure you want to DELETE tag "{0}"? This action will permanently remove the tag reference from the repository.', artifact.name);
|
||||
const yes = l10n.t('Yes');
|
||||
const message = l10n.t('Are you sure you want to delete tag "{0}"? This action will permanently remove the tag reference from the repository.', artifact.name);
|
||||
const yes = l10n.t('Delete Tag');
|
||||
const result = await window.showWarningMessage(message, { modal: true }, yes);
|
||||
if (result !== yes) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user