rephrase signup limit validator error (#3984)

Co-authored-by: Rigel Kent <par@rigelk.eu>
pull/4000/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -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.`
} }
} }