The translation is precise, but for some reason it doesn't carry the same degree of humor. I think it may have to do with the way Spanish handles the indefinite article "a cat."
Edit: ok, that might be part of it, but there's also the way he tells her that she now has a cat. The word-for-word translation differs slightly in meaning from the figurative translation. There's something that's lost, maybe a degree of finality?