<prompt> Translate the following text to SwahiliEarly in the war, the Republicans used their one battleship to support an invasion of Mallorca, but it ended in failure.  <response>: Mapema katika vita, Republican walitumia meli yao moja ya kivita kuunga mkono uvamizi wa Mallorca, lakini ulishindwa. 