en:
  activemodel:
    errors:
      messages:
        name: is not a valid name
        blank: is required
        invalid: is invalid
        too_short: is too short (minimum is %{count} characters)
      models:
        prisoner_step:
          attributes:
            number:
              invalid: is invalid
          api:
            prisoner_does_not_exist: does not match any prisoner
        visitors_step:
          attributes:
            general:
              too_few_adults:
                There must be at least one adult visitor
              too_many_adults:
                You can book a maximum of %{max} visitors over the age of
                %{age} on this visit
              too_many_visitors:
                You can book a maximum of %{max} visitors
  activerecord:
    errors:
      models:
        prison:
          duplicate_unbookable_date: An unbookable date may not be duplicated
          unbookable_and_anomalous_conflict: An unbookable date may not also be anomalous

en:
  activemodel:
    errors:
      messages:
        name: is not a valid name
        blank: is required
        invalid: is invalid
        too_short: is too short (minimum is %{count} characters)
      models:
        prisoner_step:
          attributes:
            number:
              invalid: is invalid
            date_of_birth:
              inclusion: is not a valid date
          api:
            prisoner_does_not_exist: does not match any prisoner
        visitors_step:
          attributes:
            general:
              too_few_adults:
                There must be at least one adult visitor
              too_many_adults:
                You can book a maximum of %{max} visitors over the age of
                %{age} on this visit
              too_many_visitors:
                You can book a maximum of %{max} visitors
        visitors_step/visitor:
          attributes:
            date_of_birth:
              inclusion: is not a valid date

  activerecord:
    errors:
      models:
        prison:
          duplicate_unbookable_date: An unbookable date may not be duplicated
          unbookable_and_anomalous_conflict: An unbookable date may not also be anomalous

Make data validation error friendlier
Make data validation error friendlier

Previously was “is not included in the list”