]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Remove i18n Warning about duplicate id 41255/head
authorNizamudeen A <nia@redhat.com>
Thu, 30 Sep 2021 11:48:14 +0000 (17:18 +0530)
committerNizamudeen A <nia@redhat.com>
Fri, 1 Oct 2021 06:59:07 +0000 (12:29 +0530)
Fixes: https://tracker.ceph.com/issues/50268
Signed-off-by: Nizamudeen A <nia@redhat.com>
20 files changed:
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-form/host-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal/osd-pg-scrub-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form/silence-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal/crush-rule-form-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal/rgw-user-capability-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal/rgw-user-subuser-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.html

index 2fc58ac5719e4fd107d72cea40550342a5b1d82d..eb4b9e3a6d04853d9762122ff9c8e6e2b4339c88 100644 (file)
@@ -5,7 +5,7 @@
         [formGroup]="targetForm"
         novalidate>
     <div class="card">
-      <div i18n="form title|Example: Create Pool@@formTitle"
+      <div i18n="form title"
            class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div>
 
       <div class="card-body">
index 6a12cb64f166b88a56d79d94e619b3f704f28843..75c004fabe9d306070b2645dcb048e82ad7a63b4 100644 (file)
@@ -5,7 +5,7 @@
         [formGroup]="rbdForm"
         novalidate>
     <div class="card">
-      <div i18n="form title|Example: Create Pool@@formTitle"
+      <div i18n="form title"
            class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div>
       <div class="card-body">
 
index 3b15b0aae69ec519f93526fa9ae0b0ff212dea35..da8a2cd25b505993c264ae01d499d3941e8e6115 100644 (file)
@@ -1,5 +1,5 @@
 <cd-modal [modalRef]="activeModal">
-  <ng-container i18n="form title|Example: Create rbdSnapshot@@formTitle"
+  <ng-container i18n="form title"
                 class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
 
   <ng-container class="modal-content">
index 2296d7ddae847db80191672d4a83d11315fa6fce..487caf85b12deecf990cf373507246ccf56bb6c6 100644 (file)
@@ -5,7 +5,7 @@
         [formGroup]="hostForm"
         novalidate>
     <div class="card">
-      <div i18n="form title|Example: Create Pool@@formTitle"
+      <div i18n="form title"
            class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div>
 
       <div class="card-body">
index 0f1a5de6dee88d291c0743e2194b7a14012f64a6..390f673bdaf5b0e40ca301d7399030eaab164739 100644 (file)
@@ -7,7 +7,7 @@
         [formGroup]="form"
         novalidate>
     <div class="card">
-      <div i18n="form title|Example: Create Pool@@formTitle"
+      <div i18n="form title"
            class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div>
       <div class="card-body">
         <fieldset>
index 841f41b575a6d9c2ddb581b8d234c7d44a579cc3..fa263672246a803cc4e834f2f2e5ffb96df75476 100644 (file)
@@ -1,5 +1,5 @@
 <cd-modal [modalRef]="activeModal">
-  <ng-container i18n="form title|Example: Create Pool@@formTitle"
+  <ng-container i18n="form title"
                 class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
 
   <ng-container class="modal-content">
index ce8928f7f0266e5c7700b8dd4f3ea5ab9d3312d9..02f04a06a4bcdd9ad8a497000862ad312b7ae9de 100644 (file)
@@ -63,9 +63,7 @@
         novalidate>
     <div class="card">
       <div class="card-header">
-        <span i18n="@@formTitle">
-          {{ action | titlecase }} {{ resource | upperFirst }}
-        </span>
+        <span i18n>{{ action | titlecase }} {{ resource | upperFirst }}</span>
         <cd-helper *ngIf="edit"
                    i18n>Editing a silence will expire the old silence and recreate it as a new silence</cd-helper>
       </div>
index e24a734451b7e0958b336e0a945bca5cac2d6cce..3bda00511039175a49b4a8a76cfb1cdc7d0873cb 100644 (file)
@@ -3,7 +3,7 @@
         [formGroup]="serviceForm"
         novalidate>
     <div class="card">
-      <div i18n="form title|Example: Create Pool@@formTitle"
+      <div i18n="form title"
            class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div>
 
       <div class="card-body">
index 3da1e5820f70e8aa651d2cfe3aa07f444ee27fb3..d417d9ac32dded74e1f558c71e16f666273cf1de 100644 (file)
@@ -5,7 +5,7 @@
         [formGroup]="nfsForm"
         novalidate>
     <div class="card">
-      <div i18n="form title|Example: Create Pool@@formTitle"
+      <div i18n="form title"
            class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div>
 
       <div class="card-body">
index 7bf328df4eb720c3bdbda6c58e5310cfd8593f1b..3329742f413698bc61523a2b6373bdfd5cc68f94 100644 (file)
@@ -1,5 +1,5 @@
 <cd-modal [modalRef]="activeModal">
-  <ng-container i18n="form title|Example: Create Pool@@formTitle"
+  <ng-container i18n="form title"
                 class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
 
   <ng-container class="modal-content">
index 92cecabc91581a3b4c7792c3230919e2b1e6f621..7d4834d521455cb2d34d708d4a176e3f153a8937 100644 (file)
@@ -1,5 +1,5 @@
 <cd-modal [modalRef]="activeModal">
-  <ng-container i18n="form title|Example: Create Pool@@formTitle"
+  <ng-container i18n="form title"
                 class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
 
   <ng-container class="modal-content">
index be46e01524ea7cf23cffab6fb68d5d9e282753a8..e5aecb2eb57bf014ae8b76ca003fb5efd8514257 100644 (file)
@@ -5,7 +5,7 @@
         [formGroup]="bucketForm"
         novalidate>
     <div class="card">
-      <div i18n="form title|Example: Create Pool@@formTitle"
+      <div i18n="form title"
            class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div>
 
       <div class="card-body">
index 24cf4ab5f548837b68610758f7f7ae11d1cef826..288297c25b3346d30b4c79da6550efd4540a27a7 100644 (file)
@@ -1,5 +1,5 @@
 <cd-modal [modalRef]="activeModal">
-  <ng-container i18n="form title|Example: Create Pool@@formTitle"
+  <ng-container i18n="form title"
                 class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
 
   <ng-container class="modal-content">
index c0c619b3ec4e760b330d4abfe61d6d05f42c0fa5..bbf0c1688cc9c52f78c2403d7b764b5928479628 100644 (file)
@@ -4,7 +4,7 @@
         [formGroup]="userForm"
         novalidate>
     <div class="card">
-      <div i18n="form title|Example: Create Pool@@formTitle"
+      <div i18n="form title"
            class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div>
 
       <div class="card-body">
index a68534286c17cd75d79f78478824347c67c2d4ec..e51bc813f08df0b2270273a0c46cf532c3182382 100644 (file)
@@ -1,5 +1,5 @@
 <cd-modal [modalRef]="activeModal">
-  <ng-container i18n="form title|Example: Create Pool@@formTitle"
+  <ng-container i18n="form title"
                 class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
 
   <ng-container class="modal-content">
index cbe5ae3976dd829d99d8a39e17552b25053b6be1..716342c9e6c9ad0736a11eb46133e62590cee209 100644 (file)
@@ -1,5 +1,5 @@
 <cd-modal [modalRef]="bsModalRef">
-  <ng-container i18n="form title|Example: Create Pool@@formTitle"
+  <ng-container i18n="form title"
                 class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
   <ng-container class="modal-content">
     <form #frm="ngForm"
index 200a6c544a6fbb4ba4401a41da1ccb75ccd9fc3a..00f3cf0f249dc2e6586616ad17031a00e252bc4c 100644 (file)
@@ -1,7 +1,6 @@
 <cd-modal [modalRef]="activeModal">
-  <ng-container i18n="form title|Example: Create Pool@@formTitle"
-                class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}
-  </ng-container>
+  <ng-container i18n="form title"
+                class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}</ng-container>
 
   <ng-container class="modal-content">
     <div class="modal-body">
index ce395236545ecd163942dbc184112bfe73b69262..08904c1c2b3366fed37bf5c6c06fe3290af31d8c 100644 (file)
@@ -5,7 +5,7 @@
         [formGroup]="roleForm"
         novalidate>
     <div class="card">
-      <div i18n="form title|Example: Create Pool@@formTitle"
+      <div i18n="form title"
            class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div>
       <div class="card-body">
 
index 098b15e97af1ad27eb527e6cdf28d7dadcc5d77f..df97face81a3f215f2f02669375975ef2ab6668f 100644 (file)
@@ -5,7 +5,7 @@
         [formGroup]="userForm"
         novalidate>
     <div class="card">
-      <div i18n="form title|Example: Create Pool@@formTitle"
+      <div i18n="form title"
            class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div>
       <div class="card-body">
 
index 64a679a32ba1b04f1d13de18a0262060f8433d13..83eb409446e0c11f6a8b8fce58cd5556f74580b7 100644 (file)
@@ -3,7 +3,7 @@
         [formGroup]="userForm"
         novalidate>
     <div class="card">
-      <div i18n="form title|Example: Create Pool@@formTitle"
+      <div i18n="form title"
            class="card-header">{{ action | titlecase }} {{ resource | upperFirst }}</div>
 
       <div class="card-body">