private def humanizeRejectionReason()

in common/src/main/scala/com/gu/media/youtube/YouTubeProcessingStatus.scala [76:85]


  private def humanizeRejectionReason(reason: String) = reason match {
    case "claim" | "copyright" => "YouTube has rejected the video for copyright reasons"
    case "duplicate" => "Duplicate of an existing video"
    case "inappropriate" => "YouTube has rejected the video for being inappropriate"
    case "legal" => "YouTube has rejected the video for legal reasons"
    case "length" => "The video is longer than the YouTube maximum"
    case "termsOfUse" => "YouTube has rejected the video for violating terms of service"
    case "trademark" => "YouTube has rejected the video for trademark violation"
    case reason => reason
  }