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.
It seems that not having t() in assertions is a convention as for #500866: [META] remove t() from assert message.
We could remove it from all these assertions #500866-42: [META] remove t() from assert message.
But let's be careful #500866-96: [META] remove t() from assert message with it :)
Submitting this as "feature request" because we may don't need it right now.
Comment | File | Size | Author |
---|---|---|---|
#5 | remove-t-1380620-4.patch | 182.75 KB | msti |
| |||
#2 | remove-t-1380620-2.patch | 183.43 KB | joshmiller |
Comments
Comment #1
rszrama CreditAttribution: rszrama commentedTagging.
Comment #2
joshmillerUsed the following to create this patch:
It actually looks good to me... it leaves the t() functions alone that have text replacements. I think replacing the t()'s that also santize is what derailed the core conversation.
Take a look, comments welcome.
Comment #3
joshmillerComment #5
mstiComment #6
mstire-rolled the patch