No need to use the global t(), lets use the string translation trait so plugins can use $this->t() instead.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

benjy created an issue. See original summary.

Sam152’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me.

DamienMcKenna’s picture

Short, simple, and it doesn't break anything ;)

DamienMcKenna’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks benjy for the patch and Sam152 for the review.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.