Problem/Motivation
At the moment both the successful messages for the following:
- Cart::requestOperationMultiple: https://git.drupalcode.org/project/tmgmt_xtm/-/blob/8.x-5.x/src/Plugin/t...
- Cart::requestOperation: https://git.drupalcode.org/project/tmgmt_xtm/-/blob/8.x-5.x/src/Plugin/t...
are fixed and hard generated inside those methods, and out putting the following outcome:
'The batch form has been submitted successfully.'
This is incorrect, because those methods are (opportunely) Public and are not strictly depending from the Batch processes invoked by the User Action formSubmit ... They could be indeed be invoked by some custom code, without passing from the UX Cart submission.
Proposed resolution
Correct the successful default messages is something like:
"The Translations request have been submitted successfully"
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | tmgmt_xtm_cart_messages_3214328_#4.patch | 998 bytes | itamair |
Comments
Comment #2
itamair commentedComment #3
itamair commentedComment #4
itamair commentedThe attached patch simply changes the messages for Cart successful Translations in the proposed way.
Comment #6
pjassem commentedThx Italo!
Your patch is the development branch and will be released in the next version.