]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix Source column i18n issue in RBD configuration tables 35822/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 05:21:12 +0000 (13:21 +0800)
Fixes: https://tracker.ceph.com/issues/43971
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
(cherry picked from commit c817900a77b4cd1830f19f2e1202eca4e8be76f3)

Conflicts:
  - src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list/rbd-configuration-list.component.html
    Formatting change in the master, use the code in the master to fix.
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list/rbd-configuration-list.component.html

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