Rename Hide Chat to Hide AI Features

This commit is contained in:
Nick Trogh
2025-07-31 19:14:12 +02:00
parent ccd083f17d
commit 58273dffef

View File

@@ -994,7 +994,7 @@ export class ChatSetupContribution extends Disposable implements IWorkbenchContr
class ChatSetupHideAction extends Action2 {
static readonly ID = 'workbench.action.chat.hideSetup';
static readonly TITLE = localize2('hideChatSetup', "Hide Chat");
static readonly TITLE = localize2('hideChatSetup', "Hide AI Features");
constructor() {
super({
@@ -1018,9 +1018,9 @@ export class ChatSetupContribution extends Disposable implements IWorkbenchContr
const dialogService = accessor.get(IDialogService);
const { confirmed } = await dialogService.confirm({
message: localize('hideChatSetupConfirm', "Are you sure you want to hide Chat?"),
detail: localize('hideChatSetupDetail', "You can restore Chat by running the '{0}' command.", CHAT_SETUP_ACTION_LABEL.value),
primaryButton: localize('hideChatSetupButton', "Hide Chat")
message: localize('hideChatSetupConfirm', "Are you sure you want to hide AI features?"),
detail: localize('hideChatSetupDetail', "You can restore AI features by running the '{0}' command.", CHAT_SETUP_ACTION_LABEL.value),
primaryButton: localize('hideChatSetupButton', "Hide AI Features")
});
if (!confirmed) {