]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix Source column i18n issue in RBD configuration tables 35819/head
authorKiefer Chang <kiefer.chang@suse.com>
Tue, 23 Jun 2020 08:45:58 +0000 (16:45 +0800)
committerKiefer Chang <kiefer.chang@suse.com>
Mon, 29 Jun 2020 03:39:06 +0000 (11:39 +0800)
Fixes: https://tracker.ceph.com/issues/43971
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
(cherry picked from commit c817900a77b4cd1830f19f2e1202eca4e8be76f3)

src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list/rbd-configuration-list.component.html

index 87ca55c20fbe25f79c5e3f01768686689fb26472..64364f67da63ce5a56918c0c6e1ccea35a76c130 100644 (file)
 
   <div [ngSwitch]="value">
     <span *ngSwitchCase="'global'"
-          i18n>{{ value | titlecase }}</span>
+          i18n>Global</span>
     <strong *ngSwitchCase="'image'"
-            i18n>{{ value | titlecase }}</strong>
+            i18n>Image</strong>
     <strong *ngSwitchCase="'pool'"
-            i18n>{{ value | titlecase }}</strong>
+            i18n>Pool</strong>
   </div>
 </ng-template>