Translations inside classes should be like "$this->t('')" and not t('') only;

Comments

kunal.kursija created an issue. See original summary.

kunalkursija’s picture

StatusFileSize
new1.72 KB

Attaching patch.

kunalkursija’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: Translations-2800381-2.patch, failed testing.

kunalkursija’s picture

Status: Needs work » Needs review
StatusFileSize
new1.73 KB

Attaching patch again.

dishabhadra’s picture

Status: Needs review » Reviewed & tested by the community

It's good to replace t() with $this->t().

matrixlord’s picture

Hello,

Thanks! This already exists in the dev version. I will push it to a stable release with some other fixes soon.

matrixlord’s picture

Status: Reviewed & tested by the community » Fixed

matrixlord’s picture

P.S. I will give the attribution to kunal.kursija of course.

Status: Fixed » Closed (fixed)

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