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 suggested by @Cottser on #500866: [META] remove t() from assert message, this is a new issue to pick up the views and views_ui remaining items from the t() clean-up in assert messages and groups.
Comment | File | Size | Author |
---|---|---|---|
#7 | removing_remaining_ts-2035087-7.patch | 17.74 KB | lazysoundsystem |
#7 | removing_remaining_ts-2035087-interdiff.txt | 1.93 KB | lazysoundsystem |
#4 | removing_remaining_ts-2035087-4.patch | 20.17 KB | lazysoundsystem |
#2 | removing_remaining_ts-2035087-1.patch | 20.18 KB | lazysoundsystem |
#1 | removing_remaining_ts-2035087-1.patch | 41.57 KB | lazysoundsystem |
Comments
Comment #1
lazysoundsystem CreditAttribution: lazysoundsystem commentedHere's the patch.
Comment #2
lazysoundsystem CreditAttribution: lazysoundsystem commentedIgnore the patch above - here's the same patch without the changes from #2035077: removing t() from asserts - remaining changes. but with
Drupal\Component\Utility\String::format()
instead offormat_string()
, as suggested there.Comment #3
Crell CreditAttribution: Crell commentedStill some t()s.
Comment #4
lazysoundsystem CreditAttribution: lazysoundsystem commentedThanks for the review - should be better now.
Comment #5
Crell CreditAttribution: Crell commentedThanks! Please remember to include interdiffs with patches. It makes it easier to review updates until we get on a real git-based workflow.
Comment #6
jhodgdonThis removal of t() is not correct:
That is comparing a title to a translated string. It should have t() on it. It's not the message.
There are a couple of other spots like this in the patch.
Comment #7
lazysoundsystem CreditAttribution: lazysoundsystem commentedGood spot. Thanks. Here it is again without those, and with an interdiff.
Comment #9
star-szr#7: removing_remaining_ts-2035087-7.patch queued for re-testing.
Comment #10
star-szrLooks good! This takes care of everything from Views and Views UI.
Comment #11
jhodgdonThanks! Committed to 8.x.