Sha256: 87c97769245a55764c592bfcc2b20182d62abe2aeb88deeed152dc9b62d01b71

Contents?: true

Size: 1.58 KB

Versions: 244

Compression:

Stored size: 1.58 KB

Contents

en:
  # Attributes names common to most models
  #attributes:
    #created_at: "Created at"
    #updated_at: "Updated at"

  # Default error messages
  errors:
    messages:
      required: "must exist"
      taken: "has already been taken"

  # Active Record models configuration
  activerecord:
    errors:
      messages:
        record_invalid: "Validation failed: %{errors}"
        restrict_dependent_destroy:
          has_one: "Cannot delete record because a dependent %{record} exists"
          has_many: "Cannot delete record because dependent %{record} exist"
        # Append your own errors here or at the model/attributes scope.

      # You can define own errors for models or model attributes.
      # The values :model, :attribute and :value are always available for interpolation.
      #
      # For example,
      #   models:
      #     user:
      #       blank: "This is a custom blank message for %{model}: %{attribute}"
      #       attributes:
      #         login:
      #           blank: "This is a custom blank message for User login"
      # Will define custom blank validation message for User model and
      # custom blank validation message for login attribute of User model.
      #models:

    # Translate model names. Used in Model.human_name().
    #models:
      # For example,
      #   user: "Dude"
      # will translate User model name to "Dude"

    # Translate model attribute names. Used in Model.human_attribute_name(attribute).
    #attributes:
      # For example,
      #   user:
      #     login: "Handle"
      # will translate User attribute "login" as "Handle"

Version data entries

244 entries across 239 versions & 19 rubygems

Version Path
activerecord-6.1.7.7 lib/active_record/locale/en.yml
activerecord-7.1.3 lib/active_record/locale/en.yml
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activerecord-7.0.2.3/lib/active_record/locale/en.yml
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activerecord-7.0.3.1/lib/active_record/locale/en.yml
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/active_record/locale/en.yml
activerecord-7.1.2 lib/active_record/locale/en.yml
activerecord-7.1.1 lib/active_record/locale/en.yml
activerecord-7.1.0 lib/active_record/locale/en.yml
activerecord-7.1.0.rc2 lib/active_record/locale/en.yml
activerecord-7.1.0.rc1 lib/active_record/locale/en.yml
activerecord-7.1.0.beta1 lib/active_record/locale/en.yml
activerecord-7.0.8 lib/active_record/locale/en.yml
activerecord-7.0.7.2 lib/active_record/locale/en.yml
activerecord-6.1.7.6 lib/active_record/locale/en.yml
activerecord-7.0.7.1 lib/active_record/locale/en.yml
activerecord-6.1.7.5 lib/active_record/locale/en.yml
activerecord-7.0.7 lib/active_record/locale/en.yml
activerecord-7.0.6 lib/active_record/locale/en.yml
activerecord-7.0.5.1 lib/active_record/locale/en.yml
activerecord-6.1.7.4 lib/active_record/locale/en.yml