Sha256: 2d8bdff54e555230dba0f9cca1fc3c2fa0c2f26d33097878c93ded41f65128e2

Contents?: true

Size: 1.54 KB

Versions: 36

Compression:

Stored size: 1.54 KB

Contents

en:
  errors:
    # The default format to use in full error messages.
    format: "%{attribute} %{message}"

    # The values :model, :attribute and :value are always available for interpolation
    # The value :count is available when applicable. Can be used for pluralization.
    messages:
      model_invalid: "Validation failed: %{errors}"
      inclusion: "is not included in the list"
      exclusion: "is reserved"
      invalid: "is invalid"
      confirmation: "doesn't match %{attribute}"
      accepted: "must be accepted"
      empty: "can't be empty"
      blank: "can't be blank"
      present: "must be blank"
      too_long:
        one: "is too long (maximum is 1 character)"
        other: "is too long (maximum is %{count} characters)"
      password_too_long: "is too long"
      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)"
      not_a_number: "is not a number"
      not_an_integer: "must be an integer"
      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}"
      other_than: "must be other than %{count}"
      in: "must be in %{count}"
      odd: "must be odd"
      even: "must be even"

Version data entries

36 entries across 36 versions & 5 rubygems

Version Path
activemodel-8.0.0 lib/active_model/locale/en.yml
activemodel-7.2.2 lib/active_model/locale/en.yml
activemodel-7.1.5 lib/active_model/locale/en.yml
activemodel-8.0.0.rc2 lib/active_model/locale/en.yml
activemodel-7.2.1.2 lib/active_model/locale/en.yml
activemodel-7.1.4.2 lib/active_model/locale/en.yml
activemodel-8.0.0.rc1 lib/active_model/locale/en.yml
activemodel-7.2.1.1 lib/active_model/locale/en.yml
activemodel-7.1.4.1 lib/active_model/locale/en.yml
activemodel-8.0.0.beta1 lib/active_model/locale/en.yml
omg-activemodel-8.0.0.alpha9 lib/active_model/locale/en.yml
omg-activemodel-8.0.0.alpha8 lib/active_model/locale/en.yml
omg-activemodel-8.0.0.alpha7 lib/active_model/locale/en.yml
omg-activemodel-8.0.0.alpha4 lib/active_model/locale/en.yml
omg-activemodel-8.0.0.alpha3 lib/active_model/locale/en.yml
omg-activemodel-8.0.0.alpha2 lib/active_model/locale/en.yml
omg-activemodel-8.0.0.alpha1 lib/active_model/locale/en.yml
activemodel-7.1.4 lib/active_model/locale/en.yml
activemodel-7.2.1 lib/active_model/locale/en.yml
activemodel-7.2.0 lib/active_model/locale/en.yml