|
@@ 585-588 (lines=4) @@
|
| 582 |
|
|
| 583 |
|
$eventLd = $document->getBody(); |
| 584 |
|
|
| 585 |
|
if ($translationApplied->getTitle() !== null) { |
| 586 |
|
$eventLd->name->{$translationApplied->getLanguage()->getCode( |
| 587 |
|
)} = $translationApplied->getTitle()->toNative(); |
| 588 |
|
} |
| 589 |
|
|
| 590 |
|
if ($translationApplied->getLongDescription() !== null) { |
| 591 |
|
$eventLd->description->{$translationApplied->getLanguage()->getCode( |
|
@@ 590-593 (lines=4) @@
|
| 587 |
|
)} = $translationApplied->getTitle()->toNative(); |
| 588 |
|
} |
| 589 |
|
|
| 590 |
|
if ($translationApplied->getLongDescription() !== null) { |
| 591 |
|
$eventLd->description->{$translationApplied->getLanguage()->getCode( |
| 592 |
|
)} = $translationApplied->getLongDescription()->toNative(); |
| 593 |
|
} |
| 594 |
|
|
| 595 |
|
$this->repository->save($document->withBody($eventLd)); |
| 596 |
|
} |