fixes https://tracker.ceph.com/issues/64152
this.MIGRATE = $localize`Migrate to Multi-Site`;
Just like other action verbs we should set this.Migrate = "MIGRATE" only.
This will require rephrasing in the following places as well:
1. https://github.com/ceph/ceph/blob/
d3256c484136a1b32b79a904861f681a9248ba3c/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-details/rgw-multisite-details.component.ts#L223-L228
2. https://github.com/ceph/ceph/blob/
d3256c484136a1b32b79a904861f681a9248ba3c/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-migrate/rgw-multisite-migrate.component.ts#L180-L18
Signed-off-by: Afreen <afreen23.git@gmail.com>
</div>
<div class="modal-footer">
<cd-form-button-panel (submitActionEvent)="submit()"
- [submitText]="actionLabels.MIGRATE"
+ [submitText]="actionLabels.MIGRATE + ' ' + 'to Multi-site'"
[form]="multisiteMigrateForm"></cd-form-button-panel>
</div>
</form>
() => {
this.notificationService.show(
NotificationType.success,
- $localize`${this.actionLabels.MIGRATE} done successfully`
+ $localize`Migration done successfully`
);
this.submitAction.emit();
this.activeModal.close();
this.IMPORT = $localize`Import`;
- this.MIGRATE = $localize`Migrate to Multi-site`;
+ this.MIGRATE = $localize`Migrate`;
/* Destroy an existing item */
this.DELETE = $localize`Delete`;