From: Tiago Melo Date: Wed, 7 Nov 2018 19:01:53 +0000 (+0000) Subject: mgr/dashboard: Trim HTML translations X-Git-Tag: v14.1.0~900^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5623e216fdaf7b30d669a4843fb4fc20015fd50d;p=ceph-ci.git mgr/dashboard: Trim HTML translations Signed-off-by: Tiago Melo --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.html index c0c5463fe64..92cd89c122f 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.html @@ -10,50 +10,42 @@ Name - + class="bold col-sm-1">Name {{ selectedItem.name }} Pool - + class="bold col-sm-1">Pool {{ selectedItem.pool_name }} Data Pool - + class="bold col-sm-1">Data Pool {{ selectedItem.data_pool | empty }} Created - + class="bold col-sm-1">Created {{ selectedItem.timestamp | cdDate }} Size - + class="bold col-sm-1">Size {{ selectedItem.size | dimlessBinary }} Objects - + class="bold col-sm-1">Objects {{ selectedItem.num_objs | dimless }} Object size - + class="bold col-sm-1">Object size {{ selectedItem.obj_size | dimlessBinary }} Features - + class="bold col-sm-1">Features {{ feature }} @@ -62,8 +54,7 @@ Provisioned - + class="bold col-sm-1">Provisioned Total provisioned - + class="bold col-sm-1">Total provisioned Striping unit - + class="bold col-sm-1">Striping unit {{ selectedItem.stripe_unit | dimlessBinary }} Striping count - + class="bold col-sm-1">Striping count {{ selectedItem.stripe_count }} Parent - + class="bold col-sm-1">Parent {{ selectedItem.parent.pool_name }}/{{ selectedItem.parent.image_name }}@{{ selectedItem.parent.snap_name }} - @@ -113,14 +100,12 @@ Block name prefix - + class="bold col-sm-1">Block name prefix {{ selectedItem.block_name_prefix }} Order - + class="bold col-sm-1">Order {{ selectedItem.order }} diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.html index 1518374ab22..ec9729bfe29 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.html @@ -44,10 +44,9 @@ name="name" formControlName="name" autofocus> - - This field is required. + This field is required. @@ -77,24 +76,19 @@ *ngIf="mode !== 'editing' && poolPermission.read"> + i18n>Loading... + i18n>-- No rbd pools available -- + i18n>-- Select a pool -- - - This field is required. - + i18n>This field is required. @@ -142,23 +136,19 @@ *ngIf="mode !== 'editing' && poolPermission.read"> + i18n>Loading... + i18n>-- No data pools available -- - - This field is required. - + This field is required. @@ -180,16 +170,12 @@ placeholder="e.g., 10GiB" defaultUnit="GiB" cdDimlessBinary> - - This field is required. - - - You have to increase the size. - + This field is required. + You have to increase the size. @@ -199,9 +185,7 @@ formGroupName="features"> + for="features">Features
@@ -220,12 +204,11 @@
- - Advanced... - + *ngIf="!advancedEnabled" + i18n>Advanced...
@@ -238,8 +221,7 @@ [ngClass]="{'has-error': rbdForm.showError('obj_size', formDir)}"> + for="size">Object size
- - This field is required because stripe count is defined! - - - Stripe unit is greater than object size. - + This field is required because stripe count is defined! + Stripe unit is greater than object size.
@@ -300,16 +278,12 @@ formControlName="stripingCount" class="form-control" type="number"> - - This field is required because stripe unit is defined! - - - Stripe count must be greater than 0. - + This field is required because stripe unit is defined! + Stripe count must be greater than 0.
@@ -323,12 +297,10 @@ (submitAction)="submit()"> {mode, select, editing {Update} cloning {Clone} copying {Copy} other {Create}} RBD - + routerLink="/block/rbd" + i18n>Back diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form.component.html index c987c7fda68..ac455e5174d 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form.component.html @@ -31,11 +31,9 @@ name="snapshotName" formControlName="snapshotName" autofocus> - - This field is required. - + This field is required. @@ -45,9 +43,7 @@
- { editing, select, true {Rename} other {Create}} Snapshot - + i18n>{ editing, select, true {Rename} other {Create}} Snapshot
@@ -46,9 +42,7 @@
- Move Image - + (submitAction)="moveImage()">Move Image