From 3f821374e4fd63ac4a00afae6d9f60eb4b8067ec Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Thu, 26 Oct 2017 15:55:20 +0200 Subject: [PATCH] tweak wording (for #31182) --- .../workspace/node/workspaceEditingService.ts | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/vs/workbench/services/workspace/node/workspaceEditingService.ts b/src/vs/workbench/services/workspace/node/workspaceEditingService.ts index 041c2e38f1b..28cd96e452d 100644 --- a/src/vs/workbench/services/workspace/node/workspaceEditingService.ts +++ b/src/vs/workbench/services/workspace/node/workspaceEditingService.ts @@ -167,17 +167,17 @@ export class WorkspaceEditingService implements IWorkspaceEditingService { } private informUserOnce(): void { - if (product.quality !== 'stable') { - return; // only for stable - } + // if (product.quality !== 'stable') { + // return; // only for stable + // } - if (this.storageService.getBoolean(WorkspaceEditingService.INFO_MESSAGE_KEY)) { - return; // user does not want to see it again - } + // if (this.storageService.getBoolean(WorkspaceEditingService.INFO_MESSAGE_KEY)) { + // return; // user does not want to see it again + // } - const okAction = new Action( - 'enterWorkspace.ok', - nls.localize('integrity.ok', "OK"), + const closeAction = new Action( + 'enterWorkspace.close', + nls.localize('enterWorkspace.close', "Close"), null, true, () => TPromise.as(true) @@ -208,8 +208,8 @@ export class WorkspaceEditingService implements IWorkspaceEditingService { ); this.messageService.show(Severity.Info, { - message: nls.localize('enterWorkspace.prompt', "The opened workspace changed into a multi-root workspace."), - actions: [okAction, moreInfoAction, dontShowAgainAction] + message: nls.localize('enterWorkspace.prompt', "Learn more about working with multiple folders in VS Code."), + actions: [moreInfoAction, dontShowAgainAction, closeAction] }); } -- GitLab