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.
As noted by berdir on #2932371-13: Create a trait, or add methods to EntityForm, for logging and messages for entity add/update, we should be passing untranslated messages and args (not messages already passed through t()) into Messenger/drupal_set_message/Logger. This needs to be fixed in our entity forms.
Comments
Comment #2
jhodgdonSorry, looked at code closer... This is only true for Logger messages. drupal_set_message() and Messenger take a translated message (output of t()).
Comment #3
jhodgdonAlso we need to make sure that we are always putting the literal strings into t() and Logger calls, not $variables.
Comment #4
jhodgdonThis was quick/easy/obvious so I just committed the patch. Will update the core issue shortly.
Comment #6
jhodgdonStatus didn't take. ?!? I hate it when that happens.