Skip to content

Commit 2218c35

Browse files
authored
Merge pull request ceph#55312 from afreen23/fix-55270
mgr/dashboard: Code refactor rgw migrate component for using correctly the MIGRATE action verb Reviewed-by: Pedro Gonzalez Gomez <[email protected]> Reviewed-by: Nizamudeen A <[email protected]>
2 parents 12febc9 + 946a26c commit 2218c35

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-migrate/rgw-multisite-migrate.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
</div>
147147
<div class="modal-footer">
148148
<cd-form-button-panel (submitActionEvent)="submit()"
149-
[submitText]="actionLabels.MIGRATE"
149+
[submitText]="actionLabels.MIGRATE + ' ' + 'to Multi-site'"
150150
[form]="multisiteMigrateForm"></cd-form-button-panel>
151151
</div>
152152
</form>

src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-migrate/rgw-multisite-migrate.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export class RgwMultisiteMigrateComponent implements OnInit {
181181
() => {
182182
this.notificationService.show(
183183
NotificationType.success,
184-
$localize`${this.actionLabels.MIGRATE} done successfully`
184+
$localize`Migration done successfully`
185185
);
186186
this.submitAction.emit();
187187
this.activeModal.close();

src/pybind/mgr/dashboard/frontend/src/app/shared/constants/app.constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class ActionLabelsI18n {
150150

151151
this.IMPORT = $localize`Import`;
152152

153-
this.MIGRATE = $localize`Migrate to Multi-site`;
153+
this.MIGRATE = $localize`Migrate`;
154154

155155
/* Destroy an existing item */
156156
this.DELETE = $localize`Delete`;

0 commit comments

Comments
 (0)