From e022f4a0d173c2d303f9f993c51f4ee76f6702bc Mon Sep 17 00:00:00 2001 From: Anthony Dresser Date: Fri, 13 Apr 2018 15:07:09 -0700 Subject: [PATCH] add title to back button (#1154) --- src/sql/base/browser/ui/modal/modal.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sql/base/browser/ui/modal/modal.ts b/src/sql/base/browser/ui/modal/modal.ts index bd0e6d47e4..81f0671b49 100644 --- a/src/sql/base/browser/ui/modal/modal.ts +++ b/src/sql/base/browser/ui/modal/modal.ts @@ -20,6 +20,7 @@ import { IContextKeyService, RawContextKey, IContextKey } from 'vs/platform/cont import { Button } from 'sql/base/browser/ui/button/button'; import * as TelemetryUtils from 'sql/common/telemetryUtilities'; import * as TelemetryKeys from 'sql/common/telemetryKeys'; +import { localize } from 'vs/nls'; export const MODAL_SHOWING_KEY = 'modalShowing'; export const MODAL_SHOWING_CONTEXT = new RawContextKey>(MODAL_SHOWING_KEY, []); @@ -155,6 +156,7 @@ export abstract class Modal extends Disposable implements IThemable { modalHeader.div({ class: 'modal-go-back' }, (cellContainer) => { this._backButton = new Button(cellContainer); this._backButton.icon = 'backButtonIcon'; + this._backButton.title = localize('modalBack', "Back"); }); } if (this._modalOptions.hasTitleIcon) {