Both - there were TWO hard touchdowns.
First hard touchdown led to a rejected landing, and plan to divert, but then damage from that landing resulted in subsequent in-flight engine/hydraulic failure, so they made second (emergency) landing (also hard, breaking gear, sliding off runway) at same airport.
Your confusion understandable, though. An unusual series of events, explained through double translation.
EDIT - actually, it is still unclear to me which of the two landings resulted in the gear failure. Perhaps the 2nd landing, after engine/hyd failures, was a belly-landing.