defmodule WhoNeedHelpWeb.ContentRemovalHTML do
  use WhoNeedHelpWeb, :html

  embed_templates "content_removal_html/*"

  def category_label(:illegal_content), do: gettext("Illegal content")
  def category_label(:privacy_violation), do: gettext("Privacy violation")
  def category_label(:copyright), do: gettext("Copyright")
  def category_label(:impersonation), do: gettext("Impersonation")

  def category_label(:non_consensual_intimate_media),
    do: gettext("Non-consensual intimate image or video")

  def category_label(:child_sexual_abuse_material),
    do: gettext("Sexual material involving a minor")

  def category_label(:threat_to_life_or_safety), do: gettext("Threat to life or safety")
  def category_label(:other), do: gettext("Other")
  def category_label(value), do: to_string(value)

  def status_label(:open), do: gettext("Open")
  def status_label(:urgent_review), do: gettext("Urgent review")
  def status_label(:reviewing), do: gettext("Reviewing")
  def status_label(:needs_information), do: gettext("More information needed")
  def status_label(:actioned), do: gettext("Action taken")
  def status_label(:rejected), do: gettext("Rejected")
  def status_label(:closed), do: gettext("Closed")
  def status_label(value), do: to_string(value)
end
