remove trailing spaces from translations