]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: NFS enhancements - terminology alignment 68970/head
authorDnyaneshwari Talwekar <dtalwekar@li-4c4c4544-0038-3510-8056-b5c04f473234.ibm.com>
Mon, 18 May 2026 06:55:14 +0000 (12:25 +0530)
committerDnyaneshwari Talwekar <dtalwekar@li-4c4c4544-0038-3510-8056-b5c04f473234.ibm.com>
Mon, 18 May 2026 06:55:14 +0000 (12:25 +0530)
Fixes: https://tracker.ceph.com/issues/76655
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-cluster-details/nfs-cluster-details.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-cluster-details/nfs-cluster-details.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/constants/app.constants.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/enum/icons.enum.ts

index eb6a1ef2b7f0e18fd0fe43f8e585e57fde384212..5605ae9251202e174e544ad5bbcdcda50c9d39f2 100644 (file)
@@ -4,7 +4,7 @@
   >
   {{title | titlecase}}
   <cd-help-text>
-    Lists exports for a cluster
+    Lists shares for a cluster
   </cd-help-text>
   </legend>
   <cd-nfs-list [clusterId]="selection.name"></cd-nfs-list>
index f5d84e823d92f7f9f4d0be26475bfa265db54147..b3c23e0173149497fd14f0a367450a15ed90d2a2 100644 (file)
@@ -8,7 +8,7 @@ import { CdTableSelection } from '~/app/shared/models/cd-table-selection';
   standalone: false
 })
 export class NfsClusterDetailsComponent {
-  title = $localize`Export`;
+  title = $localize`Share`;
   @Input()
   selection: CdTableSelection;
 }
index 0da4913e9b8a417627baf5f48c5528dccd6b0ef0..b47afea1801850d0b83df3196a7b8037f0e4a9ba 100644 (file)
@@ -48,7 +48,7 @@
         </ng-template>
       </div>
 
-      <!-- RGW Export Type -->
+      <!-- RGW Share Type -->
       <div *ngIf="storageBackend === 'RGW' && !isEdit"
            class="form-item">
         <cds-select formControlName="rgw_export_type"
                 i18n>This field is required.</span>
           <span class="invalid-feedback"
                 *ngIf="nfsForm.get('path').hasError('isIsolatedSlash') && nfsForm.get('path').touched"
-                i18n>Export on CephFS volume "<code>/</code>" not allowed.</span>
+                i18n>Share on CephFS volume "<code>/</code>" not allowed.</span>
           <span class="invalid-feedback"
                 *ngIf="nfsForm.showError('path', formDir, 'pattern')"
                 i18n>Path need to start with a '/' and can be followed by a word</span>
                  [invalid]="nfsForm.controls.pseudo.invalid && (nfsForm.controls.pseudo.dirty)">
         </cds-text-label>
         <ng-template #pseudoHelper>
-          <span i18n>The position this export occupies in the Pseudo FS. It must be unique.</span><br/>
-          <span i18n>By using different Pseudo options, the same Path may be exported multiple times.</span>
+          <span i18n>The position this share occupies in the Pseudo FS. It must be unique.</span><br/>
+          <span i18n>By using different Pseudo options, the same Path may be shared multiple times.</span>
         </ng-template>
         <ng-template #pseudoError>
           <span class="invalid-feedback"
                 i18n>This field is required.</span>
           <span class="invalid-feedback"
                 *ngIf="nfsForm.showError('pseudo', formDir, 'pseudoAlreadyExists')"
-                i18n>The pseudo is already in use by another export.</span>
+                i18n>The pseudo is already in use by another share.</span>
           <span class="invalid-feedback"
                 *ngIf="nfsForm.showError('pseudo', formDir, 'pattern')"
                 i18n>Pseudo needs to start with a '/' and can't contain any of the following: &gt;, &lt;, |, &, ( or ).</span>
         </cds-select>
         <ng-template #squashHelper>
           <span *ngIf="nfsForm.getValue('squash') === 'root_squash'"
-                i18n>Maps the root user on the NFS client to an anonymous user/group with limited privileges. This prevents a root client user from having total control over the NFS export.</span>
+                i18n>Maps the root user on the NFS client to an anonymous user/group with limited privileges. This prevents a root client user from having total control over the NFS share.</span>
 
           <span *ngIf="nfsForm.getValue('squash') === 'root_id_squash'"
                 i18n>Maps the root user on the NFS client to an anonymous user/group with limited privileges, preventing root access but retaining non-root group privileges.</span>
 
           <span *ngIf="nfsForm.getValue('squash') === 'all_squash'"
-                i18n>Maps all users on the NFS client to an anonymous user/group with limited privileges, ensuring that no user has special privileges on the NFS export.</span>
+                i18n>Maps all users on the NFS client to an anonymous user/group with limited privileges, ensuring that no user has special privileges on the NFS share.</span>
 
           <span *ngIf="nfsForm.getValue('squash') === 'no_root_squash'"
                 i18n>Allows the root user on the NFS client to retain full root privileges on the NFS server, which may pose security risks.</span>
index dee02d762c59b32d0de64264187e98babcf64d73..b4cd2840fdca7e60a0d7e7473d6a2b2e0f9ba9ba 100644 (file)
@@ -112,7 +112,7 @@ export class NfsFormComponent extends CdForm implements OnInit {
   ) {
     super();
     this.permission = this.authStorageService.getPermissions().pool;
-    this.resource = $localize`NFS export`;
+    this.resource = $localize`NFS share`;
     this.storageBackend = getFsalFromRoute(this.router.url);
   }
 
index 2bf3825bdd7b47d52e2d7a0bcc70c8744bfe783b..7ddee926273c758537b965be375ac3422ed2b089 100644 (file)
@@ -237,7 +237,7 @@ export class NfsListComponent extends ListWithDetails implements OnInit, OnDestr
 
     this.modalRef = this.modalService.show(DeleteConfirmationModalComponent, {
       impact: DeletionImpact.high,
-      itemDescription: $localize`NFS export`,
+      itemDescription: $localize`NFS share`,
       itemNames: [`${cluster_id}:${export_id}`],
       submitActionObservable: () =>
         this.taskWrapper.wrapTaskAroundCall({
index 6d63dd9e9dcd6de3b229457ffcafcae70a1800ce..22673b0ac2d46e3cd969cd11d3a410234d4fec17 100644 (file)
@@ -255,7 +255,7 @@ export class ActionLabelsI18n {
     this.RECONNECT = $localize`Reconnect`;
     this.ADD_STORAGE = $localize`Add Storage`;
 
-    this.NFS_EXPORT = $localize`Create NFS Export`;
+    this.NFS_EXPORT = $localize`Create NFS Share`;
     this.VIEW = $localize`View`;
   }
 }
index ecf4715a55185478da2e22efe8704d18bf0681d3..49bc33d87b30950db1b102f4290d0361f78aa37f 100644 (file)
@@ -79,7 +79,7 @@ export enum Icons {
   eye = 'fa fa-eye', // Observability
   calendar = 'fa fa-calendar',
   externalUrl = 'fa fa-external-link', // links to external page
-  nfsExport = 'fa fa-server', // NFS export
+  nfsExport = 'fa fa-server', // NFS share
   launch = 'launch',
   parentChild = 'parent-child',
   dataTable = 'data-table',