-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathlocale_en.go
74 lines (51 loc) · 3.16 KB
/
locale_en.go
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
package valgo
func getLocaleEn() *Locale {
return &Locale{
ErrorKeyAfter: "{{title}} must be after \"{{value}}\"",
ErrorKeyNotAfter: "{{title}} can't be after \"{{value}}\"",
ErrorKeyAfterOrEqualTo: "{{title}} must be after or equal to \"{{value}}\"",
ErrorKeyNotAfterOrEqualTo: "{{title}} can't be after or equal to \"{{value}}\"",
ErrorKeyBefore: "{{title}} must be before \"{{value}}\"",
ErrorKeyNotBefore: "{{title}} can't be before \"{{value}}\"",
ErrorKeyBeforeOrEqualTo: "{{title}} must be before or equal to \"{{value}}\"",
ErrorKeyNotBeforeOrEqualTo: "{{title}} can't be before or equal to \"{{value}}\"",
ErrorKeyBetween: "{{title}} must be between \"{{min}}\" and \"{{max}}\"",
ErrorKeyNotBetween: "{{title}} can't be a value between \"{{min}}\" and \"{{max}}\"",
ErrorKeyBlank: "{{title}} must be blank",
ErrorKeyNotBlank: "{{title}} can't be blank",
ErrorKeyEmpty: "{{title}} must be empty",
ErrorKeyNotEmpty: "{{title}} can't be empty",
ErrorKeyEqualTo: "{{title}} must be equal to \"{{value}}\"",
ErrorKeyNotEqualTo: "{{title}} can't be equal to \"{{value}}\"",
ErrorKeyFalse: "{{title}} must be false",
ErrorKeyNotFalse: "{{title}} must not be false",
ErrorKeyGreaterOrEqualTo: "{{title}} must be greater than or equal to \"{{value}}\"",
ErrorKeyNotGreaterOrEqualTo: "{{title}} can't be greater than or equal to \"{{value}}\"",
ErrorKeyGreaterThan: "{{title}} must be greater than \"{{value}}\"",
ErrorKeyNotGreaterThan: "{{title}} can't be greater than \"{{value}}\"",
ErrorKeyInSlice: "{{title}} is not valid",
ErrorKeyNotInSlice: "{{title}} is not valid",
ErrorKeyLength: "{{title}} must have a length equal to \"{{length}}\"",
ErrorKeyNotLength: "{{title}} must not have a length equal to \"{{length}}\"",
ErrorKeyLengthBetween: "{{title}} must have a length between \"{{min}}\" and \"{{max}}\"",
ErrorKeyNotLengthBetween: "{{title}} must not have a length between \"{{min}}\" and \"{{max}}\"",
ErrorKeyLessOrEqualTo: "{{title}} must be less than or equal to \"{{value}}\"",
ErrorKeyNotLessOrEqualTo: "{{title}} must not be less than or equal to \"{{value}}\"",
ErrorKeyLessThan: "{{title}} must be less than \"{{value}}\"",
ErrorKeyNotLessThan: "{{title}} can't be less than \"{{value}}\"",
ErrorKeyMatchingTo: "{{title}} must match to \"{{regexp}}\"",
ErrorKeyNotMatchingTo: "{{title}} can't match to \"{{regexp}}\"",
ErrorKeyMaxLength: "{{title}} must not have a length longer than \"{{length}}\"",
ErrorKeyNotMaxLength: "{{title}} must not have a length shorter than or equal to \"{{length}}\"",
ErrorKeyMinLength: "{{title}} must not have a length shorter than \"{{length}}\"",
ErrorKeyNotMinLength: "{{title}} must not have a length longer than or equal to \"{{length}}\"",
ErrorKeyNil: "{{title}} must be nil",
ErrorKeyNotNil: "{{title}} must not be nil",
ErrorKeyPassing: "{{title}} is not valid",
ErrorKeyNotPassing: "{{title}} is not valid",
ErrorKeyTrue: "{{title}} must be true",
ErrorKeyNotTrue: "{{title}} must not be true",
ErrorKeyZero: "{{title}} must be zero",
ErrorKeyNotZero: "{{title}} must not be zero",
}
}