defmodule WhoNeedHelpWeb.ValidationMessages do
  @moduledoc false

  use Gettext, backend: WhoNeedHelpWeb.Gettext

  def all do
    [
      dgettext_noop("errors", "must contain at least one non-empty localized name"),
      dgettext_noop("errors", "must contain non-empty localized descriptions"),
      dgettext_noop("errors", "contains an invalid field definition"),
      dgettext_noop("errors", "field keys must be unique"),
      dgettext_noop("errors", "must be an object with a fields array"),
      dgettext_noop("errors", "select exactly one report target"),
      dgettext_noop("errors", "select a valid location"),
      dgettext_noop("errors", "must be in the future"),
      dgettext_noop("errors", "select an activity category"),
      dgettext_noop("errors", "must be on or before the start time"),
      dgettext_noop("errors", "must be a complete HTTPS URL"),
      dgettext_noop("errors", "must be a full HTTPS URL"),
      dgettext_noop("errors", "must be a GitHub profile URL"),
      dgettext_noop("errors", "you must confirm that you are 18+ and accept the rules"),
      dgettext_noop("errors", "must have the @ sign and no spaces"),
      dgettext_noop("errors", "did not change"),
      dgettext_noop("errors", "does not match password")
    ]
  end
end
