Both the motions are translational in nature. A motion is said to be translational when the body undergoing motion changes its position with respect to time. As in rectilinear motion and curvilinear motion both, the objects are changing their positions, so both are pursuing translational motion.