Fix some translation bugs on the frontend