mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-11 02:32:35 -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.');
|
||||
|
||||
//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_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");
|
||||
|
||||
@@ -18,7 +18,7 @@ export type Issues = {
|
||||
};
|
||||
export class AssessmentResultsDialog {
|
||||
|
||||
private static readonly OkButtonText: string = 'OK';
|
||||
private static readonly SelectButtonText: string = 'Select';
|
||||
private static readonly CancelButtonText: string = 'Cancel';
|
||||
|
||||
private _isOpen: boolean = false;
|
||||
@@ -68,7 +68,7 @@ export class AssessmentResultsDialog {
|
||||
this._isOpen = true;
|
||||
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.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 => {
|
||||
sendSqlMigrationActionEvent(
|
||||
TelemetryViews.SqlMigrationWizard,
|
||||
|
||||
Reference in New Issue
Block a user