Merge pull request #172571 from microsoft/tyriar/143701

Revert "tweak command name (#168214)"
This commit is contained in:
Daniel Imms
2023-01-26 11:09:08 -08:00
committed by GitHub
@@ -196,8 +196,8 @@ export class ClearCommandHistoryAction extends Action2 {
constructor() {
super({
id: 'workbench.action.clearPreviousSessionCommandHistory',
title: { value: localize('clearPreviousSessionCommandHistory', "Clear Previous Session Command History"), original: 'Clear Previous Session Command History' },
id: 'workbench.action.clearCommandHistory',
title: { value: localize('clearCommandHistory', "Clear Command History"), original: 'Clear Command History' },
f1: true
});
}
@@ -212,7 +212,7 @@ export class ClearCommandHistoryAction extends Action2 {
// Ask for confirmation
const { confirmed } = await dialogService.confirm({
message: localize('confirmClearMessage', "Do you want to clear the previous session command history?"),
message: localize('confirmClearMessage', "Do you want to clear the history of recently used commands?"),
detail: localize('confirmClearDetail', "This action is irreversible!"),
primaryButton: localize({ key: 'clearButtonLabel', comment: ['&& denotes a mnemonic'] }, "&&Clear"),
type: 'warning'