tweak command name (#168214)

fix #143701
This commit is contained in:
Megan Rogge 2022-12-06 14:40:31 -06:00 committed by GitHub
parent 73c9764d50
commit 3c84e0d763
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,8 +177,8 @@ export class ClearCommandHistoryAction extends Action2 {
constructor() {
super({
id: 'workbench.action.clearCommandHistory',
title: { value: localize('clearCommandHistory', "Clear Command History"), original: 'Clear Command History' },
id: 'workbench.action.clearPreviousSessionCommandHistory',
title: { value: localize('clearPreviousSessionCommandHistory', "Clear Previous Session Command History"), original: 'Clear Previous Session Command History' },
f1: true
});
}
@ -193,7 +193,7 @@ export class ClearCommandHistoryAction extends Action2 {
// Ask for confirmation
const { confirmed } = await dialogService.confirm({
message: localize('confirmClearMessage', "Do you want to clear the history of recently used commands?"),
message: localize('confirmClearMessage', "Do you want to clear the previous session command history?"),
detail: localize('confirmClearDetail', "This action is irreversible!"),
primaryButton: localize({ key: 'clearButtonLabel', comment: ['&& denotes a mnemonic'] }, "&&Clear"),
type: 'warning'