From 84294ae9c9f3debe71ab8b6b33fa73a0d6187391 Mon Sep 17 00:00:00 2001 From: Florian CUNY Date: Wed, 21 Apr 2021 10:46:40 +0200 Subject: [PATCH] rephrase signup limit validator error (#3984) Co-authored-by: Rigel Kent --- .../src/app/shared/form-validators/custom-config-validators.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = { 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.` } }