Signed-off-by: Volker Theile <vtheile@suse.com>
userFormMode = UserFormMode;
mode: UserFormMode;
allRoles: Array<UserFormRoleModel>;
- 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;
) {
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() {