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.
Strings wont be picked up for translation.
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal-forum-2079477.patch | 4.32 KB | ParisLiakos |
Comments
Comment #1
ParisLiakos CreditAttribution: ParisLiakos commentedalso fixed the typehint in ForumController
Comment #2
larowlanThanks I missed that this had gone in. Is there no interface?
Comment #3
ParisLiakos CreditAttribution: ParisLiakos commentedwell, no..here is the change notice:
https://drupal.org/node/2079611
and the conversation in #2018411: Figure out a nice DX when working with injected translation
Comment #4
larowlanSo we're relying on searching for t()?
Comment #5
ParisLiakos CreditAttribution: ParisLiakos commentedyes, strings for localize.d.o will only be picked in
t('')
or$this->t('')
context. anything else wont be parsedComment #6
larowlanIn that case
Comment #7
webchickCommitted and pushed to 8.x. Thanks!