/**
  * Merge XLIFF metadata into this message, if description has changed.
  *
  * @param Message $message The message we are merging with
  * @param string $oldDesc The description before merging
  */
 protected function mergeXliffMeta(Message $message, $oldDesc)
 {
     if ($oldDesc !== $this->getDesc()) {
         if ($message instanceof self) {
             $this->setState($message->getState());
             $this->setApproved($message->isApproved());
             $this->setNotes($message->getNotes());
         } else {
             $this->setApproved(false);
         }
     }
 }