"gaol" is archaic-ey "jail" (pronounced the same way), and it's actually consistent with the rest of the in-game text.