Sha256: 17c17a5418b2024f9b3144fde4c6af8e3bb9d558c890fed2f6f496c104f19406

Contents?: true

Size: 1.42 KB

Versions: 54

Compression:

Stored size: 1.42 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:
      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)" 
      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}"
      odd: "must be odd"
      even: "must be even"

Version data entries

54 entries across 52 versions & 9 rubygems

Version Path
activemodel-4.2.11.3 lib/active_model/locale/en.yml
activemodel-4.2.11.2 lib/active_model/locale/en.yml
activemodel-4.2.11.1 lib/active_model/locale/en.yml
activemodel-4.2.11 lib/active_model/locale/en.yml
activemodel-4.2.10 lib/active_model/locale/en.yml
activemodel-4.2.10.rc1 lib/active_model/locale/en.yml
activemodel-4.2.9 lib/active_model/locale/en.yml
activemodel-4.2.9.rc2 lib/active_model/locale/en.yml
activemodel-4.2.9.rc1 lib/active_model/locale/en.yml
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/activemodel-4.2.8/lib/active_model/locale/en.yml
activemodel-4.2.8 lib/active_model/locale/en.yml
activemodel-4.2.8.rc1 lib/active_model/locale/en.yml
activemodel-4.2.7.1 lib/active_model/locale/en.yml
activemodel-4.2.7 lib/active_model/locale/en.yml
activemodel-4.2.7.rc1 lib/active_model/locale/en.yml
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.6/lib/active_model/locale/en.yml
activemodel-4.2.6 lib/active_model/locale/en.yml
activemodel-4.2.6.rc1 lib/active_model/locale/en.yml
activemodel-4.2.5.2 lib/active_model/locale/en.yml
activejob-lock-0.0.2 rails/activemodel/lib/active_model/locale/en.yml