aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorFlorian CUNY <poslovitch@bentobox.world>2021-04-21 10:46:40 +0200
committerGitHub <noreply@github.com>2021-04-21 10:46:40 +0200
commit84294ae9c9f3debe71ab8b6b33fa73a0d6187391 (patch)
tree5af9852cab1b5d28e84638f351b6bddfec18e637 /client/src/app/shared
parent67baf6478a56e4fabb22da27ee91783add7ed369 (diff)
downloadPeerTube-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/shared')
-rw-r--r--client/src/app/shared/form-validators/custom-config-validators.ts2
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}