mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Update IR Revalidation button to accurate name (#24283)
This commit is contained in:
@@ -802,7 +802,7 @@ export const VALIDATION_STATE_FAILED = localize('sql.migration.validation.state.
|
||||
export const VALIDATE_IR_DONE_BUTTON = localize('sql.migration.validate.ir.done.button', "Done");
|
||||
export const VALIDATE_IR_HEADING = localize('sql.migration.validate.ir.heading', "We are validating the following:");
|
||||
export const VALIDATE_IR_START_VALIDATION = localize('sql.migration.validate.ir.start.validation', "Start validation");
|
||||
export const VALIDATE_IR_FAILED_REVALIDATION = localize('sql.migration.validate.ir.failed.revalidation', "Revalidate failed steps");
|
||||
export const VALIDATE_IR_UNSUCCESSFUL_REVALIDATION = localize('sql.migration.validate.ir.unsuccessful.revalidation', "Revalidate unsuccessful steps");
|
||||
export const VALIDATE_IR_STOP_VALIDATION = localize('sql.migration.validate.ir.stop.validation', "Stop validation");
|
||||
export const VALIDATE_IR_COPY_RESULTS = localize('sql.migration.validate.ir.copy.results', "Copy validation results");
|
||||
export const VALIDATE_IR_RESULTS_HEADING = localize('sql.migration.validate.ir.results.heading', "Validation step details");
|
||||
|
||||
@@ -151,8 +151,8 @@ export class ValidateIrDialog {
|
||||
iconPath: IconPathHelper.redo,
|
||||
iconHeight: 18,
|
||||
iconWidth: 18,
|
||||
width: 150,
|
||||
label: constants.VALIDATE_IR_FAILED_REVALIDATION,
|
||||
width: 170,
|
||||
label: constants.VALIDATE_IR_UNSUCCESSFUL_REVALIDATION,
|
||||
enabled: false,
|
||||
}).component();
|
||||
|
||||
@@ -161,7 +161,7 @@ export class ValidateIrDialog {
|
||||
iconPath: IconPathHelper.copy,
|
||||
iconHeight: 18,
|
||||
iconWidth: 18,
|
||||
width: 150,
|
||||
width: 140,
|
||||
label: constants.VALIDATE_IR_COPY_RESULTS,
|
||||
enabled: false,
|
||||
}).component();
|
||||
@@ -172,7 +172,7 @@ export class ValidateIrDialog {
|
||||
|
||||
this._disposables.push(
|
||||
this._revalidationButton.onDidClick(
|
||||
async (e) => await this._runFailedRevalidation()));
|
||||
async (e) => await this._runUnsuccessfulRevalidation()));
|
||||
this._disposables.push(
|
||||
this._cancelButton.onDidClick(
|
||||
e => {
|
||||
@@ -300,7 +300,7 @@ export class ValidateIrDialog {
|
||||
}
|
||||
}
|
||||
|
||||
private async _runFailedRevalidation(results?: ValidationResult[]): Promise<void> {
|
||||
private async _runUnsuccessfulRevalidation(results?: ValidationResult[]): Promise<void> {
|
||||
try {
|
||||
this._startLoader.loading = true;
|
||||
this._startButton.enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user