Translate the deposit/withdraw states on js side.