4
# The values :model, :attribute and :value are always available for interpolation
5
# The value :count is available when applicable. Can be used for pluralization.
7
inclusion: "is not included in the list"
8
exclusion: "is reserved"
10
confirmation: "doesn't match confirmation"
11
accepted: "must be accepted"
12
empty: "can't be empty"
13
blank: "can't be blank"
14
too_long: "is too long (maximum is {{count}} characters)"
15
too_short: "is too short (minimum is {{count}} characters)"
16
wrong_length: "is the wrong length (should be {{count}} characters)"
17
taken: "has already been taken"
18
not_a_number: "is not a number"
19
greater_than: "must be greater than {{count}}"
20
greater_than_or_equal_to: "must be greater than or equal to {{count}}"
21
equal_to: "must be equal to {{count}}"
22
less_than: "must be less than {{count}}"
23
less_than_or_equal_to: "must be less than or equal to {{count}}"
26
record_invalid: "Validation failed: {{errors}}"
27
# Append your own errors here or at the model/attributes scope.
30
format: "{{attribute}} {{message}}"
32
# You can define own errors for models or model attributes.
33
# The values :model, :attribute and :value are always available for interpolation.
38
# blank: "This is a custom blank message for {{model}}: {{attribute}}"
41
# blank: "This is a custom blank message for User login"
42
# Will define custom blank validation message for User model and
43
# custom blank validation message for login attribute of User model.
46
# Translate model names. Used in Model.human_name().
50
# will translate User model name to "Dude"
52
# Translate model attribute names. Used in Model.human_attribute_name(attribute).
57
# will translate User attribute "login" as "Handle"