Ohh, my...It sounds really weird to say "삼가 고인의 명복을 빕니다." in Korean, when someone lost her dog. I don't think people usually say that way, however heartbroken the dog owner is. I suggest " 심심한 위로의 말씀을 드립니다." or just " 마음이 많이 아프시겠어요.", "너무 상심하지 마세요." Actually, it sounds strange itself to say in a formal way in that case(family dog died)