This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
locale.js
58 lines (40 loc) · 2.35 KB
/
locale.js
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
export default {
// The format of ".date" field
date: 'DD/MM/YYYY',
// The format of ".time" field
time: 'HH:mm',
// The format of ".datetime" field
datetime: 'DD/MM/YYYY HH:mm',
// Title of success message when submitting form successfully
successTitle: 'Success!',
// Content of success message when submitting form successfully
successMessage: 'The form has been successfully submitted',
// Title of error message when form is invalid or error in submitting form
errorTitle: 'Error!',
// Content of error message when form is invalid
invalidErrorMessage: 'Please correct your invalid fields!',
// Error message for ".required" field
requiredErrorMessage: 'This field is required',
// Error message for ".date" field
dateErrorMessage: 'Please check the format of your date, it should be like 14/02/2000',
// Error message for ".time" field
timeErrorMessage: 'Please check the format of your time, it should be like 14:02',
// Error message for ".datetime" field
datetimeErrorMessage: 'Please check the format of your date time, it should be like 14/02/2000 14:02',
// Error message for ".email" field
emailErrorMessage: 'Please check the format of your email address, it should read like [email protected]',
// Error message for ".number" field
numberErrorMessage: 'Please enter only numbers',
// Error message for ".url" field
urlErrorMessage: 'Please enter valid website address',
// Error message for ".password" field
passwordErrorMessage: 'Your password must be at least 6 characters and it must contain numbers, letters (lowercase and uppercase) and at least 1 special character',
// Error message for ".repassword" field
repasswordErrorMessage: 'Please confirm your password',
// Error message for ".simple" field
simpleErrorMessage: 'Please enter only letters, numbers and only 1 underscore or dash or space between letters and numbers',
// Error message for ".really-simple" field
reallySimpleErrorMessage: 'Please enter only letters and numbers, no punctuation, dots, etc',
// Error message when unknown issue occurs
unknownErrorMessage: 'Sorry, an error occurred attempting to submit the form. Please contact the site administrator to resolve!',
};