The plugin benefits from StringTranslationTrait, so it should be $this->t() instead of t().

CommentFileSizeAuthor
#2 2984748.patch530 bytespcambra

Comments

pcambra created an issue. See original summary.

pcambra’s picture

Status: Active » Needs review
StatusFileSize
new530 bytes

Not that it matters a lot as I'm not sure the string YouTube should ever be translated (maybe it'd be a good thing to remove the t whatsoever).

I was looking at this plugin to create one I needed, so many thanks!

gnuget’s picture

Status: Needs review » Fixed

I noticed this while working on #2928417: Configurable path for plugin library and has been fixed there.

But thanks for reporting it!

Status: Fixed » Closed (fixed)

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