Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
"The configuration was reverted to its source."
I think this message should include the config name also.
"The configuration %item has been reverted to its source."
Comment | File | Size | Author |
---|---|---|---|
#7 | After patch.png | 20.56 KB | Chris Matthews |
#7 | Before patch.png | 14.77 KB | Chris Matthews |
#6 | 3018893-6-messages.patch | 3.42 KB | Pasqualle |
|
Comments
Comment #2
PasqualleComment #3
jhodgdonThis looks quite reasonable to me, thanks!
I'll have to see if %item is the right thing to do in t() these days... I can never remember what the codes mean (% vs @ vs ! or whatever) in t() messages.
And we'll need to see if the tests pass. There may be a test that looked for the previous message, that will now fail, so some tests may need to be updated.
Comment #5
PasqualleplaceholderFormat
short explanation:
@ = plain text
% = plain text + em
: = html (same as ! in D7)
Comment #6
PasqualleComment #7
Chris Matthews CreditAttribution: Chris Matthews commentedThe patch in #6 applied cleanly on 8.x-1.x-dev and does the trick for me.
Comment #9
jhodgdonThanks for the patch, test update, and review! I agree, this looks good. Committed.