What does que tenga una buen dormir mean?

This looks like a badly translated sentence from English to Spanish, probably from the English: "Have a nice nap." But you would never say "que tenga una buena dormir," which literally means "may you have a nice sleep." More likely in Spanish you would say simply "Duerme bien" which means "Sleep well."