Update translate.js

Replaced 'cube' with 'dictionary' in the third for loop. That'll work now?