| 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91 |
| export default {
emptyField: {
id: 'form.field.empty',
defaultMessage: 'This field should not be empty'
},
numberField: {
id: 'form.field.number',
defaultMessage: 'This field should be a number'
},
notValidEmail: {
id: 'form.field.invalidEmail',
defaultMessage: 'Please enter correct email address'
},
emptyEmail: {
id: 'form.field.emptyEmail',
defaultMessage: 'Email can not be empty'
},
notValidPhoneNumber: {
id: 'form.field.notValidPhoneNumber',
defaultMessage: 'Please enter your phone number in correct format e.g. +00 00 000000'
},
emptyPhoneNumber: {
id: 'form.field.emptyPhoneNumber',
defaultMessage: 'Phone number can not be empty.'
},
unofficialWebsite: {
id: 'form.field.unofficialWebsite',
defaultMessage: 'Please provide a direct url to your an official hotel website.'
},
notValidWebsite: {
id: 'form.field.notValidWebsite',
defaultMessage: 'Website address can not contain `(at)` `[at]` `@`'
},
notAbsoluteUrl: {
id: 'form.field.notAbsoluteUrl',
defaultMessage: 'Website should start with http:// or https://'
},
emptyPassword: {
id: 'form.field.emptyPassword',
defaultMessage: 'Password should not be empty'
},
tooWeakPassword: {
id: 'form.field.tooWeakPassword',
defaultMessage: 'Password is too weak'
},
fieldWrongLength: {
id: 'form.field.fieldWrongLength',
defaultMessage: 'This field value must be minimum 2 and maximum 50 characters long.'
},
fieldWithNumbers: {
id: 'form.field.fieldWithNumbers',
defaultMessage: 'This field can not contain numbers.'
},
fieldWithNumbersOnly: {
id: 'form.field.fieldWithNumbersOnly',
defaultMessage: 'This field can not contain numbers only.'
},
firstNameEmpty: {
id: 'form.field.emptyFirstName',
defaultMessage: 'First name can not be empty'
},
firstNameWrongLength: {
id: 'form.field.firstNameWrongLength',
defaultMessage: 'First name must be minimum 2 and maximum 50 characters long.'
},
lastNameWrongLength: {
id: 'form.field.lastNameWrongLength',
defaultMessage: 'Last name must be minimum 2 and maximum 50 characters long.'
},
lastNameEmpty: {
id: 'form.field.emptyLastName',
defaultMessage: 'Last name can not be empty'
},
firstNameWithNumbers: {
id: 'form.field.firstNameWithNumbers',
defaultMessage: 'First name can not contain numbers.'
},
lastNameWithNumbers: {
id: 'form.field.lastNameWithNumbers',
defaultMessage: 'Last name can not contain numbers.'
},
toShortFieldValue: {
id: 'form.field.toShortFieldValue',
defaultMessage: 'This field must contain maximum of 10 characters.'
},
wrongComment: {
id: 'form.field.wrongComment',
defaultMessage: 'Please write your response to the review.'
}
};
|