fix transalation function typos