Fixed a typo related to translate function.