import { Component, EventEmitter, OnInit, Output, ViewChild } from '@angular/core'
import { Notifier } from '@app/core'
import { prepareIcu } from '@app/helpers'
-import { FormReactive, FormValidatorService } from '@app/shared/shared-forms'
+import { FormReactive, FormReactiveService } from '@app/shared/shared-forms'
import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
import { NgbModalRef } from '@ng-bootstrap/ng-bootstrap/modal/modal-ref'
import { User } from '@shared/models'
modalMessage = ''
constructor (
- protected formValidatorService: FormValidatorService,
+ protected formReactiveService: FormReactiveService,
private modalService: NgbModal,
private notifier: Notifier,
private userAdminService: UserAdminService,
let message: string
if (Array.isArray(this.usersToBan)) {
- message = prepareIcu($localize`{count, plural, =1 {1 user} other {{count} users}} banned.`)(
+ message = prepareIcu($localize`{count, plural, =1 {1 user banned.} other {{count} users banned.}}`)(
{ count: this.usersToBan.length },
$localize`${this.usersToBan.length} users banned.`
)