]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: rename 'Zone Group' labels to 'Zonegroup' 66790/head
authorSagar Gopale <sagar.gopale@ibm.com>
Thu, 18 Dec 2025 08:22:15 +0000 (13:52 +0530)
committerSagar Gopale <sagar.gopale@ibm.com>
Mon, 5 Jan 2026 07:03:01 +0000 (12:33 +0530)
Fixes: https://tracker.ceph.com/issues/74249
Signed-off-by: Sagar Gopale <sagar.gopale@ibm.com>
(cherry picked from commit 60fa799d547eb4d94704767fdd659c3431dc0b6b)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/create-rgw-service-entities/create-rgw-service-entities.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zone-form/rgw-multisite-zone-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zonegroup-form/rgw-multisite-zonegroup-form.component.html

14 files changed:
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/create-rgw-service-entities/create-rgw-service-entities.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-multisite-zonegroup-deletion-form/rgw-multisite-zonegroup-deletion-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-storage-class.model.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-details/rgw-multisite-details.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-migrate/rgw-multisite-migrate.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-sync-pipe-modal/rgw-multisite-sync-pipe-modal.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-wizard/rgw-multisite-wizard.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zone-form/rgw-multisite-zone-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zonegroup-form/rgw-multisite-zonegroup-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-overview-dashboard/rgw-overview-dashboard.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-storage-class-form/rgw-storage-class-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-storage-class-list/rgw-storage-class-list.component.ts

index 4625f2850259a840651e671f8e526ee408714c9b..95f909aed72c20f8bdd6e2f006244f836e57063e 100644 (file)
@@ -13,7 +13,7 @@
                         i18n>
           <a class="text-decoration-underline"
              (click)="createMultisiteSetup()">
-             Click here</a> to create a new Realm/Zone Group/Zone
+             Click here</a> to create a new Realm/Zonegroup/Zone
         </cd-alert-panel>
 
         <cd-alert-panel *ngIf="serviceForm.controls.service_type.value === 'oauth2-proxy'"
              *ngIf="serviceForm.controls.service_type.value === 'rgw'">
           <label class="cd-col-form-label"
                  for="zonegroup_name"
-                 i18n>Zone Group</label>
+                 i18n>Zonegroup</label>
           <div class="cd-col-form-input">
             <select class="form-select"
                     id="zonegroup_name"
index 140f314ce537958b0ccb39d872d1e1ce923e42c8..b6e4f805d0ca4b7cdd78d522132f52f3f963a3f8 100644 (file)
@@ -1,6 +1,6 @@
 <cd-modal [modalRef]="activeModal">
   <ng-container i18n="form title"
-                class="modal-title">Create Realm/Zone Group/Zone
+                class="modal-title">Create Realm/Zonegroup/Zone
   </ng-container>
 
   <ng-container class="modal-content">
@@ -10,7 +10,7 @@
           novalidate>
     <div class="modal-body">
       <cd-alert-panel type="info"
-                      spacingClass="mb-3">The realm/zone group/zone created will be set as default and master.
+                      spacingClass="mb-3">The realm/zonegroup/zone created will be set as default and master.
       </cd-alert-panel>
       <div class="form-group row">
         <label class="cd-col-form-label required"
       <div class="form-group row">
         <label class="cd-col-form-label required"
                for="zonegroupName"
-               i18n>Zone Group Name</label>
+               i18n>Zonegroup Name</label>
         <div class="cd-col-form-input">
           <input class="form-control"
                  type="text"
-                 placeholder="Zone group name..."
+                 placeholder="Zonegroup name..."
                  id="zonegroupName"
                  name="zonegroupName"
                  formControlName="zonegroupName">
index f23e017be01e58ff37df60214700980d059c53d3..2f92b0467a043d5cbd434c4dd3790a6db85b8347 100644 (file)
@@ -1,6 +1,6 @@
 <cd-modal [modalRef]="activeModal">
   <ng-container i18n="form title"
-                class="modal-title">Delete Zone Group</ng-container>
+                class="modal-title">Delete Zonegroup</ng-container>
 
   <ng-container class="modal-content">
     <form name="zonegroupForm"
@@ -8,12 +8,12 @@
           novalidate>
       <div class="modal-body ms-4">
         <label i18n>
-          This will delete your <strong>{{zonegroup?.name}}</strong> Zone Group.
+          This will delete your <strong>{{zonegroup?.name}}</strong> Zonegroup.
         </label>
         <ng-container *ngIf="zonesList.length > 0">
           <label class="mt-3"
                  i18n>
-              Do you want to delete the associated zones and pools with the <strong>{{zonegroup?.name}}</strong> Zone Group?</label>
+              Do you want to delete the associated zones and pools with the <strong>{{zonegroup?.name}}</strong> Zonegroup?</label>
           <ng-container *ngIf="includedPools.size > 0">
             <label i18n>
               This will delete the following:</label>
index 370fa78d0b640edec8a928b0e6efe4eb55ac7815..bb9cb0143e0228e2e690d2d2737c7d3feec68664 100644 (file)
@@ -278,7 +278,7 @@ export const READTHROUGH_RESTORE_DAYS_TEXT = $localize`The days for which object
 
 export const RESTORE_STORAGE_CLASS_TEXT = $localize`The storage class to which object data is to be restored.`;
 
-export const ZONEGROUP_TEXT = $localize`A Zone Group is a logical grouping of one or more zones that share the same data
+export const ZONEGROUP_TEXT = $localize`A Zonegroup is a logical grouping of one or more zones that share the same data
                   and metadata, allowing for multi-site replication and geographic distribution of
                   data.`;
 
index b1b6b9be798baabe3b66bd0a1be8dc371d1d2945..07d22eb77ffd3ebfddf00e86b2db075938a327b2 100644 (file)
@@ -54,7 +54,7 @@ export class RgwDaemonListComponent extends ListWithDetails implements OnInit {
         flexGrow: 2
       },
       {
-        name: $localize`Zone Group`,
+        name: $localize`Zonegroup`,
         prop: 'zonegroup_name',
         flexGrow: 2
       },
index 543dbd7408197273e14aeea52d8ca21512d31010..c980c9d32eec9156425932156146b155712cb633 100644 (file)
@@ -58,9 +58,9 @@ export class RgwMultisiteDetailsComponent implements OnDestroy, OnInit {
 
   messages = {
     noDefaultRealm: $localize`Please create a default realm first to enable this feature`,
-    noMasterZone: $localize`Please create a master zone for each zone group to enable this feature`,
+    noMasterZone: $localize`Please create a master zone for each zonegroup to enable this feature`,
     noRealmExists: $localize`No realm exists`,
-    disableExport: $localize`Please create master zone group and master zone for each of the realms`
+    disableExport: $localize`Please create master zonegroup and master zone for each of the realms`
   };
 
   icons = Icons;
@@ -240,7 +240,7 @@ export class RgwMultisiteDetailsComponent implements OnDestroy, OnInit {
       {
         permission: 'create',
         icon: Icons.add,
-        name: this.actionLabels.CREATE + ' Zone Group',
+        name: this.actionLabels.CREATE + ' Zonegroup',
         click: () => this.openModal('zonegroup'),
         disable: () => this.getDisable(),
         visible: () => !this.showMigrateAndReplicationActions
index e9d1c7e6926686c9bbaf048e1591028da35de2e0..aa3f59ae9d750db6790e73bc4572003f56793ebc 100644 (file)
@@ -2,7 +2,7 @@
   <ng-container i18n="form title"
                 class="modal-title">Migrate Single Site to Multi-site
     <cd-helper>
-      <span>Migrate from a single-site deployment with a default zone group and zone to a multi-site system</span>
+      <span>Migrate from a single-site deployment with a default zonegroup and zone to a multi-site system</span>
     </cd-helper>
   </ng-container>
 
       <div class="form-group row">
         <label class="cd-col-form-label required"
                for="zonegroupName"
-               i18n>Rename default zone group</label>
+               i18n>Rename default zonegroup</label>
         <div class="cd-col-form-input">
           <input class="form-control"
                  type="text"
-                 placeholder="Zone group name..."
+                 placeholder="Zonegroup name..."
                  id="zonegroupName"
                  name="zonegroupName"
                  formControlName="zonegroupName">
                 i18n>This field is required.</span>
           <span class="invalid-feedback"
                 *ngIf="multisiteMigrateForm.showError('zonegroupName', formDir, 'uniqueName')"
-                i18n>The chosen zone group name is already in use.</span>
+                i18n>The chosen zonegroup name is already in use.</span>
         </div>
       </div>
       <div class="form-group row">
         <label class="cd-col-form-label required"
                for="zonegroup_endpoints"
-               i18n>Zone group Endpoints
+               i18n>Zonegroup Endpoints
         </label>
         <div class="cd-col-form-input">
           <input class="form-control"
index aeaf66b3d3e13509b1609f7d94e24f452183bf31..92f94d283c5c903b4c74138f647824dbc029e0ba 100755 (executable)
@@ -19,7 +19,7 @@ import { ComboBoxItem } from '~/app/shared/models/combo-box.model';
 
 const ALL_ZONES = $localize`All zones (*)`;
 const ALL_BUCKET_SELECTED_HELP_TEXT =
-  'If no value is provided, all the buckets in the zone group will be selected.';
+  'If no value is provided, all the buckets in the zonegroup will be selected.';
 
 interface PipeParams {
   source: { zones: string[]; bucket: string };
index 199b9d854d2c101e67ef1e67da18994b94d57308..6bc67ad5b4cbfb6c4a6a9de72de927a42bc57250 100644 (file)
                 <div class="form-group row">
                   <label class="cd-col-form-label required"
                          for="zonegroupName"
-                         i18n>Zone Group Name</label>
+                         i18n>Zonegroup Name</label>
                   <div class="cd-col-form-input">
                     <input class="form-control"
                            type="text"
index f2b8cf2d5b5adcef81827121c9a68c1f51bd0acc..ca96ff0567477ae8482a11f18eba6436b8356b66 100644 (file)
@@ -11,7 +11,7 @@
       <div class="form-group row">
         <label class="cd-col-form-label"
                for="selectedZonegroup"
-               i18n>Select Zone Group</label>
+               i18n>Select Zonegroup</label>
         <div class="cd-col-form-input">
           <select class="form-select"
                   id="selectedZonegroup"
@@ -23,6 +23,7 @@
                     [value]="zonegroupName.name"
                     [selected]="zonegroupName.name === multisiteZoneForm.getValue('selectedZonegroup')">
             {{ zonegroupName.name }}
+
             </option>
           </select>
         </div>
@@ -55,7 +56,7 @@
                    for="default_zone"
                    i18n>Default</label>
             <span *ngIf="disableDefault && action === 'create'">
-              <cd-helper i18n>Default zone can only exist in a default zone group.
+              <cd-helper i18n>Default zone can only exist in a default zonegroup.
               </cd-helper>
             </span>
             <span *ngIf="isDefaultZone">
@@ -77,7 +78,7 @@
                    for="master_zone"
                    i18n>Master</label>
             <span *ngIf="disableMaster">
-              <cd-helper i18n>Master zone already exists for the selected zone group.
+              <cd-helper i18n>Master zone already exists for the selected zonegroup.
               </cd-helper>
             </span>
             <span *ngIf="isMasterZone">
index 88969a237c6b1143d907815b0f77cf6992479046..85f60e8396faa0f1d654b03829d40bc089c7f29e 100644 (file)
@@ -1,6 +1,6 @@
 <cd-modal [modalRef]="activeModal">
   <ng-container i18n="form title"
-                class="modal-title">{{ action | titlecase }} Zone Group</ng-container>
+                class="modal-title">{{ action | titlecase }} Zonegroup</ng-container>
 
   <ng-container class="modal-content">
     <form name="multisiteZonegroupForm"
       <div class="form-group row">
         <label class="cd-col-form-label required"
                for="zonegroupName"
-               i18n>Zone Group Name</label>
+               i18n>Zonegroup Name</label>
         <div class="cd-col-form-input">
           <input class="form-control"
                  type="text"
-                 placeholder="Zone group name..."
+                 placeholder="Zonegroup name..."
                  id="zonegroupName"
                  name="zonegroupName"
                  formControlName="zonegroupName">
@@ -43,7 +43,7 @@
                 i18n>This field is required.</span>
           <span class="invalid-feedback"
                 *ngIf="multisiteZonegroupForm.showError('zonegroupName', formDir, 'uniqueName')"
-                i18n>The chosen zone group name is already in use.</span>
+                i18n>The chosen zonegroup name is already in use.</span>
         <div class="custom-control custom-checkbox">
           <input class="form-check-input"
                  id="default_zonegroup"
@@ -55,7 +55,7 @@
                  for="default_zonegroup"
                  i18n>Default</label>
           <span *ngIf="disableDefault && action === 'create'">
-            <cd-helper i18n>Zone group doesn't belong to the default realm.</cd-helper>
+            <cd-helper i18n>Zonegroup doesn't belong to the default realm.</cd-helper>
           </span>
           <cd-helper *ngIf="action === 'edit' && !info.data.is_default">
             <span i18n>Please consult the&nbsp;<cd-doc section="rgw-multisite"></cd-doc>&nbsp;to follow the failover mechanism</span>
@@ -73,7 +73,7 @@
                  for="master_zonegroup"
                  i18n>Master</label>
           <span *ngIf="disableMaster && action === 'create'">
-            <cd-helper i18n>Multiple master zone groups can't be configured. If you want to create a new zone group and make it the master zone group, you must delete the default zone group.</cd-helper>
+            <cd-helper i18n>Multiple master zonegroups can't be configured. If you want to create a new zonegroup and make it the master zonegroup, you must delete the default zonegroup.</cd-helper>
           </span>
           <cd-helper *ngIf="action === 'edit' && !info.data.is_master">
             <span i18n>Please consult the&nbsp;<cd-doc section="rgw-multisite"></cd-doc>&nbsp;to follow the failover mechanism</span>
     <div class="modal-footer">
       <cd-form-button-panel (submitActionEvent)="submit()"
                             [form]="multisiteZonegroupForm"
-                            [submitText]="(action | titlecase) + ' ' + 'Zone Group'"></cd-form-button-panel>
+                            [submitText]="(action | titlecase) + ' ' + 'Zonegroup'"></cd-form-button-panel>
     </div>
     </form>
   </ng-container>
index 16963b069206f147cbe9ee861270f4ad6c027438..69ab46002049f09079065a1d48cc54ce5c5cda5a 100644 (file)
@@ -19,7 +19,7 @@
 
       <cd-card-row [data]="rgwZonegroupCount"
                    link="/rgw/multisite"
-                   title="Zone Group"
+                   title="Zonegroup"
                    summaryType="simplified"
                    *ngIf="rgwZonegroupCount != null"></cd-card-row>
 
index 821c529a52afbb5087c660944b33f52b5ab5dae3..1c0de9c9889d6561743cbad7dc50114245805460 100644 (file)
@@ -40,7 +40,7 @@
         <!-- Zonegroup -->
         <div cdsCol>
           <cds-select
-            label="Zone Group Name"
+            label="Zonegroup Name"
             i18n-label
             formControlName="zonegroup"
             id="zonegroup"
index 57f966ffff9153e0bd04ec29059b64e32f9efa94..023de5232e8d22627fc2ba9eb63121ac3553fc1e 100644 (file)
@@ -75,7 +75,7 @@ export class RgwStorageClassListComponent extends ListWithDetails implements OnI
         flexGrow: 2
       },
       {
-        name: $localize`Zone Group`,
+        name: $localize`Zonegroup`,
         prop: 'zonegroup_name',
         flexGrow: 2
       },