Changing the start for Schema compare and adding some text (#5356)

* Dialog Ok will not start Schema compare explit compare will. Adding wait text.

* Fixing variable name and spelling
This commit is contained in:
udeeshagautam
2019-05-05 11:22:32 -07:00
committed by GitHub
parent ab0cd71d10
commit 08ed9d285e
2 changed files with 34 additions and 14 deletions

View File

@@ -11,7 +11,7 @@ import * as os from 'os';
import { SchemaCompareResult } from '../schemaCompareResult';
const localize = nls.loadMessageBundle();
const CompareButtonText: string = localize('schemaCompareDialog.compare', 'Compare');
const OkButtonText: string = localize('schemaCompareDialog.ok', 'Ok');
const CancelButtonText: string = localize('schemaCompareDialog.cancel', 'Cancel');
const SourceTitle: string = localize('schemaCompareDialog.SourceTitle', 'Source');
const TargetTitle: string = localize('schemaCompareDialog.TargetTitle', 'Target');
@@ -75,7 +75,7 @@ export class SchemaCompareDialog {
this.initializeDialog();
this.dialog.okButton.label = CompareButtonText;
this.dialog.okButton.label = OkButtonText;
this.dialog.okButton.onClick(async () => await this.execute());
this.dialog.cancelButton.label = CancelButtonText;