transform.Translate Not Working!!!

I have this script linked to a Camera object and am trying to move it.

   if (player.transform.position.z < 0 && !execute)
        transform.Rotate(new Vector3(46, 180, 1));
        transform.Translate(new Vector3(0.0f,0.0f,14));
        execute = true;

The transform.Rotate works perfectly fine and executes. But transform.translate has no effect whatsoever, if I’m not mistaken, it ought to move the camera object 14 units forward in the Z axis.

Instead 0.0f change it to 0f.