added mac translation