From 1b6efc52a57f387957d89ab72ad99cc52db97734 Mon Sep 17 00:00:00 2001 From: Tiago Melo Date: Tue, 6 Nov 2018 18:30:47 +0000 Subject: [PATCH] mgr/dashboard: Add missing HTML translations Signed-off-by: Tiago Melo --- .../block/mirroring/mirroring.component.html | 3 ++- .../block/rbd-form/rbd-form.component.html | 17 +++++++++----- .../rbd-snapshot-form.component.html | 11 ++++++---- .../rbd-snapshot-list.component.html | 8 ++++--- .../osd-details/osd-details.component.html | 22 ++++++++++++------- .../osd/osd-list/osd-list.component.html | 6 +++-- .../app/core/auth/login/login.component.html | 9 +++++--- .../auth/user-form/user-form.component.html | 6 ++--- .../notifications.component.html | 3 +-- .../task-manager/task-manager.component.html | 2 +- 10 files changed, 54 insertions(+), 33 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/mirroring.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/mirroring.component.html index a4e61dc5b127b..4f733b3a8626a 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/mirroring.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/mirroring.component.html @@ -72,7 +72,8 @@ - Syncing + Syncing @@ -116,7 +119,7 @@ *ngIf="rbdForm.getValue('useDataPool')"> - + - - + + Histogram not available: {{ osd.histogram_failed }} -
+
-

Writes

+

Writes

-

Reads

+

Reads

diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html index fb9a17a6ed700..f1ff153f8a469 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html @@ -75,6 +75,8 @@ {{ safeToDestroyResult.message }}
- OSD {{ selection.first().id }} will be - {{ actionDescription }} if you proceed. + + OSD {{ selection.first().id }} will be + {{ actionDescription }} if you proceed. + diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.html index 554dd5e9235c9..3d9d5ffef65ec 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.html @@ -30,7 +30,8 @@ required autofocus>
Username is required
+ *ngIf="(loginForm.submitted || username.dirty) && username.invalid" + i18n>Username is required
@@ -53,14 +54,16 @@
Password is required + *ngIf="(loginForm.submitted || password.dirty) && password.invalid" + i18n>Password is required
+ value="Login" + i18n-value> diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html index daae3dfecf2f9..ea0dc14b53890 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html @@ -175,9 +175,9 @@ -

You are about to remove "user read / update" permissions from your own user.

+

You are about to remove "user read / update" permissions from your own user.


-

If you continue, you will no longer be able to add or remove roles from any user.

+

If you continue, you will no longer be able to add or remove roles from any user.

- Are you sure you want to continue? + Are you sure you want to continue?
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.html index 2191b00b766fc..51ecd548ef361 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.html @@ -1,8 +1,7 @@
- Recent Notifications - + Recent Notifications