rephrase signup limit validator error (#3984)

Co-authored-by: Rigel Kent <par@rigelk.eu>
This commit is contained in:
Florian CUNY 2021-04-21 10:46:40 +02:00 committed by GitHub
parent 67baf6478a
commit 84294ae9c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ export const SIGNUP_LIMIT_VALIDATOR: BuildFormValidator = {
VALIDATORS: [Validators.required, Validators.min(-1), Validators.pattern('-?[0-9]+')],
MESSAGES: {
'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.`
}
}