Hi, thanks for this great module, wondering if what follows is something that we could improve.
Seems to be related to #3041132: Module does not handle translated revisions or moderation state..

Problem/Motivation

When translating content, we shouldn't display the warning or error if it doesn't apply or prevent to save.
Where
Warning = "A new unpublished revision of this content has been created ..."
Error = "A new published revision of this content has been created ..."

Steps to reproduce

Tested on a clean Drupal 10 install.
In /admin/config/system/content_moderation_edit_notify set the interval to 5" to facilitate the review.

  • Create EN source, published
  • Create FR translation, draft
  • Create DE translation, draft
  • Open the 3 in different tabs without saving any of the nodes
  • FR is showing the warning

Then

  • Save DE draft as published
  • FR is showing the error, it's still possible to save

Comments

colorfield created an issue.