mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
@@ -246,6 +246,7 @@ export const IMPACT = localize('sql.migration.impact', "Impact");
|
|||||||
export const ALL_FIELDS_REQUIRED = localize('sql.migration.all.fields.required', 'All fields are required.');
|
export const ALL_FIELDS_REQUIRED = localize('sql.migration.all.fields.required', 'All fields are required.');
|
||||||
|
|
||||||
//Summary Page
|
//Summary Page
|
||||||
|
export const START_MIGRATION_TEXT = localize('sql.migration.start.migration.button', "Start migration");
|
||||||
export const SUMMARY_PAGE_TITLE = localize('sql.migration.summary.page.title', "Summary");
|
export const SUMMARY_PAGE_TITLE = localize('sql.migration.summary.page.title', "Summary");
|
||||||
export const SUMMARY_MI_TYPE = localize('sql.migration.summary.mi.type', "Azure SQL Managed Instance");
|
export const SUMMARY_MI_TYPE = localize('sql.migration.summary.mi.type', "Azure SQL Managed Instance");
|
||||||
export const SUMMARY_VM_TYPE = localize('sql.migration.summary.vm.type', "SQL Server on Azure Virtual Machine");
|
export const SUMMARY_VM_TYPE = localize('sql.migration.summary.vm.type', "SQL Server on Azure Virtual Machine");
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ export type Issues = {
|
|||||||
};
|
};
|
||||||
export class AssessmentResultsDialog {
|
export class AssessmentResultsDialog {
|
||||||
|
|
||||||
private static readonly OkButtonText: string = 'OK';
|
private static readonly SelectButtonText: string = 'Select';
|
||||||
private static readonly CancelButtonText: string = 'Cancel';
|
private static readonly CancelButtonText: string = 'Cancel';
|
||||||
|
|
||||||
private _isOpen: boolean = false;
|
private _isOpen: boolean = false;
|
||||||
@@ -68,7 +68,7 @@ export class AssessmentResultsDialog {
|
|||||||
this._isOpen = true;
|
this._isOpen = true;
|
||||||
this.dialog = azdata.window.createModelViewDialog(this.title, this.title, 'wide');
|
this.dialog = azdata.window.createModelViewDialog(this.title, this.title, 'wide');
|
||||||
|
|
||||||
this.dialog.okButton.label = AssessmentResultsDialog.OkButtonText;
|
this.dialog.okButton.label = AssessmentResultsDialog.SelectButtonText;
|
||||||
this._disposables.push(this.dialog.okButton.onClick(async () => await this.execute()));
|
this._disposables.push(this.dialog.okButton.onClick(async () => await this.execute()));
|
||||||
|
|
||||||
this.dialog.cancelButton.label = AssessmentResultsDialog.CancelButtonText;
|
this.dialog.cancelButton.label = AssessmentResultsDialog.CancelButtonText;
|
||||||
|
|||||||
@@ -109,6 +109,8 @@ export class WizardController {
|
|||||||
}, {});
|
}, {});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this._wizardObject.doneButton.label = loc.START_MIGRATION_TEXT;
|
||||||
|
|
||||||
this._wizardObject.doneButton.onClick(e => {
|
this._wizardObject.doneButton.onClick(e => {
|
||||||
sendSqlMigrationActionEvent(
|
sendSqlMigrationActionEvent(
|
||||||
TelemetryViews.SqlMigrationWizard,
|
TelemetryViews.SqlMigrationWizard,
|
||||||
|
|||||||
Reference in New Issue
Block a user