rephrase signup limit validator error (#3984)
Co-authored-by: Rigel Kent <par@rigelk.eu>
This commit is contained in:
parent
67baf6478a
commit
84294ae9c9
|
@ -44,7 +44,7 @@ export const SIGNUP_LIMIT_VALIDATOR: BuildFormValidator = {
|
||||||
VALIDATORS: [Validators.required, Validators.min(-1), Validators.pattern('-?[0-9]+')],
|
VALIDATORS: [Validators.required, Validators.min(-1), Validators.pattern('-?[0-9]+')],
|
||||||
MESSAGES: {
|
MESSAGES: {
|
||||||
'required': $localize`Signup limit is required.`,
|
'required': $localize`Signup limit is required.`,
|
||||||
'min': $localize`Signup limit must be greater than 1.`,
|
'min': $localize`Signup limit must be greater than 1. Use -1 to disable it.`,
|
||||||
'pattern': $localize`Signup limit must be a number.`
|
'pattern': $localize`Signup limit must be a number.`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue