Fix bug in string escaping that breaks translation.