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:
|
2015-02-20 12:50:49 -05:00
|
|
|
model_invalid: "Validation failed: %{errors}"
|
2010-01-06 19:04:25 -05:00
|
|
|
inclusion: "is not included in the list"
|
|
|
|
exclusion: "is reserved"
|
|
|
|
invalid: "is invalid"
|
2012-04-23 17:16:05 -04:00
|
|
|
confirmation: "doesn't match %{attribute}"
|
2010-01-06 19:04:25 -05:00
|
|
|
accepted: "must be accepted"
|
|
|
|
empty: "can't be empty"
|
|
|
|
blank: "can't be blank"
|
2012-12-21 15:10:16 -05:00
|
|
|
present: "must be blank"
|
2013-04-03 23:31:48 -04:00
|
|
|
too_long:
|
|
|
|
one: "is too long (maximum is 1 character)"
|
2015-02-01 07:31:53 -05:00
|
|
|
other: "is too long (maximum is %{count} characters)"
|
2013-04-03 23:31:48 -04:00
|
|
|
too_short:
|
|
|
|
one: "is too short (minimum is 1 character)"
|
|
|
|
other: "is too short (minimum is %{count} characters)"
|
|
|
|
wrong_length:
|
|
|
|
one: "is the wrong length (should be 1 character)"
|
|
|
|
other: "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}"
|
2011-12-21 04:52:15 -05:00
|
|
|
other_than: "must be other than %{count}"
|
2010-01-06 19:04:25 -05:00
|
|
|
odd: "must be odd"
|
|
|
|
even: "must be even"
|