Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

POST/PUT/PATCH email api translation parent #140

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

PurHur
Copy link

@PurHur PurHur commented Mar 10, 2020

I opened this PR for a discussion.
mautic/mautic#7604 pointed out that you dont have to specify translationParent but templateTranslationParent OR segmentedTranslationParent instead. This works on the current 2.16 release fine.

Beside that, translationChildren are not evaluated because the backend always calls $parent->getTranslationChildren().

How would i document that different variable name depended on emailType? If i have a "nicer" solution i will create a fresh clean PR.

PurHur added 2 commits March 10, 2020 14:03
In the backend the children are always fetched via the `parent->getTranslationChildren`
This commit is related to #7064 .

Beside this commit replaces `page` with `email`.
Copy link
Member

@npracht npracht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Legit changes 👍🏽

@npracht npracht changed the title WIP: POST/PUT/PATCH email api translation parent POST/PUT/PATCH email api translation parent Nov 1, 2023
@PurHur
Copy link
Author

PurHur commented Nov 3, 2023

Please hit me if yout need something from me. Sadly i dont use mautic anymore (great software by the way!!!), so i dont have a lot of time anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants