From 4dd6c34182edcf550bef7e7c33c58a3439bc56f8 Mon Sep 17 00:00:00 2001 From: Volker Theile Date: Tue, 27 Aug 2019 15:46:46 +0200 Subject: [PATCH] mgr/dashboard: Add missing text translation Signed-off-by: Volker Theile --- .../src/app/core/auth/user-form/user-form.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.ts index 0b300684caa..80f562c1ed0 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.ts @@ -38,7 +38,7 @@ export class UserFormComponent implements OnInit { userFormMode = UserFormMode; mode: UserFormMode; allRoles: Array; - messages = new SelectMessages({ empty: 'There are no roles.' }, this.i18n); + messages = new SelectMessages({ empty: this.i18n('There are no roles.') }, this.i18n); action: string; resource: string; @@ -56,7 +56,7 @@ export class UserFormComponent implements OnInit { ) { this.resource = this.i18n('user'); this.createForm(); - this.messages = new SelectMessages({ empty: 'There are no roles.' }, this.i18n); + this.messages = new SelectMessages({ empty: this.i18n('There are no roles.') }, this.i18n); } createForm() { -- 2.47.3