Restore file does not restore approvals?

Hey there,

given I upload a new version of a file in the “content” section and specify that for changed strings, I do not want to keep existing translations (and thus approvals).

Then when I revert the file to the previous revision, the translations and approvals will show up again, completely un-doing the operation.

If, however, I specify to “keep translations” but I do not keep approvals for changed strings, then the same undo steps will not bring back the approvals.

Is that by design, and if so, why? Or is that unintended behaviour?

There are a separate setting about keeping translation and keeping translation + approval. Probably because approval can’t exist without translation being added or so.

“clear_translations_and_approvals”
“clear_translations_and_approvals”
“keep_translations”
“keep_translations_and_approvals”

API v2 Reference