2009-03-20 17:40:37 -04:00
|
|
|
en:
|
2010-01-06 19:04:25 -05:00
|
|
|
errors:
|
2010-06-14 05:29:55 -04:00
|
|
|
# The default format to use in full error messages.
|
2010-04-30 12:40:24 -04:00
|
|
|
format: "%{attribute} %{message}"
|
2009-12-31 08:14:29 -05:00
|
|
|
|
2010-01-06 19:04:25 -05:00
|
|
|
# The values :model, :attribute and :value are always available for interpolation
|
|
|
|
# The value :count is available when applicable. Can be used for pluralization.
|
|
|
|
messages:
|
|
|
|
inclusion: "is not included in the list"
|
|
|
|
exclusion: "is reserved"
|
|
|
|
invalid: "is invalid"
|
|
|
|
confirmation: "doesn't match confirmation"
|
|
|
|
accepted: "must be accepted"
|
|
|
|
empty: "can't be empty"
|
|
|
|
blank: "can't be blank"
|
2010-04-30 12:40:24 -04:00
|
|
|
too_long: "is too long (maximum is %{count} characters)"
|
|
|
|
too_short: "is too short (minimum is %{count} characters)"
|
|
|
|
wrong_length: "is the wrong length (should be %{count} characters)"
|
2010-01-06 19:04:25 -05:00
|
|
|
not_a_number: "is not a number"
|
2010-04-24 13:17:14 -04:00
|
|
|
not_an_integer: "must be an integer"
|
2010-04-30 12:40:24 -04:00
|
|
|
greater_than: "must be greater than %{count}"
|
|
|
|
greater_than_or_equal_to: "must be greater than or equal to %{count}"
|
|
|
|
equal_to: "must be equal to %{count}"
|
|
|
|
less_than: "must be less than %{count}"
|
|
|
|
less_than_or_equal_to: "must be less than or equal to %{count}"
|
2010-01-06 19:04:25 -05:00
|
|
|
odd: "must be odd"
|
|
|
|
even: "must be even"
|