-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Expand file tree
/
Copy pathvalidation.json
More file actions
25 lines (25 loc) · 1.09 KB
/
validation.json
File metadata and controls
25 lines (25 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"required": "This field is required",
"email": "Please enter a valid email address",
"url": "Please enter a valid URL",
"number": "Please enter a valid number",
"min": "Minimum value is {min}",
"max": "Maximum value is {max}",
"minLength": "Minimum length is {length} characters",
"maxLength": "Maximum length is {length} characters",
"pattern": "Invalid format",
"unique": "This value already exists",
"confirm": "The two entries do not match",
"fileSize": "File size cannot exceed {size}MB",
"fileType": "Unsupported file type",
"required_field": "Please fill in the required field",
"invalid_format": "Invalid format",
"password_too_short": "Password must be at least 12 characters",
"password_too_weak": "Password is too weak",
"invalid_phone": "Please enter a valid phone number",
"invalid_date": "Please enter a valid date",
"date_range": "Invalid date range",
"upload_failed": "File upload failed",
"network_error": "Network connection error, please try again",
"operation_cannot_be_undone": "⚠️ This operation cannot be undone, please choose carefully!"
}