fix(translate.js): corrected typo

I feel dumb every time I send a PR for a typo but I was just browsing the source and couldn't move on without fixing it.