Sha256: 9fac8acd5abb822e6dea112b2e781e36af2022cd3193cbadc37a22da8859868e

Contents?: true

Size: 1.27 KB

Versions: 3

Compression:

Stored size: 1.27 KB

Contents

en:
  errors:
    array?: "must be an array"

    empty?: "cannot be empty"

    exclusion?: "must not be one of: %{list}"

    eql?: "must be equal to %{eql_value}"

    filled?: "must be filled"

    format?: "is in invalid format"

    gt?: "must be greater than %{num}"

    gteq?: "must be greater than or equal to %{num}"

    hash?: "must be a hash"

    inclusion?: "must be one of: %{list}"

    bool?: "must be boolean"

    true?: "must be true"

    false?: "must be false"

    int?: "must be an integer"

    float?: "must be a float"

    decimal?: "must be a decimal"

    date?: "must be a date"

    date_time?: "must be a date time"

    time?: "must be a time"

    key?: "is missing"

    attr?: "is missing"

    lt?: "must be less than %{num} (%{value} was given)"

    lteq?: "must be less than or equal to %{num}"

    max_size?: "size cannot be greater than %{num}"

    min_size?: "size cannot be less than %{num}"

    none?: "cannot be defined"

    str?: "must be a string"

    type?: "must be %{type}"

    size?:
      arg:
        default: "size must be %{num}"
        range: "size must be within %{left} - %{right}"

      value:
        string:
          arg:
            default: "length must be %{num}"
            range: "length must be within %{left} - %{right}"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dry-validation-0.7.2 config/errors.yml
dry-validation-0.7.1 config/errors.yml
dry-validation-0.7.0 config/errors.yml