mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-12-01 04:49:16 -06:00
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]+')],
|
||||
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.`
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user