diff options
author | Florian CUNY <poslovitch@bentobox.world> | 2021-04-21 10:46:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 10:46:40 +0200 |
commit | 84294ae9c9f3debe71ab8b6b33fa73a0d6187391 (patch) | |
tree | 5af9852cab1b5d28e84638f351b6bddfec18e637 /client/src/app | |
parent | 67baf6478a56e4fabb22da27ee91783add7ed369 (diff) | |
download | PeerTube-84294ae9c9f3debe71ab8b6b33fa73a0d6187391.tar.gz PeerTube-84294ae9c9f3debe71ab8b6b33fa73a0d6187391.tar.zst PeerTube-84294ae9c9f3debe71ab8b6b33fa73a0d6187391.zip |
rephrase signup limit validator error (#3984)
Co-authored-by: Rigel Kent <par@rigelk.eu>
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/shared/form-validators/custom-config-validators.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/form-validators/custom-config-validators.ts b/client/src/app/shared/form-validators/custom-config-validators.ts index d6ce6db22..ef6e9b456 100644 --- a/client/src/app/shared/form-validators/custom-config-validators.ts +++ b/client/src/app/shared/form-validators/custom-config-validators.ts | |||
@@ -44,7 +44,7 @@ export const SIGNUP_LIMIT_VALIDATOR: BuildFormValidator = { | |||
44 | VALIDATORS: [Validators.required, Validators.min(-1), Validators.pattern('-?[0-9]+')], | 44 | VALIDATORS: [Validators.required, Validators.min(-1), Validators.pattern('-?[0-9]+')], |
45 | MESSAGES: { | 45 | MESSAGES: { |
46 | 'required': $localize`Signup limit is required.`, | 46 | 'required': $localize`Signup limit is required.`, |
47 | 'min': $localize`Signup limit must be greater than 1.`, | 47 | 'min': $localize`Signup limit must be greater than 1. Use -1 to disable it.`, |
48 | 'pattern': $localize`Signup limit must be a number.` | 48 | 'pattern': $localize`Signup limit must be a number.` |
49 | } | 49 | } |
50 | } | 50 | } |