mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-07 09:35:41 -05:00
remove the alert role from the wizard page title (#9653)
* announce page change * Use status() and update message * localize the page number text * comments
This commit is contained in:
@@ -21,6 +21,7 @@ import { Emitter } from 'vs/base/common/event';
|
||||
import { IThemeService } from 'vs/platform/theme/common/themeService';
|
||||
import { IThemable } from 'vs/base/common/styler';
|
||||
import { attachTabbedPanelStyler } from 'sql/workbench/common/styler';
|
||||
import { localize } from 'vs/nls';
|
||||
|
||||
export class DialogPane extends Disposable implements IThemable {
|
||||
private _tabbedPanel: TabbedPanel;
|
||||
@@ -47,6 +48,10 @@ export class DialogPane extends Disposable implements IThemable {
|
||||
super();
|
||||
}
|
||||
|
||||
public get pageNumberDisplayText(): string {
|
||||
return localize('wizardPageNumberDisplayText', "Step {0}", this.pageNumber);
|
||||
}
|
||||
|
||||
public createBody(container: HTMLElement): HTMLElement {
|
||||
this._body = DOM.append(container, DOM.$('div.dialogModal-pane'));
|
||||
if (typeof this._content === 'string' || this._content.length < 2) {
|
||||
|
||||
Reference in New Issue
Block a user