This phrase in Polish is a funny way to say "sleep well" (it's a part of a well known rhyme) and the translator obviously didn't get the meaning. Literally the phrase means "cockroaches under your pillow". The translation differs from the original considering its literal sense and therefore looses its figurative sense and playful note as well.