Closed (fixed)
Project:
Google AdSense integration
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2017 at 07:34 UTC
Updated:
9 Mar 2017 at 17:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
nehakhadke commentedComment #4
jcnventuraRe-did it from scratch, as you can't do this blind replacement inside static functions.
Comment #6
znak commentedAdditions to the previous patch. Please, check up.
Comment #7
jcnventura@Znak, as the comment to the patch in #5 says: "t() function is not inherited in AdsenseAd plugins". This means that it makes no sense to add $this->t() to those Plugins. If it works, it's because of magic, and not proper OOP.
However, it seems that it's sufficient to add " use StringTranslationTrait;" to the AdsenseAdBase class, so I'll do that next time.
Comment #9
jcnventura