<prompt> Translate the following text to SwahiliPrisoners, soldiers, and the soldiers families endured the same harsh conditions.  <response>: Wafungwa, askari-jeshi, na familia za askari-jeshi walivumilia hali ngumu zilezile. 