Updated the plugin to work with api4 - there's no logic change.
There was a strange issue when using the "Additional" mode. The original message was replaced by the translated string, and then the translated string was added as another new line. The result was 2 lines with the translated message.
Not sure why (yet), but for now, I added a dirty fix to work around it by storing the unmodified original message beforehand.
Updated the plugin to work with api4 - there's no logic change.
There was a strange issue when using the "Additional" mode. The original message was replaced by the translated string, and then the translated string was added as another new line. The result was 2 lines with the translated message. Not sure why (yet), but for now, I added a dirty fix to work around it by storing the unmodified original message beforehand.