fix up e0869aa7 to support implicitly translating text containing newlines