Newer
Older
dmpopidor / app / models / concerns / validation_messages.rb
# frozen_string_literal: true

module ValidationMessages

  PRESENCE_MESSAGE = _("can't be blank")

  UNIQUENESS_MESSAGE = _("must be unique")

  INCLUSION_MESSAGE = _("isn't a valid value")

  OPTION_PRESENCE_MESSAGE = _("You must have at least one option with accompanying text.")

  QUESTION_TEXT_PRESENCE_MESSAGE = _("for 'Question text' can't be blank.")

end