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

POST/PUT/PATCH email api translation parent - #140

Open
PurHur wants to merge 2 commits into
mautic:mainfrom
PurHur:doc/put-email-api-tranlation-parent
Open

POST/PUT/PATCH email api translation parent#140
PurHur wants to merge 2 commits into
mautic:mainfrom
PurHur:doc/put-email-api-tranlation-parent

Conversation

@PurHur

@PurHurPurHur commented Mar 10, 2020

Copy link
Copy Markdown

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.

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`.

@nprachtnpracht left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Legit changes 👍🏽

@nprachtnpracht changed the title WIP: POST/PUT/PATCH email api translation parentPOST/PUT/PATCH email api translation parentNov 1, 2023
@PurHur

Copy link
Copy Markdown
Author

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 freeto 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

@PurHur@npracht