defmodule WhoNeedHelpWeb.SupportHTML do
  use WhoNeedHelpWeb, :html

  embed_templates "support_html/*"

  def kind_label(:account_access), do: gettext("Account access")
  def kind_label(:technical_issue), do: gettext("Technical issue")
  def kind_label(:safety_concern), do: gettext("Safety concern")
  def kind_label(:moderation_appeal), do: gettext("Moderation appeal")
  def kind_label(:account_deletion), do: gettext("Account deletion")
  def kind_label(:data_export), do: gettext("Data export")
  def kind_label(:privacy_request), do: gettext("Privacy request")
  def kind_label(:other), do: gettext("Other")
  def kind_label(value), do: to_string(value)

  def status_label(:open), do: gettext("Open")
  def status_label(:reviewing), do: gettext("Reviewing")
  def status_label(:waiting_for_requester), do: gettext("Waiting for your response")
  def status_label(:resolved), do: gettext("Resolved")
  def status_label(:closed), do: gettext("Closed")
  def status_label(value), do: to_string(value)
end
