I am making a IR remote controlled motor but it is not working

Because the line immediately after translateIR() says to do so... when "MOVEMENT = ONE"... that is an assignment ( = ), not a comparison ( == ).

    translateIR();
    if (MOVEMENT = ONE) {
      digitalWrite(DIRA, HIGH); //forward
      digitalWrite(DIRB, LOW);
      Serial.println("FORWARD");
      irrecv.resume(); // receive the next value
    }